NEW
Font size
WorksheetsAnimations and Games L.3-5
Total questions: 19
Worksheet time: 14mins
How are shapes plotted on the screen?
with alphabet letters
with X and Y coordinates
using a touch screen
with width and height values
The screen is set up like a grid, and every point on the screen has a corresponding...
picture
shape
Y and Z value
X and Y value
What is the definition of the origin?
An original component
Where x and y equal 100
Where the x and y values equal zero
The end of a story
The x value represents...
How far away from the left of the screen
How far away from the right of the screen
How far away from the top of the screen
How far away from the bottom of the screen
The y value represents...
How far away from the right of the screen
How far away from the left of the screen
How far away from the bottom of the screen
How far away from the top of the screen
What is the origin of a square or rectangle?
The bottom right corner
The bottom left corner
The top right corner
The top left corner
What is the origin of a circle or ellipse?
The bottom left corner
The center
The bottom right corner
The top
In this line of code:
rect(250, 100);
which number is the y value?
rect
250
100
What will this line of code make?
rect(100, 100, 50, 50)
a rectangle
a square
a circle
a star
In this line of code: rect(250, 250, 100, 50); what do 100 and 50 represent?
The x and y values
The w and h values
Given rect(x, y, w, h); what are w and h?
width and heavy
width and tallness
width and length
width and height
What will this line of code make?
rect(100, 100, 50, 200)
a rectangle
a square
a triangle
a circle
The line of code: background("red"); will change what red?
Any shapes on the screen
The background
The foreground
Nothing
What line of code will change the color of any shapes coded below it?
color
rect
weight
fill
What does the randomNumber line of code do?
picks the same number every time
picks any number from zero to infinity
picks any number from the minimum and maximum that you set
it doesn't do anything
randomNumber(0 ,400)
this will randomly pick a number...
between 0 and 400, not including 0 or 400
between 0 and 400, including 0 and 400
Can you use the randomNumber line of code to replace a single value, such as a y value?
Yes!
No!
A variable is a way to...
label a number
save a name
generate a random number
This line of code does what?
var hello = 100
creates a variable
names or labels the variable "hello"
sets the value of the variable hello to 100
All three are correct
