
Quiz on Shapes and Functions
Authored by Melissa Fulmore
Instructional Technology
12th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which shape is green at the bottom? [1 point]
Rect(100, 100, 25, 25, fill=None)
Rect(100, 100, 25, 25, fill=gradient('green', 'black'))
Rect(100, 100, 25, 25, fill=gradient('green', 'black', start='top'))
Rect(100, 100, 25, 25, fill=gradient('black', 'green'))
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a parameter of the function drawPrettyStar? [1 point]
numberOfPoints
radius
color
Fill
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
According to the code below, which of the following is drawn when the mouse is moved and not pressed on the bottom half of the canvas?
Both blue pentagons of radius 35 and green rectangles
Nothing
Green rectangles
Blue pentagons of radius 35
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following results in a call to onKeyRelease? [1 point]
Pressing the 's' key.
Releasing the 's' key.
Calling onKeyPress('s') in a test case.
None of the above.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What function will be called according to the code below if x = 7 and y = 8?
f
g
h
None of the above.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a group method? [1 point]
add
clear
hitsGroup
toFront
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function might return a negative number? [1 point]
angleTo
abs
distance
None of these
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?