
Unit 3: Lessons 1 - 6: Review
Flashcard
•
Computers
•
6th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

15 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is the main purpose of programming in interactive animations and games?
Back
To make animations and games interactive
2.
FLASHCARD QUESTION
Front
In Game Lab, which function is used to draw a circle? Options: drawRectangle(), drawCircle(), ellipse(), drawLine()
Back
ellipse()
3.
FLASHCARD QUESTION
Front
What is a variable in programming?
Back
A storage location with a name.
4.
FLASHCARD QUESTION
Front
Which of the following is a correct way to declare a variable in JavaScript? Options: var myVariable = 10;, declare myVariable = 10;, set myVariable = 10;, myVariable: 10;
Back
var myVariable = 10;
5.
FLASHCARD QUESTION
Front
What does the function randomNumber(1, 10) do in Game Lab?
Back
Generates a random number between 1 and 10, inclusive
6.
FLASHCARD QUESTION
Front
Which shape is created by the function rect(x, y, width, height) in Game Lab?
Back
Rectangle
7.
FLASHCARD QUESTION
Front
What is the purpose of using parameters in functions?
Back
To customize the behavior of functions
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?