What will be the output of the following pseudocode? Integer a, b Set a = 15, b = 7 a = a mod (a - 3) b = b mod (b - 3) a = a mod 1 b = b mod 1…

What will be the output of the following pseudocode?

Integer a, b
Set a = 15, b = 7
a = a mod (a - 3)
b = b mod (b - 3)
a = a mod 1
b = b mod 1
Print a + b
  1. a) 15
  2. b) 7
  3. c) 0
  4. d) 2

From the BUET MSC (ICT) July 2021 – MCQ exam, question 28 of 57.

More from this paper