Skip to content

CMA Final · Strategic Cost Management · Simulation

A linear congruential generator uses X(n+1) = (5 × X(n) + 3) mod 16, with seed X(0) = 7. What is the third generated number, X(3)?

The third number is 8. Starting from seed 7, the first value is 38 mod 16 = 6, the second is 33 mod 16 = 1, and the third is 8 mod 16 = 8. Each value comes from applying the formula to the previous one.

  1. A8Correct
  2. B6
  3. C1
  4. D3

Explanation

X1 = (5×7+3) mod 16 = 38 mod 16 = 6. X2 = (5×6+3) mod 16 = 33 mod 16 = 1. X3 = (5×1+3) mod 16 = 8. Choosing 1 would stop one step early at X2.

Did you get it right without looking?

One question tells you little. A timed set on Simulation shows your real accuracy, how long you take and where you lose marks.

More Simulation questions