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
3 questions
Flashcard Set on Creating Flashcards

Flashcard
•
KG
7 questions
PARTS OF THE COMPUTER

Flashcard
•
2nd Grade
10 questions
Reading Comprehension

Flashcard
•
2nd Grade
11 questions
Hangul Vocabulary

Flashcard
•
1st Grade
11 questions
Lean Canvas

Flashcard
•
1st - 2nd Grade
10 questions
Grade 2 Computer Vocab Week 1

Flashcard
•
1st - 2nd Grade
9 questions
Disney Characters

Flashcard
•
1st Grade
10 questions
Beginning Sounds 2

Flashcard
•
KG
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade