The prefix form of A-B/ (C * D ^ E) is?

  • A. a) -A/B*C^DE
  • B. b) -A/BC*^DE
  • C. c) -ABCD*^DE
  • D. d) -/*^ACBDE
Correct Answer: A. a) -A/B*C^DE
Understanding Prefix Notation

In prefix notation, the operator precedes its operands.

The order of evaluation is from right to left.

Breaking Down the Expression

Given the infix expression: A - B / (C * D ^ E)

To convert it to prefix, we need to follow these steps:

Handle Parentheses:

We start with the innermost parentheses: (C * D ^ E)

Converting this to prefix: * ^ CD E

Handle Division:

The expression becomes: A - B / (* ^ CD E)

Converting it to prefix: - A / B * ^ CD E

Final Prefix Expression:

The complete prefix expression is: -A / B * ^ CD E

Therefore, the correct prefix form of the given infix expression is -A / B * ^ CD E.

If you think there is any confusion in the given MCQs, you can comment below.

Follow us on WhatsApp

docmcqs.com is Pakistan's No.1 online platform for preparing for all types of exams including PPSC, FPSC, KPSC, SPSC, Ministry of Defence, and for one-paper MCQs. This includes Pedagogy MCQs, general knowledge MCQs, current affairs MCQs, and much more.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top