Top 150+ Solved Data Structure (DS) MCQ Questions Answer
Q. Data Structure that are created by user as per their requirement are known as
a. primitive data structure
b. non-primitive data structure
c. both a & b
d. none of these
Q. To insert element at start, the previous pointer of newly added node would point to ______
a. null
b. next node
c. new node
d. head node
Q. In linked list implementation, a node carries information regarding
a. the data
b. the link
c. both a & b
d. none of these
Q. Which of the following data structure is linear type?
a. strings
b. stack
c. queue
d. all of these
Q. In ___ Data Structure data can be processed one by one sequentially
a. array
b. linked list
c. tree
d. none of these
Q. When we insert an element in Queue, which pointer is increased by one?
a. front
b. rear
c. both a & b
d. none of these
Q. Which of the following is not the possible operation on stack?
a. push
b. pop
c. display
d. enqueue
Q. In stack, to display the lastly inserted element without removing it, which function is used?
a. push
b. pop
c. display
d. peek
Q. if there are no nodes in linked list then start pointer will point at which value?
a. null
b. garbage
c. 1
d. 2