Question 31

What will the following expression evaluate to? 3+2*5−32/8

What will the following expression evaluate to? 3+2*5−32/8
  1. A9
  2. B24
  3. C5.75
  4. D21
Show answerHide answer

Correct answer: (A) 9

Explanation

Multiplication and division are done before addition and subtraction: 2*5 = 10 and 32/8 = 4, so 3 + 10 − 4 = 9.

From DSSSB TGT Computer Science Practice Set 1

This is question 31 of DSSSB TGT Computer Science Practice Set 1. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.