P5.js Drawing Commands
Quiz
•
Computers
•
10th Grade
•
Practice Problem
•
Medium
Mr. Kedwell
Used 2+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following commands is used to draw a line?
line(x1, y1, x2, y2);
draw the line(x1, y1, x2, y2);
line(x1, y1);
linear(x1, y1, x2, y2);
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following commands is used to draw a rectangle?
rect(x, y, width, height);
rectangle(x, y, width, height);
rect(x1, y1, x2, y2);
rectangle(x1, y1, x2, y2);
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following commands is used to change the colour to draw with?
stroke(0, 100, 0);
changeTheColor();
stroke(x1, y1);
textColor(1, 2, 2);
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following commands is used to change the colour the program fills in solid shapes?
fill(0, 255, 255);
changeBackground();
solid(255, 0, 255);
Color(30, 2, 2);
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following commands is used to draw a square?
square(x, y, width, height);
square(x, y, length);
square(x1, y1, x2, y2, x3, y3, x4, y4);
drawSquare(x1, y1, width);
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following commands is used to draw a circle?
circle(x, y, radius);
circle(x, y, diameter);
circle(x, y);
drawOval(x, y, diameter);
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following commands is used to draw an oval?
ellipse(x, y, width, height);
ellipse(x, y, diameter);
ellipse(x, y);
ellipse(x, y, width, height, depth);
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 Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Computers 101
Quiz
•
KG - 12th Grade
10 questions
SCRATCH_5
Quiz
•
8th - 12th Grade
10 questions
tik tok
Quiz
•
6th Grade - University
20 questions
Bài 11: KIỂU MẢNG MỘT CHỀU
Quiz
•
1st - 10th Grade
10 questions
Expo 2020 Dubai
Quiz
•
5th - 10th Grade
17 questions
Web Design with HTML: CSS Styling
Quiz
•
6th - 10th Grade
16 questions
Windows 11
Quiz
•
4th Grade - University
20 questions
Himpunan dan konversi bilangan
Quiz
•
8th Grade - University
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
