
Exploring JavaScript Canvas Art
Authored by Keith Lavigne
Computers
9th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is used to draw a rectangle on a canvas in JavaScript?
`drawRect()`
`rect()`
`createRect()`
`rectDraw()`
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct method to clear a specific rectangular area on a canvas?
`clearRect()`
`eraseRect()`
`removeRect()`
`deleteRect()`
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is used to draw a circle on a canvas?
`drawCircle()`
`arc()`
`circle()`
`ellipse()`
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To animate a shape on a canvas, which function is commonly used to repeatedly call a function you create so that your drawing updates?
`setInterval()`
`requestAnimationFrame()`
`setTimeout()`
`animate()`
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the `beginPath()` method in canvas drawing?
To start a new path
To fill a path
To close a path
To stroke a path
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which property is used to set the color of a shape in canvas?
`fillColor`
`strokeColor`
`fillStyle`
`outlineColor`
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is used to fill a shape with color on a canvas?
`fill()`
`color()`
`paint()`
`shade()`
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
10 questions
ÔN TẬP GIỮA KỲ II - TIN 9
Quiz
•
9th Grade
10 questions
Intro to Comp Sci: U2L1
Quiz
•
8th - 12th Grade
15 questions
Premiere Pro Buttons
Quiz
•
9th - 12th Grade
10 questions
Complex Sprite Movement
Quiz
•
9th - 12th Grade
15 questions
Systems Architecture
Quiz
•
KG - 9th Grade
15 questions
Career Explorations
Quiz
•
6th - 9th Grade
10 questions
Occupational Health and Safety (OHS)
Quiz
•
7th - 10th Grade
17 questions
InDesign Review
Quiz
•
9th - 12th 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