Search Header Logo
CMU Review Units 1-4 Part 2 of 2

CMU Review Units 1-4 Part 2 of 2

Assessment

Flashcard

Other

9th Grade

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

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?

Media Image

Back

False

4.

FLASHCARD QUESTION

Front

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

Media Image

Back

True

5.

FLASHCARD QUESTION

Front

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

Media Image

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?

Media Image

Back

Media Image

7.

FLASHCARD QUESTION

Front

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

Media Image

Back

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?