p5.js activity

Flashcard
•
Computers
•
9th - 12th Grade
•
Hard
Quizizz Content
FREE Resource
Student preview

5 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is a correct code to create a rectangle in p5.js? Options: rect(40,120,120,40);
Back
rect(40,120,120,40);
2.
FLASHCARD QUESTION
Front
How do I create a rectangle located 50px to the right and 80px down on the canvas? Options: rect(40,100,80,50);, rect(100,40,50,80);, rect(80,50,100,40);, rect(50,80,100,40);
Back
rect(50,80,100,40);
3.
FLASHCARD QUESTION
Front
What function do we use to add color to a shape in p5.js?
Back
fill();
4.
FLASHCARD QUESTION
Front
Which code makes an ellipse measuring 140px width and 100px height? Options: ellipse(175, 130, 100, 140);, circle(175, 130, 140, 100);, ellip(175, 130, 140, 100);, ellipse(175, 130, 140, 100);
Back
ellipse(175, 130, 140, 100);
5.
FLASHCARD QUESTION
Front
Which code sets the canvas' color to "pink" in p5.js? Options: background-color('pink');, background('pink');, bg('pink');, bg-color('pink');
Back
background('pink');
Similar Resources on Wayground
10 questions
Compound Probability

Flashcard
•
10th Grade
13 questions
p5.js Week1 PREtest

Flashcard
•
7th - 12th Grade
10 questions
Quick 10Q: Heredity

Flashcard
•
9th - 12th Grade
10 questions
Colors

Flashcard
•
KG
5 questions
Mathematical Terms

Flashcard
•
9th - 12th Grade
12 questions
Code.Org: Unit 3, Lessons 3-5 Flashcard

Flashcard
•
8th - 10th Grade
5 questions
Spring ID 2025

Flashcard
•
9th - 12th Grade
7 questions
Sum and Difference Formulas

Flashcard
•
12th Grade
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade
Discover more resources for Computers
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade