MathDB
Computer Operations

Source:

April 4, 2006
arithmetic series

Problem Statement

If the following instructions are carried out by a computer, which of XX will be printed because of instruction 55? 1.1. Start XX at 33 and SS at 00 2.2. Increase the value of XX by 22. 3.3. Increase the value of SS by the value of XX. 4.4. If SS is at least 1000010000, then go to instsruction 55; otherwise, go to instruction 22 and proceed from there. 5.5. Print the value of XX. 6.6. Stop. (A) 19(B) 21(C) 23(D) 199(E) 201\text{(A)} \ 19 \qquad \text{(B)} \ 21 \qquad \text{(C)} \ 23 \qquad \text{(D)} \ 199 \qquad \text{(E)} \ 201