Time Left - 15:00 mins
Stack Applications II Starter Quiz
Attempt now to get your rank among 65 students!
Question 1
What is the value of the postfix expression 6 3 2 4 + – *:
Question 2
The equivalent infix expression and value for the postfix form 1 2 + 3 * 4 5 * – will be ___________
Question 3
What is the max size of the operand stack while evaluating the postfix exp 8 2 4 + - 2 7 1 / + * ?
Question 4
The result after evaluation the following postfix expression is _____.
7, 6, –, 1, 3, 2, *, 9, ↑, ↑, +, 8, +, 5, +
Question 5
Give the postfix expression for the following infix expression:
a*(b+c)/d-e↑f
Question 6
Which of the following permutation can be obtained in the same order using a stack assuming that input is the sequence 5, 6, 7, 8, 9 in that order?
Question 7
Convert the following Infix expression to Postfix form using a stack
x + y * z + (p * q + r) * s, follow usual precedence rule and assume that the expression is legal.
- 65 attempts
- 0 upvotes
- 4 comments
Tags :
GATE & PSU CSGeneralDec 21GATE & PSU CS