
Drawing Shapes with Code

Interactive Video
•
Computers, Design, Arts
•
5th - 8th Grade
•
Hard

Ethan Morris
FREE Resource
Read more
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the third parameter in the 'ellipse' function used for?
Width
Y-coordinate
Height
X-coordinate
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the 'rect' function, what do the first two parameters represent?
Center of the rectangle
Start and end points
Width and height
Upper left corner of the rectangle
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why might a rectangle appear in a different position than an ellipse with the same parameters?
The parameters are interpreted differently
The rectangle is larger
The ellipse is smaller
The rectangle is drawn last
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a good practice to get the right numbers for drawing shapes?
Use only even numbers
Guess and check
Draw on graph paper first
Use random numbers
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of adding comments in code?
To change the appearance of shapes
To make the code run in a specific order
To help humans understand the code
To execute the code faster
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What do the last two parameters in the 'line' function specify?
Color and thickness
X and Y coordinates
Width and height
Start and end points
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you ensure a line is drawn straight across?
Use the same y-coordinate for start and end
Use different start and end points
Use the same x-coordinate for start and end
Make the line width zero
Create a free account and access millions of resources
Similar Resources on Wayground
11 questions
Rotation of Shapes and Points

Interactive video
•
6th - 7th Grade
2 questions
How to YELL Without Using Your Voice | Using ASL

Interactive video
•
6th - 8th Grade
11 questions
Understanding Symmetry in Mathematics

Interactive video
•
6th - 8th Grade
11 questions
Art and Programming Concepts in p5.js

Interactive video
•
6th - 10th Grade
9 questions
Kepler's First Law and the Shape of Planetary Orbits

Interactive video
•
6th - 8th Grade
11 questions
Understanding Geometric Shapes

Interactive video
•
5th - 8th Grade
11 questions
Game Lab Coding Concepts

Interactive video
•
6th - 10th Grade
11 questions
Exploring Cross Sections of 3D Objects

Interactive video
•
6th - 8th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
Discover more resources for Computers
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
13 questions
Primary and Secondary Sources

Quiz
•
6th Grade
15 questions
Decimal Operations

Quiz
•
6th Grade
10 questions
Common Denominators

Quiz
•
5th Grade