recategorized by
7,852 views

2 Answers

Best answer
4 4 votes
POSTFIX EVALUATION ALGO

1) push the operands  in stack when  operator X comes take top 2 values say A and B  and perform B X A and store the result at top  of stack

2)Repeat the procedure till end of expression

here push 8 3 4 now +comes 3+4=7 stack now contains 8 7 now - comes so 8-7=1 stack now has 1

push 3 8 2 now / comes perform 8/2=4 then +comes 3+4 =7 stack now has 1  7 then * comes stack now has 7*1=7

now push 2  $ (power )comes perform 7^2=49 push 3    +comes  stack now has 49 3 perform 49+3=52

hence final ans is D
selected by
0 0 votes

834+-382/+*2$3+

=87-382/+*2$3+

=1382/+*2$3+

=134+*2$3+

=17*2$3+

=72$3+

=49 3 +

=52

Hence,Option(D)52.

Answer:
Position:
Show:

Related questions

0 0 votes
1 1 answer
471
471 views
go_editor asked Mar 27, 2020
471 views
If the post fix form of a string is $ABC+-D$*, The actual string is:$(A-(B+C))$*$D$$((A-B)+C)$*$D$$((A+B)-C)$*$D$$(A+(B-C)$*$D)$
4 4 votes
2 2 answers
673
673 views
Shubham Sharma 2 asked Sep 10, 2025
673 views
Consider the following infix expression $Q:\left((A+B)^{*} D\right) \uparrow(E-F)$. The equivalent postfix expression of $Q$ is$A B+D ^{*} E F \uparrow$ -$A B+D^{*}-\upar...
0 0 votes
1 1 answer
1.6k
1.6k views
go_editor asked Mar 26, 2020
1,609 views
If the postfix form of a string is $ABC +$ $– D^{*}$, the actual string is :$\left ( A-\left ( B+C \right ) \right )^{*}D$$\left ( \left ( A-B \right )+C \right )^{*}D$$\...
0 0 votes
1 1 answer
434
434 views
go_editor asked Mar 28, 2020
434 views
The equivalent postfix express for $d/(e+f)+b*c$ is :$defbc/++$$def+/bc+*$$def+/bc*+$None of these