Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1. What is the value of the variable ACCUM after the instructions corresponding

ID: 3668849 • Letter: 1

Question

1. What is the value of the variable ACCUM after the instructions corresponding to the following pseudocode are executed? ACCUM = 1 COUNT = 0 DOWHILE COUNT <= 4 ACCUM = ACCUM + ACCUM COUNT = COUNT + 1 ENDDO Question 30 options:

8

16

32

64

2.If the value input for START is 8, how many times will the instructions within the loop below be executed? Read START COUNT = START DOWHILE COUNT <= START COUNT = COUNT - 1 Write COUNT ENDDO Question 28 options:

0

1

8

infinite

3. If the value input for START is 8, how many times will the instructions within the loop below be executed? Read START COUNT = START DOWHILE COUNT > START COUNT = COUNT - 1 Write COUNT ENDDO Question 27 options:

0

1

8

infinite

4. If the value input for START is 8, how many times will the instructions within the loop below be executed? Read START COUNT = START DOWHILE COUNT >= START COUNT = COUNT - 1 Write COUNT ENDDO Question 26 options:

0

1

8

infinite

Explanation / Answer

1) 32

2) infinite

3) 0

4) 1