What is the outcome of the prefix expression +, −, *, 3, 2, /, 8, 4, 1 ?

2022

What is the outcome of the prefix expression +, −, *, 3, 2, /, 8, 4, 1 ?

Answer: C. 5Prefix expression: + − * 3 2 / 8 4 1 Stepwise evaluation: 3 2 = 6 / 8 4 = 2 − 6 2 = 4 4 1 = 5 Hence, the result is 5.

  1. A.

    12

  2. B.

    11

  3. C.

    5

  4. D.

    4

Attempted by 880 students.

Show answer & explanation

Correct answer: C

Prefix expression:
+ − * 3 2 / 8 4 1

Stepwise evaluation:

  • 3 2 = 6
    / 8 4 = 2
    − 6 2 = 4

  • 4 1 = 5

Hence, the result is 5.

Explore the full course: Hpsc Pgt Computer Science

Loading lesson…