The postfix form of the expression (A + B) * (C * D ‐ E) * F / G is _______ .
2021
The postfix form of the expression (A + B) * (C * D ‐ E) * F / G is _______ .
- A.
A B + C D * E – F G / * *
- B.
A B + C D * E – F * * G /
- C.
A B + C D * E – * F * G /
- D.
A B + C D E * – * F * G /
Attempted by 616 students.
Show answer & explanation
Correct answer: C
Final postfix form: A B + C D * E - * F * G /
Convert the first parenthesis: (A + B) → A B +.
Convert the second parenthesis: (C * D - E). First C * D → C D *; then subtract E → C D * E -.
Multiply the results of the two parenthesized parts: A B + C D * E - *.
Multiply that product by F: A B + C D * E - * F *.
Finally divide the whole result by G: A B + C D * E - * F * G /.
Note: Parentheses determine the grouping; perform each parenthesized conversion first, then apply multiplication and division from left to right on the resulting operands.
A video solution is available for this question — log in and enroll to watch it.