How many values will be output when the instructions corresponding to the following pseudocode are executed?

```
ACCUM = 1
COUNT = 0
DOWHILE COUNT < 4
ACCUM = ACCUM + ACCUM
COUNT = COUNT + 1
Write ACCUM
ENDDO
Write ACCUM

```

a) 4
b) 5
c) 8
d) 16

b) 5

Computer Science & Information Technology

You might also like to view...

In Microsoft Excel, a flashing insertion point indicates the active cell

Indicate whether the statement is true or false

Computer Science & Information Technology

Modularity can have a negative as well as a positive effect. A program that is overmodularized performs its operations in very small modules, so a reader has trouble acquiring a perspective. That is, although it may be easy to determine what many individual modules do and what small groups of modules do, it is not easy to understand what they do in their entirety as a system. Suggest an approach

that can be used during program development to provide this perspective. What will be an ideal response?

Computer Science & Information Technology