Menu

Stacks Questions

MCQ
101.
Using Pop(S1, Item) Push(S1,Item) Read(Item) Print(Item) the variables S1 represents (stack) and Item are given the input file: A,B,C,D,E,F Which stacks are possible:
forum Discussion
MCQ
102.
Using Pop (S1,Item) ,Push(S1, Item), Getlist(Item), Pop(S2,Item), and the variables S1,S2(stacks with Top1 and Top2) and Item and given the input file: A,B,C,D,E,F Which stack are possible?
forum Discussion
MCQ
103.
In eveluating the arithmetic expression 2*3-(4+5),using stacks to evaluate its equivalent postfix form, which of the following stack configuration is not possible?
forum Discussion
MCQ
104.
Stack A has the entries a,b,c(with a on top). Stack B is empty.An entry popped out of stack A can be printed immediately or pushed to stack B.An entry popped out of the stack B can only be printed. In this arrangement, which of the following permutations of a,b,c are not possible?
forum Discussion
MCQ
105.
Stack can't be used to
forum Discussion
MCQ
106.
Which of the following permutations can be obtained in the output(in the same order),using a stack assuming that the input is the sequence 1,2,3,4,5 in that order?
forum Discussion
MCQ
107.
Stack is useful for implementing
forum Discussion
MCQ
108.
The postfix equivalent of the prefix * + a b - c d is
forum Discussion
MCQ
109.
Stacks cannot be used to
forum Discussion
MCQ
110.
The postifx expression for the infix expression A + B* (C+D) / F + D*E is
forum Discussion