Solved

How Many Values Will Be Output When the Instructions Corresponding ACCUM=1\mathrm { ACCUM } = 1

Question 28

Multiple Choice

How many values will be output when the instructions corresponding to the following pseudocode are executed?
ACCUM=1\mathrm { ACCUM } = 1
COUNT =0= 0
DOWHILE COUNT <4< 4
ACCUM=ACCUM+ACCUMA C C U M = A C C U M + A C C U M
COUNT == COUNT + 1
Write ACCUM
ENDDO\mathrm { ENDDO }
Write ACCUM


A) 4
B) 5
C) 8
D) 16

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions