APCSP Loop Quiz

APCSP Loop Quiz

9th Grade

6 Qs

quiz-placeholder

Similar activities

APCSP Final Exam Coding Practice

APCSP Final Exam Coding Practice

Code Tracing Quiz

Code Tracing Quiz

APCSP BJC Unit 4 Lab

APCSP BJC Unit 4 Lab

AP CS A Quiz 4 Practice

AP CS A Quiz 4 Practice

AP Computer Science A Unit 4 Section 1 (While loops)

AP Computer Science A Unit 4 Section 1 (While loops)

Day 4 Quiz

Day 4 Quiz

APCSP Loop Quiz

APCSP Loop Quiz

Assessment

Quiz

Computers

9th Grade

Practice Problem

Hard

Created by

Victoria Berkowitz

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Discover more resources for Computers