JavaScript 101 Review

Quiz
•
Computers
•
12th Grade
•
Medium
Ms. Hickey
Used 3+ times
FREE Resource
19 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A sprite is a character on the screen with _________that describe its __________, ____________, and __________.
variables, location, movement, look
properties, size, movement, look
properties, location, movement, look
characteristics, location, movement, look
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In programming, a parameter is additional ____________ provided as input to a block to customize its functionality.
variables
conditionals
Booleans
information
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a game you're programming, you have a character sprite that needs to perform different actions depending on whether a player has collected enough points. You want the sprite to jump when the points exceed a certain value. You plan to use a condition to check the points and trigger the sprite's jump.
Which option would help you set up the action for the sprite when the condition is met?
Create a property to track whether the sprite has jumped already.
Use a parameter to change the sprite's jump height.
Use a Boolean expression to check if the player's points are greater than a certain number.
Create a new variable to store the sprite's location.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will this line of code do?
Draw a yellow circle with blue outline in the middle of the screen.
Draw a yellow square with blue outline in the middle of the screen.
Draw a blue circle with yellow outline in the middle of the screen.
Draw a blue circle with blue outline in the middle of the screen.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You are working on a game where the player’s score is stored and updated each time they earn points. The score is displayed on the screen, and every time the player completes a task, the score increases. To make the score trackable, you define a variable to hold this value.
Which of the following best describes the purpose of the variable in this program?
The variable is used to track the sprite's health, but it is not relevant to the score.
The variable stores the player's score so that it can be updated and displayed correctly throughout the game.
The variable is used to define the player's location on the screen.
The variable determines the speed of the sprite's movement in the game.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The randomNumber() block allows programs to behave...
differently each time they are run, creating unpredictable characters.
the same each time they are run, creating unpredictable behaviors.
differently each time they are run, creating unpredictable behaviors.
differently each time they are run, creating predictable behaviors.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In programming, a variable is...
A label for a piece of information used in a program.
A label for a sprite property used in a program.
An algorithm used in a program.
A label for a piece of information used in a flowchart.
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Unit 1 Vocabulary- Digital Information

Quiz
•
9th - 12th Grade
14 questions
Computing Revision JCG

Quiz
•
KG - University
19 questions
Coding Terms Review

Quiz
•
6th Grade - University
20 questions
Game Lab Basics

Quiz
•
9th - 12th Grade
20 questions
Creative Coding Review

Quiz
•
8th - 12th Grade
20 questions
Vocabulary

Quiz
•
9th - 12th Grade
14 questions
CSD U3L1-U3L11 Review

Quiz
•
9th Grade - University
20 questions
Introduction to Desktop Computer Systems

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade