P5 Editor
Quiz
•
Computers
•
4th - 8th Grade
•
Practice Problem
•
Medium
Natasha Mathew
Used 17+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is p5.js ?
It is a header file
It is programming language
It is a Javascript library
It is an online compiler
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function in p5 is executed only once?
draw()
rect()
setup()
createCapture()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What function do we use to create circle?
ellipse()
line()
arc()
circle()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a correct code to create a rectangle in p5.js?
rect();
rectangle(20,20,40,50);
rect(40,120,120,40);
rect(40,120);
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What function do we use to add color to a shape in p5.js?
color();
fill();
paint();
noFill();
6.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which are correct ways to add color to a shape in p5.js?
fill(‘yellow’);
fill(amarillo);
fill(255,255,0);
fill(‘#ebe12d’);
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which code sets the canvas' color to "pink" in p5.js?
background-color('pink');
bg('pink');
background('pink');
bg-color('pink');
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
17 questions
Challenge Grade 4
Quiz
•
4th Grade
16 questions
7 Important Black Computer Scientists
Quiz
•
6th - 8th Grade
20 questions
SensorOne Quiz 2 - Digital Systems- TE4-7DI
Quiz
•
7th Grade
18 questions
Graph/Chart
Quiz
•
5th Grade
20 questions
COMPUTER TEST
Quiz
•
1st - 7th Grade
15 questions
Ozzy's Super Mario
Quiz
•
2nd - 4th Grade
17 questions
A2 Computing SQL
Quiz
•
8th Grade
15 questions
Физика и информатика
Quiz
•
8th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
