Stack Operations - Section 3 Multiple Questions and Answers.

21.Stack in Data Structure is ___________?
C. None of these

22.Pick out the odd one which is not related to stacks:
A. LIFO list
B. FIFO list
C. Push down lists
D. Piles

23.Which of the following is an application of stack?
A. finding factorial
B. tower of Hanoi
C. infix to postfix
D. all of the above

24.Which of the following statement is true?

i) Using singly linked lists and circular list, it is not possible to traverse the list backwards.

ii) To find the predecessor, it is required to traverse the list from the first node in case of singly linked list.

A. i-only
B. ii-only
C. None of the above
D. Both i and ii

25.What will be the value of top, if there is a size of stack STACK_SIZE is 5:
A. 4
B. 5
C. 6
D. None of these


Quick Links

GAT Subject

   Computer Science    English Mcqs    Agriculture    


   Computer Science    Civil Engineering    


   Networking    Electronics    Database    

Past Papers

   Model Papers    FPSC Papers