Search Header Logo

APCSP Loop Quiz

Authored by Victoria Berkowitz

Computers

9th Grade

Used 3+ times

APCSP Loop Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Consider the following code segment. What is the output after executing the code?

12

20

24

18

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Consider the following code segment. What is the output after executing the code?

0 1 2 3

1 2 3 4

0 1 2

1 2 3

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Consider the following code segment. What is the output after executing the code?

Red Green Blue

Red Green Blue

Red Red Red

Red Green Blue
Red Green Blue
Red Green Blue

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Consider the following code segment. What is the output after executing the code?

2 4 6 8

2 4 8

2 4 8 16

2 4 8 16 32

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Consider the following code segment. What is the output after executing the code?

9 4 1 0

9 4 1

3 2 1 0

3 2 1

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Consider the following code segment. What is the output after executing the code?

HINT:

Remember MOD is remainder after division.

num MOD 2 = 0 when the num is even.

num MOD 2 = 1 when the num is odd.

1 3 5

2 4

1

1 2 3 4 5

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?