Bank of Questions Data Structures - EyadReda
Bank of Questions Data Structures - EyadReda
16. Convert the following infix expressions into its equivalent postfix
expressions (A+B D)/(E–F) +G
a. (A B D + E F – / G +)
b. (ABD + E F – / G +)
c. (A B D + E F/- G +)
d. (A B D E F + / – G +)
17. Which of the following statement(s) about stack data structure
is/are NOT correct?
a. Linked List are used for implementing Stacks
b. Top of the Stack always contain the new node
c. Stack is the FIFO data structure
d. Null link is present in the last node at the bottom of the stack
18. If the elements “A”, “B”, “C” and “D” are placed in a stack and are
deleted one at a time, what is the order of removal?
a. ABCD
b. DCBA
c. DCAB
d. ABDC
19. A linear list of elements in which deletion can be done from one end
front and insertion can take place only at the other end rear is
known as a?
a. Queue
b. Stack
c. Tree
d. Linked list