CMU CS Academy Unit 2 Functions

CMU CS Academy Unit 2 Functions

Assessment

Flashcard

Computers

9th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

3 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What goes in the blank to make the function work as intended: x, y; mousex, mousey; mouseX, mouseY?

Back

mouseX, mouseY

2.

FLASHCARD QUESTION

Front

What goes in the blank to draw the stem from position (200, 300) to where the mouse is clicked: 200, mouseX, 300, mouseY; 200, 300, mouseX, mouseY; 200, 300, x, y?

Back

200, 300, mouseX, mouseY

3.

FLASHCARD QUESTION

Front

What code goes on Line 16 to change the color of the sky to "skyBlue" when the mouse is pressed?

Back

sky.fill = 'skyBlue'.