Which of the following commands is used to draw a line?
P5.js Test #1 Review

Quiz
•
Computers
•
10th Grade
•
Medium
Mr. Kedwell
Used 13+ times
FREE Resource
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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);
Create a free account and access millions of resources
Similar Resources on Quizizz
46 questions
CompTIA ITFundamentals CRAM

Quiz
•
6th Grade - University
54 questions
Mastery CTG quiz year 9 for Easter Assessment

Quiz
•
10th Grade
50 questions
AP CSP Midterm Exam Review

Quiz
•
9th - 12th Grade
51 questions
EINSTEIN 2ND PERIODICAL TEST

Quiz
•
9th Grade - University
54 questions
Test 2

Quiz
•
9th - 12th Grade
48 questions
STARTER - 1D Array Test

Quiz
•
9th - 12th Grade
50 questions
Mastery Test in Illustrator 4th Quarter

Quiz
•
10th Grade
48 questions
Tin 10_cấu trúc rẽ nhánh IF

Quiz
•
10th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University