Section 312: onMouseMove
Quiz
•
Mathematics
•
9th - 12th Grade
•
Practice Problem
•
Medium
+19
Standards-aligned
Michael Weingarden
Used 48+ times
FREE Resource
Enhance your content in a minute
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
22 questions
DFC #10 (through Topic 3.9)
Quiz
•
12th Grade
23 questions
Binomialverteilung_Aufgaben
Quiz
•
10th Grade
24 questions
Math 1 Final Day 1
Quiz
•
8th - 9th Grade
23 questions
Toán Trắc Nghiệm
Quiz
•
11th Grade
24 questions
s1 block 2
Quiz
•
7th Grade - University
23 questions
proportzionaltasuna
Quiz
•
6th - 9th Grade
30 questions
Real Number System Review
Quiz
•
8th - 9th Grade
22 questions
Algebra
Quiz
•
9th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Mathematics
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
12 questions
Exponential Growth and Decay
Quiz
•
9th Grade
20 questions
Exponent Rules Review
Quiz
•
8th - 9th Grade
25 questions
Complementary and Supplementary Angles
Quiz
•
7th - 10th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
13 questions
Model Exponential Growth and Decay Scenarios
Quiz
•
9th - 12th Grade
15 questions
Combine Like Terms and Distributive Property
Quiz
•
8th - 9th Grade
27 questions
7.2.3 Quadrilateral Properties
Quiz
•
9th - 12th Grade
