How do you create a canvas with a width of 800 pixels and a height of 600 pixels in p5.js? You have 30 seconds to answer. Options: createCanvas(600, 800);, createCanvas(800, 600);, canvas(800, 600);, canvas(600, 800);
TEST 12.10

Flashcard
•
Computers
•
1st Grade
•
Hard
Quizizz Content
FREE Resource
Student preview

10 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Back
createCanvas(800, 600);
2.
FLASHCARD QUESTION
Front
In p5.js, what function is used to draw a rectangle?
Back
rect()
3.
FLASHCARD QUESTION
Front
How would you set the background color of the canvas to a shade of gray in p5.js? You have 30 seconds to answer. Options: background(grey);, backgroundColor(grey);, background(128);, setCanvasColor(128);
Back
background(128);
4.
FLASHCARD QUESTION
Front
In a classroom, Luna is working on a p5.js canvas. What are the coordinates of the top left corner?
Back
0,0
5.
FLASHCARD QUESTION
Front
What is the height of the following oval (aka ellipse)? ellipse(70, 120, 150, 180);
Back
180
6.
FLASHCARD QUESTION
Front
What is the y coordinate of the following rectangle? You have 30 seconds to answer.
rect(70, 120, 150, 180);
Back
120
7.
FLASHCARD QUESTION
Front
What function do we use to add color to the INSIDE of a shape in p5.js?
Back
fill();
Create a free account and access millions of resources
Similar Resources on Quizizz
9 questions
EXPOHISPANO First Grade

Flashcard
•
1st Grade
10 questions
Beginning Sounds 2

Flashcard
•
KG
10 questions
G1-Unit 5: Vocab

Flashcard
•
1st Grade
10 questions
ICT Basics

Flashcard
•
1st - 3rd Grade
5 questions
TEST 12.9

Flashcard
•
1st Grade
9 questions
Parts of a Computer

Flashcard
•
1st Grade
11 questions
Lean Canvas

Flashcard
•
1st - 2nd Grade
9 questions
Prepositions of place

Flashcard
•
1st Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
15 questions
June Review Quiz

Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade