Can onMouseMove
and onMouseDrag
have different code in their bodies?
CMU Review Units 1-4 Part 2 of 2

Flashcard
•
Other
•
9th Grade
•
Hard
Quizizz Content
FREE Resource
Student preview

27 questions
Show all answers
1.
FLASHCARD QUESTION
Front
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
7.
FLASHCARD QUESTION
Front
What color is the app's background after running the code below? Options: red, green, blue, purple
Back
purple
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Nutrition for a healthy life style

Flashcard
•
9th Grade
22 questions
Enzymes

Flashcard
•
9th Grade
21 questions
Enzymes

Flashcard
•
9th Grade
20 questions
Cell Biology Review

Flashcard
•
9th - 10th Grade
20 questions
Cell Structure and Function

Flashcard
•
9th Grade
23 questions
Biochemistry+Enzymes

Flashcard
•
9th - 10th Grade
20 questions
Probability

Flashcard
•
9th - 10th Grade
20 questions
METALS AND NON-METALS

Flashcard
•
9th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
15 questions
June Review Quiz

Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
Discover more resources for Other
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
24 questions
LSO - Virus, Bacteria, Classification - sol review 2025

Quiz
•
9th Grade
65 questions
MegaQuiz v2 2025

Quiz
•
9th - 12th Grade
10 questions
GPA Lesson

Lesson
•
9th - 12th Grade
15 questions
SMART Goals

Quiz
•
8th - 12th Grade
10 questions
Exponential Growth and Decay Word Problems

Quiz
•
9th Grade