Objective Questions of C with answer set-2

1. Hierarchy decides which operator
A) is most important
B) is used first
C) is fastest
D) Operates on largest numbers

2. A pointer can hold
A) Single address at a time
B) Two addresses at a time
C) Number of addresses at a time
D) No address
3. An integer constant in C must have
A) At least one digit
B) At least one decimal point
C) A comma along with digits
D) Digits separated by commas

4. main() {
                Int a=3, b=2, c*d*e;
                d=&a; e=&b;
                c=*d+*e;
                }
                Which one of the given answers is correct?
A) a=4, c-6
B) a=3, c=5
C) a=3, c=6
D) a=3, c=8

5. In C a variable cannot contain
A) Blank Spaces
B) Decimal Point
C) Hyphen
D) All of the above

6. Assume that variable x resides at memory location 1234, y at 1111 and p at 2222.
                Int x=1, y=2, *p;
                p=&x;
                y=*p;
What will be the value of y after execution of above code?
A) 2
B) 1
C) 1234
D) 1111

7. Which of the following is FALSE in C?
A) Keywords can be used as variable names
B) Variable names can contain a digit
C) Variable names do not contain a blank space
D) Capital letters can be used in variables

8. If an integer occupies 4 bytes and a character occupies 1 byte of memory, each element of the following structure would occupy how many bytes ?
                struct name {
                int age;
                char name[30];
                };
A) 30
B) 32
C) 34
D) 36

9. The expression x=4+2 % -8 evaluates to
A) -6
B) 6
C) 4
D) None of the above

10. A structure brings together a group of
A) items of the same data type
B) related data items and variables
C) integers with user defined names
D) floating points with user defined names

Answers:
1. B) is used first
2. A) Single address at a time
3. A) At least one digit
4. B) a=3, c=5
5. A) Blank Spaces
6. B) 1
7. A) Keywords …… variable names
8. C) 34
9. B) 6
10. B) related data items and variables

You Might also view the following Related Posts

Solved Objective questions of computer data structure set-3




1. Which of the following is not the type of queue?

A) Ordinary queue

B) Single ended queue

C) Circular queue

D) Priority queue


2. The property of binary tree is

A) The first subset is called left subtree

B) The second subtree is called right subtree

C) The root cannot contain NULL

D) The right subtree can be empty


3. State true or false.

i) The degree of root node is always zero.

ii) Nodes that are not root and not leaf are called as internal nodes.


A) True, True

B) True, False

C) False, True

D) False, False


4. Any node is the path from the root to the node is called

A) Successor node

B) Ancestor node

C) Internal node

D) None of the above


5. State true of false.

i) A node is a parent if it has successor nodes.

ii) A node is child node if out degree is one.

A) True, True

B) True, False

C) False, True

D) False, False


6. ………………. is not an operation performed on linear list

a) Insertion b) Deletion c) Retrieval d) Traversal

A) only a,b and c

B) only a and b

C) All of the above

D) None of the above


7. Which is/are the application(s) of stack

A) Function calls

B) Large number Arithmetic

C) Evaluation of arithmetic expressions

D) All of the above


8. A …………… is an acyclic digraph, which has only one node with indegree 0, and other nodes have in-degree 1.

A) Directed tree

B) Undirected tree

C) Dis-joint tree

D) Direction oriented tree


9. …………………. Is a directed tree in which outdegree of each node is less than or equal to two.

A) Unary tree

B) Binary tree

C) Trinary tree

D) Both B and C


10. State true or false.

i) An empty tree is also a binary tree.

ii) In strictly binary tree, the out-degree of every node is either o or 2.

A) True, False

B) False, True

C) True, True

D) False, False


11. Which of the following data structures are indexed structures?

A. Linear arrays

B. Linked lists

C. Queue

D. Stack


12. Which of the following data structure store the homogeneous data elements?

A. Arrays

B. Records

C. Pointers

D. Lists


13. When new data are to be inserted into a data structure, but there is not available space; this situation is usually called ....

A. Underflow

B. overflow

C. houseful

D. saturated


14. A data structure where elements can be added or removed at either end but not in the middle is called ...

A. linked lists

B. stacks

C. queues

D. dequeue


15. Operations on a data structure may be .....

A. creation

B. destruction

C. selection

D. all of the above


16. The way in which the data item or items are logically related defines .....

A. storage structure

B. data structure

C. data relationship

D. data operation


17. Which of the following are the operations applicable an primitive data structures?

A. create

B. destroy

C. update

D. all of the above


18. The use of pointers to refer elements of a data structure in which elements are logically adjacent is ....

A. pointers

B. linked allocation

C. stack

D. queue


19. Arrays are best data structures

A. for relatively permanent collections of data

B. for the size of the structure and the data in the structure are constantly changing

C. for both of above situation

D. for non of above situation


20. Which of the following statement is false?

A. Arrays are dense lists and static data structure.

B. Data elements in linked list need not be stored in adjacent space in memory

C. Pointers store the next data element of a list.

D. Linked lists are collection of the nodes that contain information part and next pointer.


Answers:


1. B) Single ended queue
2. D) The right ..... empty
3. C) False, True
4. B) Ancestor node
5. B) True, False
6. D) None of the above
7. D) All of the above
8. A) Directed tree
9. B) Binary tree
10. C) True, True
11. A. Linear arrays
12. B. Records
13. B. overflow
14. D. dequeue
15. D. all of the above
16. B. data structure
17. D. all of the above
18. B. linked allocation
20. C. Pointers store the next data element of a list.


Related Posts



For other more Multiple Choice Questions (MCQs): Click Here

 

List of top 7 Free bulk search engine submission tools

Submitting a site on different search engine along with major search engines like Google, Yahoo and Bing is a first step of the search engine optimization (SEO) after creating a website. For submitting your site to those search engines, you have to submit manually on each search engine and it takes longer time to complete that. But if you have no time for that you can use some bulk search engine submission tools which are available on the web. You can submit your site on the search engine by using those tools on free as well as on paid. You can get better result if you use paid service. 

Here, I have listed some top bulk search engine submission tools, which are offering free services also. 
  1. SubmitExpress.com: SubmitExpress is such a tool form which you can submit your site with 70 over search engines and directories. Those are all for free. 
  2. Addme.com: Addme provides a variety of powerful search engine submission services. Its free search engine submission service submits your site URL to 20 search engine. 
  3. Free Web Submission.co.uk: This web submission tool also submits your site URL to the 20 over biggest search engines. 
  4. Ineedhits.com: Ineedhits free search engine submission tool also submits your websites to the major 20 search engines. 
  5. USWebsites.com: This free search engine submission tool provides you with a quick and easy way to submit your website to some of the most important and major search engine and directories. 
  6. Addpro.com: You can use this free tool to submit on some search engines along with Google. It can submit your site to 18 search engines. 
  7. Isubmit.com: Isubmit.com is new tool to submit your site URL to large number of search engine and directories. It claims that they can submit over 350 search engine and directories. 
In spite of using these free search engine submission tools you can submit on numbers of search engine with in no time. It is better to submit for each search engine manually. If you know about any other such tools or you have any comment you are welcomed to submit on comment session.

You may also wanted to view the following related posts

Solved Objective Questions of Computer Fundamental set-2

1. The default setting for a horizontal rule is ..............
A) shaded
B) unshaded
C) both
D) none of the above

2. ............... tag is used to embed image in a webpage.
A) <img src="pic.gif">
B) <img src=pic.gif>
C) <img source="pic.gif">
D) None of the above

3. This is a global collection of high-powered computer that are connected together with cables, telephone lines, microwave dishes, satellites etc.
A) Arpanet
B) Internet
C) Network
D) All of the above

4. ............ is used to pointing / selecting the screen co-ordinates by detecting the light.
A) Light Pen
B) Bar Code Reader
C) Digital Camera
D) Smart Cards

5. ............... displays the information about the active document such as page number, section number, number of pages, insertion point, position, etc.
A) View Bar
B) Menu Bar
C) Status Bar
D) Ruler Line

6. ........... a record means a new record to the file.
A) Amending
B) Updating
C) Editing
D) Appending

7.  To move the cursor to end of the document, press ................
A) Ctrl+End
B) End
C) Alt+End
D) Shift+End

8. SMTP stands for
A) Simple Mail Transfer Protocol
B) Simple Mail Transport Protocol
C) Sample Mail Transfer Protocol
D) Sample Mail Transport Protocol

9. JPEG stands for ...............
A) Joint Photo Experts Group
B) Joint Photogenic Experts Group
C) Joint Photographic Experts Group
D) Joint Photoelectric Experts Group

10. The short cut key to start a new line without starting a new paragraph is ......
A) Ctrl+Enter
B) Shift+Enter
C) Alt+Enter
D) Enter

Answers:
1. A) shaded
2. A) <img src="pic.gif">
3. B) Internet
4. A) Light Pen
5. C) Status Bar
6. D) Appending
7. A) Ctrl+End
8. A) Simple Mail Transfer Protocol
9. C) Joint Photographic Experts Group
10. B) Shift+Enter

How to earn online from Top revenue sharing sites?


Earn online from Top revenue sharing sites
You have good writing skill in any one or more subject matter or you are good video producer or you are good photographer? If that, no wait more for earning online. Now, start to earn from online by exposing your ability. There are many methods of earning money online, but today I am going to tail a method of earning from revenue sharing sites. Revenue sharing sites are those, who share their earned revenue from publishing the articles written by their article writers to them. Mainly they generate revenue from their sites by displaying advertisements from Google Adsense Program and also from other Affiliate programs.




So you can earn form those sites by writing good article in your interested subject matter or submitting your interesting and informative videos produced by yourself or submitting photography generated by you. They give you some percentage of the revenue they earned from publishing the page of your article or photos or videos. Such earnings are life time earnings, so they are better for your extra earning for your life.


Here I have listed some top revenue sharing sites from where you can earn from sharing your knowledge, ideas and your ability.



1. HubPages.com


 I think HubPages is the best on all the revenue sharing sites, which pay Google Adsense revenue to those who write content to their site by automatically displaying relevant Google ads on that content. You can get 60% and other 40% of the revenue generated by your content takes by HubPages itself.



2. Triond.com



Triond is not used only for article; it allows you to share images, videos, articles and audio. Triond will post your article any one or more of of their multiple websites. This site pays you 50% of the advertising revenue which your content generates. You can get paid monthly through PayPal, Check or Weston Union Money Transfer.



3. Flixya.com



Flixya is also that site from which you can earn revenue by sharing your pictures, videos and blogs. You can receive up to 100% of the revenue generated from the Google Adsense ads.



4. Webtalkforums.com



Webtalkforums is a web design and development based forum site in which you can participate in the sites revenue sharing scheme after making at least 10 posts to the forum. The revenue generated from Adsense is shared between the thread starters and the site administrators. The thread starter gates 70% and administrator get 30% of the revenue generated from the ads displayed.




5. Infobarrel.com



Like Triond from Infobarrel also allowed users to share knowledge through images, videos, articles and audio. This site will share 75% of the revenue to you.



6. Freerangestock.com



By using Freerangestock you can earn revenue from sharing your images. Revenue are generated by displaying Google Adsense ads on the pages of your shared images. If your uploaded images are accepted you can get 80% of the revenue generated by your download pages or profile pages.



7. Webanswers.com



Webanswers is an online question and answers site. If your given answer for the questions asked by the user of these sites is selected as the best answer, you can earn revenue from the Adsense ads displayed on that thread. You can gate 60% and Web answer get 40% of the revenue generated from the ads displayed.



There are hundreds or more sites which shares revenue to other for their contribution. I have presented only top which i have found. If you have any comments on these lists or you know about any other then these sites you are welcomed to place comment on this comment session.



Related posts




Enhanced by Zemanta