

Flashcard on Shapes and Functions
Flashcard
•
Instructional Technology
•
12th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

10 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which shape is green at the bottom? Options: 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'))
Back
Rect(100, 100, 25, 25, fill=gradient('black', 'green'))
2.
FLASHCARD QUESTION
Front
Which of the following is not a parameter of the function drawPrettyStar? numberOfPoints, radius, color, Fill
Back
Fill
3.
FLASHCARD QUESTION
Front
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? Options: Both blue pentagons of radius 35 and green rectangles, Nothing, Green rectangles, Blue pentagons of radius 35
Back
Green rectangles
4.
FLASHCARD QUESTION
Front
Which of the following results in a call to onKeyRelease? Pressing the 's' key. Releasing the 's' key. Calling onKeyPress('s') in a test case. None of the above.
Back
Releasing the 's' key.
5.
FLASHCARD QUESTION
Front
What function will be called according to the code below if x = 7 and y = 8? Options: f, g, h, None of the above.
Back
g
6.
FLASHCARD QUESTION
Front
Which of the following is not a group method?
Options: add, clear, hitsGroup, toFront
Back
hitsGroup
7.
FLASHCARD QUESTION
Front
Which function might return a negative number?
Back
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?