
Unit 3: JavaScript Programming in AppLab
Authored by Sam Kelso
Computers
9th - 12th Grade
Used 19+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
penUp()
the turtle does not draw a line as it moves.
give a name to a set of actions you want the computer to perform
Explore the 256^3 possible colors you can choose from using the three required numeric parameters. The fourth optional parameter is the opacity of the color, a percentage between 0 and 1. The default pen color is black, penRGB(0,0,0), and the pen is by default in the down (drawing) position.
Moves the turtle forward a given number of pixels in the current direction.
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
turnLeft(angle)
Rotates the turtle left by the specified angle. The turtle’s position remains the same.
Returns a random number in the closed range from min to max.
Moves the turtle forward and to the right in a smooth circular arc.
Relocates the turtle to a specific (x,y) position on the screen.
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
moveForward(pixels)
Moves the turtle forward a given number of pixels in the current direction.
Rotates the turtle left by the specified angle. The turtle’s position remains the same.
give a name to a set of actions you want the computer to perform
the turtle does not draw a line as it moves.
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
penDown()
the turtle draws a line behind it as it moves.
Moves the turtle forward and to the left in a smooth circular arc.
Moves the turtle forward a given number of pixels in the current direction.
Changes the turtle's direction to a specific angle. 0 is up, 90 is right, 180 is down, and 270 is left. The turtle's position remains the same.
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
function myFunction() {}
give a name to a set of actions you want the computer to perform
the turtle does not draw a line as it moves.
Relocates the turtle to a specific (x,y) position on the screen.
Moves the turtle forward and to the left in a smooth circular arc.
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
myFunction()
Calls a user defined function that may or may not take one or more parameters, and optionally generates a return value.
Moves the turtle forward a given number of pixels in the current direction.
Changes the turtle's direction to a specific angle. 0 is up, 90 is right, 180 is down, and 270 is left. The turtle's position remains the same.
Sets the thickness of the line in pixels that the turtle draws behind it as it moves.
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
moveTo(x,y)
Relocates the turtle to a specific (x,y) position on the screen.
Calls a user defined function that may or may not take one or more parameters, and optionally generates a return value.
Moves the turtle forward and to the left in a smooth circular arc.
Returns a random number in the closed range from min to max.
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?