Stacks In Data Structures - Study Mode

[#81] The result of the postfix expression 5 3 * 9 + 6 / 8 4 / + is . . . . . . . .
Correct Answer

(B) 6

[#82] When an operand is read, which of the following is done?
Correct Answer

(A) It is placed on to the output

[#83] Find the output of the following prefix expression. *+2-2 1/-4 2+-5 3 1
Correct Answer

(A) 2

[#84] Which of the following is an example for a postfix expression?
Correct Answer

(B) abc*+de-+

[#85] What should be done when a left parenthesis '(' is encountered?
Correct Answer

(C) It is placed in the operator stack