Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

2022 Game & Sim MidTerm

Total questions: 25

Worksheet time: 38mins

Name
Class
Date
1.

What is block programming?

a)

an easy way to learn, kind of like using puzzle pieces

b)

 a text-based language using letters, numbers, and symbols. It’s one of the most popular programming languages in the world

c)

Where you work with different coding blocks

d)

Where you find different types of code blocks

2.

What is JavaScript?

a)

an easy way to learn, kind of like using puzzle pieces

b)

 a text-based language using letters, numbers, and symbols. It’s one of the most popular programming languages in the world

c)

Where you work with different coding blocks

d)

Where you find different types of code blocks

3.

What is Coding Workspace?

a)

an easy way to learn, kind of like using puzzle pieces

b)

 a text-based language using letters, numbers, and symbols. It’s one of the most popular programming languages in the world

c)

Where you work with different coding blocks

d)

Where you find different types of code blocks

4.

What is Tool box?

a)

an easy way to learn, kind of like using puzzle pieces

b)

 a text-based language using letters, numbers, and symbols. It’s one of the most popular programming languages in the world

c)

Where you work with different coding blocks

d)

Where you find different types of code blocks

5.

What is a Tool drawer?

a)

When you select a drawer it opens to show the available coding blocks. Point out that the coding blocks in each drawer are color coded for those types of blocks.

b)

Where you find different types of code blocks.

c)

Where you work with different coding blocks.

6.

What is an event in coding?

a)

Something that happens outside a program (like a screen tap or mouse click) that the program can respond to.

b)

a routine that is used to deal with the event, allowing a programmer to write code that will be executed when the event occurs.

c)

Something where you organize your coding blocks.

d)

Something that is in the coding workspace.

7.

What is an event handler?

a)

Something that happens outside a program (like a screen tap or mouse click) that the program can respond to.

b)

a routine that is used to deal with the event, allowing a programmer to write code that will be executed when the event occurs.

c)

Something where you organize your coding blocks.

d)

Something that is in the coding workspace.

8.

Where do you add a block to an event handler?

a)

Something that happens outside a program (like a screen tap or mouse click) that the program can respond to.

b)

a routine that is used to deal with the event, allowing a programmer to write code that will be executed when the event occurs.

c)

A place where you organize your coding blocks.

d)

Something that is in the coding workspace.

9.

Describe a block-based visual programming language?

a)

Something that happens outside a program (like a screen tap or mouse click) that the program can respond to.

b)

a routine that is used to deal with the event, allowing a programmer to write code that will be executed when the event occurs.

c)

A place where you organize your coding blocks.

d)

Block-based visual programing uses visuals to represent lines of code.

10.

Where do you add a block to an event handler?

a)

Something that happens outside a program (like a screen tap or mouse click) that the program can respond to.

b)

a routine that is used to deal with the event, allowing a programmer to write code that will be executed when the event occurs.

c)

A place where you organize your coding blocks.

d)

Something that is in the coding workspace.

11.

What are the values for X, Y, Z for the world origin in Minecraft?

a)

(100,99,100)

b)

(4,0,3)

c)

(9,1,1)

d)

(0, 0, 0)

12.

Is the world origin an absolute or relative position?

a)

Absolute

b)

Relative

13.

Is (~0, ~0, ~0) an absolute or relative position?

a)

Absolute

b)

Relative

14.

Does the absolute position of an object with a permanent place change?

a)

yes

b)

no

15.

Does the position of an object relative to your position change as you move around the classroom?

a)

yes

b)

no

16.

What type of position is the following?

(X, Y, Z)

a)

Absolute world position

b)

Relative player position

17.

What is Relative position in minecraft?

a)

 The distance from the world origin to an object or entity

b)

The distance from player to an object or entity

18.

What is Absolute position in minecraft?

a)

 The distance from the world origin to an object or entity

b)

The distance from player to an object or entity

19.

What is a number variable?

a)

This holds numeric data. Examples: a person’s age, a player’s score, the year

b)

This holds a string of alphanumeric characters. Examples: a person’s name, a password, the day of the week

c)

This has only two possible values: true or false. Examples: Is it daytime? Is the game over?

d)

This is a special kind of variable that holds three numbers that describe a specific location in three-dimensional space. These numbers are called the X, Y, and Z coordinates.

20.

What is a string variable?

a)

This holds numeric data. Examples: a person’s age, a player’s score, the year

b)

This holds a string of alphanumeric characters. Examples: a person’s name, a password, the day of the week

c)

This has only two possible values: true or false. Examples: Is it daytime? Is the game over?

d)

This is a special kind of variable that holds three numbers that describe a specific location in three-dimensional space. These numbers are called the X, Y, and Z coordinates.

21.

What is a Boolean variable?

a)

This holds numeric data. Examples: a person’s age, a player’s score, the year

b)

This holds a string of alphanumeric characters. Examples: a person’s name, a password, the day of the week

c)

This has only two possible values: true or false. Examples: Is it daytime? Is the game over?

d)

This is a special kind of variable that holds three numbers that describe a specific location in three-dimensional space. These numbers are called the X, Y, and Z coordinates.

22.

What is a position variable in MakeCode?

a)

This holds numeric data. Examples: a person’s age, a player’s score, the year

b)

This holds a string of alphanumeric characters. Examples: a person’s name, a password, the day of the week

c)

This has only two possible values: true or false. Examples: Is it daytime? Is the game over?

d)

This is a special kind of variable that holds three numbers that describe a specific location in three-dimensional space. These numbers are called the X, Y, and Z coordinates.

23.

In coding, conditionals tell a computer to do which of the following?

a)

How to do it

b)

To do it faster

c)

When to do it

d)

Where to do it

24.

What’s a reason you might need to restart your code?

a)

Things aren’t working as they should

b)

An infinite loop

c)

You get the message Cannot issue command, Agent is out of range

d)

All of the above

25.

What’s type of block acts like a conditional but isn’t located in the LOGIC Toolbox drawer?

a)

Nested loop

b)

Infinite Loop

c)

While loop