
Exploring JavaScript Canvas Art

Quiz
•
Computers
•
9th Grade
•
Hard
Keith Lavigne
FREE Resource
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()`
Create a free account and access millions of resources
Similar Resources on Wayground
17 questions
CP M.6 Assessment Review

Quiz
•
9th - 12th Grade
17 questions
płyta główna, procesor

Quiz
•
1st - 12th Grade
12 questions
Define Variables

Quiz
•
9th - 12th Grade
10 questions
Unit 4 Inkscape Visual Graphics

Quiz
•
9th Grade
15 questions
JavaScript and Graphics

Quiz
•
9th - 12th Grade
15 questions
Computer Hardware CPUs and Motherboards

Quiz
•
9th - 12th Grade
13 questions
Inkscape Glossaries

Quiz
•
7th - 10th Grade
10 questions
JavaScript L1 Quiz 2

Quiz
•
5th - 12th 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 Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Analog vs Digital

Quiz
•
9th - 12th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade