Solved

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

Question 11

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\mathrm { COUNT } = 0
DOUNTIL COUNT >4> 4
ACCUM=ACCUM+ACCUM\mathrm { ACCUM } = \mathrm { ACCUM } + \mathrm { ACCUM } COUNT == COUNT + 1
Write ACCUM
ENDDO


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