Time Left - 15:00 mins
GATE CS 2021 : Data Structure & Programming Quiz 6 (App update required to attempt this test)
Attempt now to get your rank among 781 students!
Question 1
Evaluate the following Postfix expression:
250, 45, 9, /, 5, +, 20, *, -
Question 2
Give the postfix expression for the following infix expression:
a*(b+c)/d-e↑f
Question 3
Given a sequence of operation performed on a stack:
PUSH(2) ,PUSH(4) ,POP , PUSH(6), PUSH(7), POP, POP, PUSH(9), POP, POP
What will be the sequence of value popped out?
PUSH(2) ,PUSH(4) ,POP , PUSH(6), PUSH(7), POP, POP, PUSH(9), POP, POP
What will be the sequence of value popped out?
Question 4
The equivalent prefix expression for the following infix expression (A+B)-(C+D*E)/F*G is
Question 5
The postfix expression to be evaluated as 7 is
Question 6
The best data structure to check whether an arithmetic expression has balanced parentheses is a
- 781 attempts
- 11 upvotes
- 41 comments
Tags :
GATE & PSU CSGeneralJul 22GATE & PSU CS