AP Computer Science Principlesmediummcq1 pt

A loop that runs 4 times counting from 0 prints which sequence if it prints the counter?

A.0 1 2 3
B.1 2 3 4
C.0 1 2 3 4
D.4 3 2 1

Explanation

Core Concept

Counters start at 0 and stop before 4.

Correct Answer

A0 1 2 3

More Unit 3: Algorithms and Programming practice questions

Try a random question →

Practice more AP Computer Science Principles questions with full explanations

Practice Unit 3: Algorithms and Programming Questions →