Solved

What Is the Value of the Variable ACCUM After the Instructions

Question 19

Multiple Choice

What is the value of the variable ACCUM after the instructions corresponding to the following pseudocode are executed?
ACCUM=1\mathrm { ACCUM } = 1
COUNT =0= 0
DOWHILE COUNT4C O U N T \leq 4
ACCUM=ACCUM+ACCUM\mathrm { ACCUM } = \mathrm { ACCUM } + \mathrm { ACCUM }
COUNT=COUNT+1\mathrm { COUNT } = \mathrm { 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