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
Cell Structure and Function

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

Flashcard
•
9th Grade
20 questions
Orbits and Kepler's Laws

Flashcard
•
9th Grade
20 questions
Nutrition for a healthy life style

Flashcard
•
9th Grade
19 questions
Orbits and Eccentricity

Flashcard
•
9th Grade
22 questions
Enzymes

Flashcard
•
9th Grade
21 questions
Enzymes

Flashcard
•
9th Grade
20 questions
Cell Biology Review

Flashcard
•
9th - 10th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Other
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University