Game Lab Basics and Programming Concepts

Game Lab Basics and Programming Concepts

Assessment

Flashcard

Created by

DOUGLAS OLIVER

Computers

8th Grade

Hard

Student preview

quiz-placeholder

20 questions

Show all answers

1.

FLASHCARD

Front

What does the 'rect' block do in Game Lab?

Back

The 'rect' block plots a square at the given x and y coordinates, indicating where the top left corner of the square goes in the display area.

2.

FLASHCARD

Front

What does the 'ellipse' block do in Game Lab?

Back

The 'ellipse' block plots a circle at the given x and y coordinates, indicating where the center of the circle goes in the display area.

3.

FLASHCARD

Front

What is the purpose of the 'fill' block in Game Lab?

Back

The 'fill' block changes the color used by Game Lab to a specified color. All new shapes drawn will be filled with this color until a new 'fill' block is used.

4.

FLASHCARD

Front

How are coordinates used in Game Lab?

Back

Coordinates in Game Lab use x and y values. The x-coordinate indicates distance from the left side, and the y-coordinate indicates distance from the top of the display area.

5.

FLASHCARD

Front

What is a variable in programming?

Back

A variable stores a single value in the computer's memory with a descriptive name, allowing easy reference to the value in a program.

6.

FLASHCARD

Front

How do you create a variable in programming?

Back

Use the 'var' command to create a new variable with a given label.

7.

FLASHCARD

Front

What is the assignment operator in programming?

Back

The assignment operator '=' assigns a new value to a variable, with the variable on the left side of the operator.

8.

FLASHCARD

Front

What is the purpose of initializing a variable?

Back

Initializing a variable gives it its first value, combining 'var' and '=' in a single command.

9.

FLASHCARD

Front

What is a sprite in Game Lab?

Back

A sprite is an object created using the 'createSprite()' block, which can be assigned animations and properties.

10.

FLASHCARD

Front

How do you draw sprites on the screen in Game Lab?

Back

Use the 'drawSprites()' block to draw all created sprites onto the screen.

Explore all questions with a free account

or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?