501(c)(3) non-profit • UBI: 606234803 • EIN: 42-2740810
easy

Analyzing Pseudocode Loop Output

< Prev
Next >

Which of the following describes the output of the pseudocode segment below?

i = 2

while i <= 50:

print i

I += 2

A

Identify a word labeled with the number 2 and determine how many times the text is printed, up to 50 times.

B

Recognize two-syllable words and print the first 50 words in a list.

C

Print numbers equal to 2 and less than 50.

D

Print all even numbers from 2 to 50.

Hint
Did You Know?
Explain Why
Explain All Answers
Check Answer
Show Correct Answer
Report Question

AI Tutor

How can I help?

© 2026 clep.ai · CLEPAI Foundation, a 501(c)(3) non-profit (EIN 42-2740810) · Not affiliated with College Board