APFIVE APFIVE | preferred AP College board partner for AP classes
AP Classes
AP Computer Science A
AP Human Geography
AP Comparative Government and Politics
AP European History
AP Macroeconomics
AP Microeconomics
AP Psychology
AP United States Government and Politics
AP United States History
AP Calculus AB
AP Calculus BC
AP Computer Science Principles
AP Precalculus
AP Statistics
AP Biology
AP Chemistry
AP Environmental Science
AP Chinese
AP Art History
AP English Literature
AP Research
AP Spanish Literature
AP Art & Design
AP World History: Modern
AP English Language
AP French
AP German
AP Japanese
AP Latin
AP Italian
AP Spanish Language
AP Music Theory
AP Physics 1
AP Physics 2
AP Physics C: Mechanics
AP Physics C: E&M
AP African American Studies
AP Computer Science A/Unit 3: Boolean Expressions and if Statements
Start Practice TestPractice Test
Share
About Exam
medium Solved by 4 students
For Loop Execution Trace
< Prev
Next >

What is printed as a result of executing the following code segment?

for (int i = 200; i > 0; i /= 3)
{
    if (i % 2 == 0)
    System.out.print(i + " ");
}
A

66 22 7 2

B

200 66 22 7 2

C

200 66 22

D

200 66 22 2

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

Question Leaderboard

Not enough data yet to show leaderboard.

AI Tutor Jun 9, 2026

How can I help?

APFIVE © 2020.
Email: apfive@apfive.org|Privacy Policy