Q71
A stake machine pushes operands on a stack and evaluates binary operators by a pcs (i.e pop/compute/store) where the top two operands are popped computation is performed and the result is pushed onto stack. Evaluation of an expression (x*y)+ (u*v) by Reverse Polish notation in a stack machine needs
A.
4 push and 3 pcs instruction
AnswerB.
6 push and 1 pcs instruction
C.
4 push and 1 pcs instruction
D.
5 push and 2 pcs instruction
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board