JavaScript 101 Review

JavaScript 101 Review

12th Grade

19 Qs

quiz-placeholder

Similar activities

Tin 12_Trắc nghiệm_Bai2

Tin 12_Trắc nghiệm_Bai2

12th Grade

15 Qs

Database&Relation

Database&Relation

12th Grade

20 Qs

HTML Quiz

HTML Quiz

11th Grade - University

15 Qs

User Interface Design - Topic 1

User Interface Design - Topic 1

12th Grade

15 Qs

3rd week g9 summative

3rd week g9 summative

7th - 12th Grade

15 Qs

TEST1.PY

TEST1.PY

10th Grade - University

20 Qs

Berpikir Komputasional

Berpikir Komputasional

9th - 12th Grade

20 Qs

UH 1 Teknologi wan

UH 1 Teknologi wan

12th Grade

20 Qs

JavaScript 101 Review

JavaScript 101 Review

Assessment

Quiz

Computers

12th Grade

Practice Problem

Medium

Created by

Ms. Hickey

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Media Image

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.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?