Solved

What Is the Value of the Variable ACCUM After Instructions ACCUM=1\mathrm { ACCUM } = 1

Question 24

Multiple Choice

What is the value of the variable ACCUM after instructions corresponding to the following pseudocode are executed?
ACCUM=1\mathrm { ACCUM } = 1
COUNT =0= 0
DOUNTIL COUNT 4\geq 4
ACCUM=ACCUM+ACCUM\mathrm { ACCUM } = \mathrm { ACCUM } + \mathrm { ACCUM }
COUNT == COUNT + 1
ENDDO


A) 8
B) 16
C) 32
D) 64

Correct Answer:

verifed

Verified

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

Related Questions