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

From 106 to 120 of 137

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. What is the postfix form of the following prefix expression -A/B*C$DE ?

a. abcde$*/-

b. a-bcde$*/-

c. abc$ed*/-

d. a-bcde$*/

  • a. abcde$*/-

Q. The data structure required to evaluate a postfix expression is

a. queue

b. stacks

c. array

d. linked-list

  • b. stacks

Q. What is the postfix form of the following prefix:*+ab–cd

a. ab+cd–*

b. abc+*–

c. ab+*cd–

d. ab+*cd–

  • a. ab+cd–*

Q. A queue is a,

a. fifo (first in first out) list

b. lifo (last in first out) list

c. ordered array

d. linear tree

  • a. fifo (first in first out) list

Q. In stack terminology, the __________operations are known as push and pop operations respectively.

a. delete

b. insert

c. both (a) and (b)

d. none of the above

  • c. both (a) and (b)

Q. A common example of a queue is people waiting in line at a__________.

a. bus stop

b. movie hall

c. shopping mall

d. none of the above

  • a. bus stop

Q. What is one of the common examples of a stack?

a. a pile of books

b. bus stop

c. a basket of fruits

d. a carat of eggs

  • a. a pile of books

Q. When the push operation is performed on stack the value of TOS will be ______

a. decrement

b. increment

c. one

d. none of these

  • b. increment

Q. A double linked list contains reference to _____

a. previous node

b. next node

c. current node

d. both a & b

  • d. both a & b
Subscribe Now

Get All Updates & News