Top 150+ Solved Data Structure (DS) MCQ Questions Answer

From 61 to 75 of 137

Q. Each array declaration need not give, implicitly or explicitly, the information about

a. the name of array

b. the data type of array

c. the first data from the set to be stored

d. the index set of the array

  • c. the first data from the set to be stored

Q. The elements of an array are stored successively in memory cells because

a. by this way computer can keep track only the address of the first element and the addresses of other elements can be calculated

b. the architecture of computer memory does not allow arrays to store other than serially

c. both of above

d. none of above

  • a. by this way computer can keep track only the address of the first element and the addresses of other elements can be calculated

Q. Linked lists are best suited

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 none of above situation

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

Q. Finding the location of the element with a given value is:

a. traversal

b. search

c. sort

d. none of above

  • b. search

Q. The operation of processing each element in the list is known as

a. sorting

b. merging

c. inserting

d. traversal

  • d. traversal

Q. 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 none of above situatio

  • a. for relatively permanent collections of data

Q. ………… is not the operation that can be performed on queue.

a. insertion

b. deletion

c. retrieval

d. traversal

  • d. traversal

Q. Which of the following name does not relate to stacks?

a. fifo lists

b. lifo list

c. piles

d. push-down lists

  • a. fifo lists

Q. The term "push" and "pop" is related to the

a. array

b. lists

c. stacks

d. all of the above

  • c. stacks

Q. Which data structure allows deleting data elements from front and inserting at rear?

a. stacks

b. queue

c. dequeue

d. binary search tree

  • b. queue

Q. node.next -> node.next.next; will make

a. node.next inaccessible

b. node.next.next inaccessible

c. this node inaccessible

d. none of the above

  • a. node.next inaccessible
Subscribe Now

Get All Updates & News