Search Header Logo
12/2 AP CSP

12/2 AP CSP

Assessment

Interactive Video

Information Technology (IT)

12th Grade

Practice Problem

Easy

Created by

Praise Apata

Used 1+ times

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 mins • 1 pt

Media Image

Consider the code segment below.


What value is displayed after the function call mystery(25, 205) is executed?

5

25

50

210

2.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

Which of the following could NOT be an output from the following code?

1 1 1 1 1 1 1 1 1 1 1 5

1 1 2 4 5 7

1 3 8 10 5

1 10 8 7 3 2 5

3.

OPEN ENDED QUESTION

3 mins • 1 pt

What is an infinite loop?

Evaluate responses using AI:

OFF

4.

DROPDOWN QUESTION

15 mins • 1 pt

Please submit the "Try It Yourself" assignment to iLearn. The drop box is called "Day 15 - Mini Try Exercise". Write your program in VS Code. Submit the .py file

I have ​ (a)   the exercise

submitted
not submitted (this is wrong btw)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main purpose of a while loop?

To make code run only once

To make code run faster

To stop code from running

To repeat code based on a condition

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens if you forget to change the variable in a while loop?

The loop will run once

The loop will stop immediately

The loop will run forever

The loop will skip some steps

7.

OPEN ENDED QUESTION

3 mins • 1 pt

Media Image

Please write the correct code.

Note: The picture is of the broken code

Evaluate responses using AI:

OFF

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?