Which of the following commands is used to draw a line?
P5.js Drawing Commands

Quiz
•
Computers
•
10th Grade
•
Medium
Mr. Kedwell
Used 2+ times
FREE Resource
15 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
10 questions
IGCSE ICT Turtle Graphics

Quiz
•
10th Grade
10 questions
Avaliação 1T - JavaScript

Quiz
•
9th - 12th Grade
15 questions
Latihan UPS2

Quiz
•
5th - 12th Grade
13 questions
Word Session Quiz

Quiz
•
7th Grade - University
10 questions
Khan Academy - JavaScript

Quiz
•
9th - 12th Grade
10 questions
Unit 1 Quiz

Quiz
•
10th Grade
12 questions
Toon Boom Storyboard Pro TOP MENU

Quiz
•
9th - 12th Grade
14 questions
p5.js Week1 PREtest

Quiz
•
7th - 12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade