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
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);
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
TestOut CompTIA ITF Databases 20 Questions

Quiz
•
10th - 12th Grade
13 questions
Pensamento computacional p5js

Quiz
•
10th Grade
12 questions
Графічні примітиви в Лазарус

Quiz
•
1st - 12th Grade
12 questions
Функції в Python

Quiz
•
10th Grade
20 questions
Cycle 4 VR Vex Final Review

Quiz
•
7th - 10th Grade
15 questions
Microsoft Word Vocabulary Quiz

Quiz
•
9th - 12th Grade
10 questions
Python Vocab 1 Commands Quiz

Quiz
•
10th Grade - University
20 questions
Computer Technology

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade