Section 312: onMouseMove

Quiz
•
Mathematics
•
9th - 12th Grade
•
Medium
+19
Standards-aligned
Michael Weingarden
Used 38+ times
FREE Resource
27 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens when you move the mouse to the right on the canvas?
mouseX gets bigger
mouseX gets smaller
mouseY gets bigger
mouseY gets smaller
I'm really not sure
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens when you move your mouse down on the canvas?
mouseX gets bigger
mouseX gets smaller
mouseY gets bigger
mouseY gets smaller
I'm really not sure
Tags
CCSS.HSA.CED.A.2
CCSS.HSA.REI.D.10
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If you move the mouse to the right...
the box will move to the right
the box will move to the left
the box will move up
the box will move down
I'm really not sure
Answer explanation
The box will move to the right because box.left will get bigger as mouseX gets bigger.
Tags
CCSS.5.G.A.1
CCSS.5.G.A.2
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If you move the mouse up, circle c will move...
up
down
nothing will happen
an error will occur
I'm really not sure
Tags
CCSS.HSG.CO.A.2
CCSS.HSG.CO.A.5
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If you move the mouse down, what will happen?
circle c will move down
circle c will move up
an error will occur
nothing will happen
I'm really not sure
Answer explanation
The parameters in the onMouseMove() function definition are x and y. When you try to set c.centerX = mouseX, you can't because mouseX was never defined.
Tags
CCSS.HSG.CO.A.2
CCSS.HSG.CO.A.5
CCSS.HSG.CO.B.6
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When you move the mouse to the right...
circle c will move down and to the right
circle c will move to the right, but not up or down
an error will occur
nothing will happen
I'm really not sure
Answer explanation
circle c will move to the right and down because centerX and center Y are both based on the x position of the mouse cursor.
Tags
CCSS.HSG.GPE.B.7
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When you move the mouse up and down...
circle c will move left and right
circle c will move up and down
an error will occur
nothing will happen
I'm really not sure
Answer explanation
The centerX and centerY of the circle are both set to x (which is the x position of the mouse). So, when you move the mouse up and down, nothing happens to circle c.
Tags
CCSS.HSG.CO.A.2
CCSS.HSG.CO.A.4
CCSS.HSG.CO.A.5
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
Regents Geometry Transformations

Quiz
•
8th - 10th Grade
25 questions
Adding, Subtracting and Multiplying Decimals

Quiz
•
8th - 9th Grade
25 questions
Geometry - Transformations

Quiz
•
8th - 10th Grade
22 questions
Centers of Triangles

Quiz
•
9th - 10th Grade
22 questions
Practice Test: Circles, Arcs, and Sectors

Quiz
•
10th - 12th Grade
24 questions
Trigonometry Unit Review

Quiz
•
9th - 12th Grade
22 questions
8.1.4

Quiz
•
9th - 12th Grade
25 questions
Transformations in Geometry

Quiz
•
8th - 10th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Mathematics
15 questions
ACT Math Practice Test

Quiz
•
9th - 12th Grade
12 questions
Graphing Inequalities on a Number Line

Quiz
•
9th Grade
15 questions
Two Step Equations

Quiz
•
9th Grade
15 questions
Combining Like Terms and Distributive Property

Quiz
•
9th Grade
12 questions
Absolute Value Equations

Quiz
•
9th Grade
8 questions
ACT Math Strategies

Lesson
•
9th Grade
10 questions
Solving Absolute Value Equations

Quiz
•
9th Grade
16 questions
Parallel Lines Cut by a Transversal

Lesson
•
9th - 10th Grade