". VdoTips

APPLY LATEST GOVT JOBS

hi
116. When a stack is organized as an array, a variable named Top is used to point to the top element of the stack. Initially, the value of Top is set to_______to indicate an empty stack.
(A).-1
(B).0
(C).1
(D).x


117. What happens when the stack is full and there is no space for a new element, and an attempt is made to push a new element?
(A).Overflow
(B).Underflow
(C).Top
(D).None of the above


118. The total number of elements in a stack at a given point of time can be calculated from the value of______.
(A).Overflow
(B).Top
(C).Queues
(D).Underflow


119. A simple application of stacks is called_________.
(A).prefix notations
(B).Postfix notations
(C).Reverse strings
(D).None of the above


120. Jan Lukasiewicz, who suggested two alternative notations to represent an arithmetic expression belonged to which nationality?
(A).English
(B).Polish
(C).German
(D).Swedish