AP CSP Unit 2 CMU Review Flashcardizz

AP CSP Unit 2 CMU Review Flashcardizz

Assessment

Flashcard

Created by

Quizizz Content

Computers

11th Grade

Hard

Student preview

quiz-placeholder

21 questions

Show all answers

1.

FLASHCARD QUESTION

Front

We can define a function without any parameters

Back

True

2.

FLASHCARD QUESTION

Front

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

Back

The opacity of the oval decreases

3.

FLASHCARD QUESTION

Front

Which of the following is drawn when the mouse is released while running 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

Back

Two overlapping rectangles of different colors

4.

FLASHCARD QUESTION

Front

Every if statement must be followed by an else statement.

Back

False

5.

FLASHCARD QUESTION

Front

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

Back

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

6.

FLASHCARD QUESTION

Front

How many times does this code draw a red rectangle?

Back

1

7.

FLASHCARD QUESTION

Front

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

Back

purple

Explore all questions with a free account

or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?