Search Header Logo

AP CSP Unit 2 CMU Review Quizizz

Authored by Lindsey Kruppstadt

Computers

11th Grade

Used 3+ times

AP CSP Unit 2 CMU Review Quizizz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

22 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

We can define a function without any parameters

True

False

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What happens when the mouse is pressed once while running the following code?

Te opacity of the oval decreases

The oval moves to the left

There is an error on the last line of code

There is an error because the onMousePress parameters have wrong names

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which of the following is drawn when the mouse is released while runing the following code?

A blue rectangle covering part of a green rectangle

Two non-touching rectangles

A green rectangle

Two overlapping rectangles of different colors

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Every if statement must be followed by an else statement.

True
False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

When does the following code draw a green circle?

When the mouse is dragged in the top-left of the canvas

When the mouse is dragged in the bottom-right of the canvas

When the mouse is dragged in the bottom-left of the canvas

When the mouse is dragged on the bottom half of the canvas

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many times does this code draw a red rectangle?

0

1

2

3

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What color is the app's background after running the code below?

red

green

blue

purple

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?