CMU Review Units 1-4 Part 2 of 2

CMU Review Units 1-4 Part 2 of 2

Assessment

Flashcard

Created by

Quizizz Content

Other

9th Grade

Hard

Student preview

quiz-placeholder

27 questions

Show all answers

1.

FLASHCARD QUESTION

Front

Can onMouseMove and onMouseDrag have different code in their bodies?

Back

True

2.

FLASHCARD QUESTION

Front

An else statement is only run when its associated if statement's condition is False.

Back

True

3.

FLASHCARD QUESTION

Front

The following code will draw a Star when the mouse is dragged anywhere on the left side of the canvas. True or False?

Back

False

4.

FLASHCARD QUESTION

Front

The following code will cause an error if we press the mouse.

Back

True

5.

FLASHCARD QUESTION

Front

How many shapes are drawn when we call onMouseMove(100, 150)?

Back

3

6.

FLASHCARD QUESTION

Front

Assume that drawFlower(x, y) draws a flower. Which of the following answers correctly defines onMouseMove to draw flowers in the white portions of the canvas, and nothing in the blue portion of the canvas?

Back

Media Image

7.

FLASHCARD QUESTION

Front

What color is the app's background after running the code below? Options: red, green, blue, purple

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?