wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Gaming Lesson 2

Total questions: 15

Worksheet time: 9mins

Name
Class
Date
1.
Which type of error will still allow the program to run, but will not perform the task intended?
a)
Syntax
b)
Runtime
c)
Pseudocode
d)
Logic
2.
Which term describes a set of step-by-step instructions that must be executed in order to solve a problem or perform a task?
a)
Storyboard
b)
Animation
c)
Algorithm
d)
Function
3.
A programmer is:
a)
a person who fixes computers.
b)
a person who creates computer games.
c)
a series of instructions in computer code.
d)
a series of instructions in a computer game.
4.
Which of the following correctly describes sequential program processing?
a)
The repeated execution of forever blocks
b)
The processing of blocks, in random order
c)
The processing of blocks, starting at the beginning of a script and continuing to the end
d)
The processing of blocks, starting at the end of a script and continuing to the beginning
5.
When using Scratch, blocks are executed one after the other. What type of programming structure is this?
a)
Algorithm
b)
Repetition
c)
Selection
d)
Sequence
6.
Which of the following is an example of a selection structure?
a)
Do/While
b)
While
c)
For
d)
If/else
7.
Consider the following instructions for a game element:
Move Forward
If not at end, move forward
Else stop
This is an example of which type of programming structure?
a)
Object
b)
Iteration
c)
Sequence
d)
Selection
8.
In order to write a successful algorithm, you must first be able to:
a)
code a sequential structure.
b)
create a plan to execute a solution.
c)
use logic to plan a solution.
d)
solve the problem manually
9.
Which member of the game design team writes the step-by-step computer instructions, or code, required to create games?
a)
IT specialist
b)
Sound engineer
c)
Game designer
d)
Programmer
10.
Patricia completed the animation for her game character and is looking to program an efficient algorithm for the character's movement and interation with another element.  Consider the code below:
Repeat move forward 5 steps
If not touching Sprite 2, then
Move 5 steps
Else, say "You Lose" for 3 seconds
Which programming structure is displayed in Patricia's game?
a)
Iteration and selection
b)
Sequential and selection
c)
Selection only
d)
Iteration and sequential
11.
Andres loves video games and wants a career as a game designer. He does not know where to begin. He asks advice from an uncle who works in the game industry. His uncle recommends a series of steps to evaluate each possible path (formal education, internships, self-study) and then decide which is the best fit. Andres follows his uncle's evaluation steps (price, time, effectiveness, etc). Upon completion, Andres feels comfortable deciding what the best path for him to realize his dream. What did Andres' uncle recommend to solve the problem?
a)
He used an algorithm to help Andres find a solution.
b)
He recommended brainstorming as effective problem solving.
c)
He advised Andres to use available hardware and software.
d)
He suggested a flowchart to assist in decision making.
12.
Consider the following instructions for a game element:
Move Forward
Repeat Move Forward
10 times
This is an example of which type of programming structure?
a)
Object
b)
Iteration
c)
Looping
d)
Selection
13.
Your testing group has given you a list of suggestions and issues to help refine your game prototype. Your team has identified the issues and brainstormed solution ideas. Which step in the design process should your team complete next?
a)
Continue brainstorming solutions
b)
Ask the testing group to review your solution ideas
c)
Test and refine the solution
d)
Create and execute the solution
14.
Chris has created the following pseudocode to model the program flow for a virtual multiplayer board game.
1. Begin player turn.
2. Spin 6 number randomizer.
3. Move player token the number of spaces on the path shown on the randomizer.
4. If the player token lands on "return to beginning" then move player token to beginning.
5. Else if the player token lands on "sping again" then begin player's turn again.
6. Else Display message on path.
7. End player's turn.
What line of pseudocode should be added if the path included a space for "lose a turn"?
a)
6.5: Else If the player token lands on "lose a turn"then player skips next turn
b)
8: If the player token lands on "lose a turn"then player skips next turn
c)
6.5: If the player token lands on "lose a turn"then player skips next turn
d)
2.5: Else If the player token lands on "lose a turn"then player skips next turn
15.
Consider the following instructions:
Move Forward
Repeat Move Forward
10 times
a)
Sequential and object-oriented
b)
Object-oriented and looping
c)
Looping and selection
d)
Sequential and looping