p5.js activity

Flashcard
•
Computers
•
9th - 12th Grade
•
Hard
Wayground 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
11 questions
Colors ESL

Flashcard
•
KG - 12th Grade
10 questions
Japanese colours

Flashcard
•
KG - 10th Grade
3 questions
Guess the number!!! ... with Kira

Flashcard
•
9th - 12th Grade
6 questions
pig autopsy part 1

Flashcard
•
KG
7 questions
IP адреса и маски

Flashcard
•
11th Grade
10 questions
Quick 10Q: Heredity

Flashcard
•
9th - 12th Grade
5 questions
Spring ID 2025

Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th 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
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade