
Drawing Shapes with Code
Interactive Video
•
Computers, Design, Arts
•
5th - 8th Grade
•
Practice Problem
•
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
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
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade