
P5.js Quiz
Authored by Digital dreams
Computers
6th - 8th Grade
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
28 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What function do we use to create rectangles?
ellipse()
line()
arc()
rect()
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is a function?
A toaster
Lines of code that perform specific tasks
Input
Kale Chip
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In this image, createCanvas and background are examples of _____.
Parameters
Variables
Functions
gloopity gloop
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Numbers inside of the parentheses following the name of the function, which provide information the function needs, are called ________.
Brackets
Ellipses
Variables
Parameters (or Arguments)
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What, if anything, is the difference between function setup () and function draw()?
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the y coordinate of the following rectangle?
rect(70, 120, 150, 180);
70
120
150
180
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following has the correct function, parameters and syntax for drawing a rectangle?
Rect(x,y,width,height);
rect(x,y,width,height);
rect(width, height, x, y)
rect(x1, x2, y1, y2, width, height);
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Microsoft
or continue with
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?