The result of the postfix expression 5 3 * 9 + 6 / 8 4 / + is ...
View QuestionWhich of the following is valid reverse polish expression?
a) a op b b) op a b c) a b op d) ...
View QuestionTo convert the postfix expression into the infix expression we use stack and scan the postfix expression from left to right.
a) true b) false Answer: a Explanation: Stack is used ...
View QuestionThe prefix expression of the postfix expression AB+CD-* is __________
a) (A+B)*(C-D) b) +AB*-CD c) A+*BCD- d) *+AB-CD Answer: d Explanation: ...
View QuestionWhat is the value of the postfix expression 2 3 + 4 5 6 – – *
a) 19 b) 21 c) -4 d) 25 Answer: d Explanation: ...
View QuestionThe equivalent infix expression and value for the postfix form 1 2 + 3 * 4 5 * – will be ___________
The equivalent infix expression and value for the postfix form 1 2 + 3 * 4 5 * ...
View QuestionThe postfix expression abc+de/*- is equivalent to which of the following infix expression?
a) abc+-de*/ b) (a+b)-d/e*c c) a-(b+c)*(d/e) d) abc+*-(d/e) Answer: c Explanation: ...
View QuestionWhich of the following data structure is used to convert postfix expression to infix expression?
a) Stack b) Queue c) Linked List d) Heap Answer: a Explanation: ...
View QuestionGiven two processes (conversion of postfix equation to infix notation and conversion of prefix notation to infix notation), which of the following is easier to implement?
a) Both are easy to implement b) Conversion of postfix equation to infix equation is harder than converting ...
View Question