ICT Gaming Essentials Review Questions
Logic error
Michelle works as a contractor for Gamer Geniuses, Inc., a company that creates educational games for children ages 3-10 years old. She has just completed coding the multiplication level of the game and sent it to her manager for review. Her manager, Robert, tests the game and finds that when he inputs the correct answer for the math problem: 2 x 3 an error pops up as the timer counts down until the player loses. Robert looks at the programming scripts Michelle wrote and finds an error in the code below. When spacebar is pressed Say "what is 2 x 3?" If answer = 6, Then say "awww, the answer is wrong?" Wait 2 seconds Repeat, Say "Try again" Until answer = 6 If timer = 0, Then broadcast "you lose!" What type of programming error is this multiplication problem?
Initializing
Jeanette is creating a game about winning a lottery. She will create variables that track dollars and cents in decimal form. Jeanette is assigning a beginning value to each variable in her program. This is known as:
The parameter that stores the time remaining argument must also be accessed by a method controlling the speed of the monsters attacking the player.
You have been brought into a game design meeting. You begin discussion on a piece of data, the time remaining in the game. The team wants the speed of the monsters to increase as the time remaining decreases. What do you recommend?
Brainstorming
You have been hired by a game development group. You gather in a room to create related spontaneous ideas and solutions for a new central character of a game. The ideas are then carefully reviewed for application to the game development. Your group is involved in what step of the design process?
Feedback
You have developed a prototype for your game, and you have gathered a group of people to test the game. Each member of the group has been asked to create and submit a list of suggestions and issues. Which term describes the suggestions and issues that are given to a design team to help improve or refine a game design?
Review the game's storyboard to see if the sequence of events matches the prototype and how each character or element interact with each other.
Your co-worker has just completed developing the first phase of an action-based game prototype, but needs some feedback on the level of difficulty. You test the product, yet encounter many bugs (inconsistencies) in the game's storyline. What is the best way to help your co-worker solve the problem?
Your development team needs to create and execute revisions to the game that address the suggestions and issues identified by the testing team.
Your development team has just completed testing the first phase of an action-based game prototype, and has received some feedback on the level of difficulty. Testers stated that the game contained too many enemies and that their character was quickly overwhelmed and defeated. They suggest that the number of enemies be reduced. What is the next step that your development team should take?
Floating point
Jeanette is creating a game about a winning a lottery. She will create variables that track dollars and cents in decimal form. Which variable data type should she use to store this data type?
Instances
Jenna has created a wizard class. She has used the class to build two wizard objects in her game. Which programming term describes the objects that Jenna built using the wizard class?
Prototype
Your team has developed the first draft of a game program. You plan to demonstrate how the game functions to the customer next week. Which term describes the game draft that your team created for demonstration?
Create and execute the solution
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?
Chance
A gaming company has been testing its new slot machine game and analyzing the feedback. One comment states that it is too easy to hit the jackpot. The tester suggests that the game programmers reduce the likelihood of a turn resulting in a large payout. What type of game are the game designers and development team testing?
An event-handler
A programmer needs to instruct an object in her program to move up when the up-arrow key is pressed. Which of the following must the programmer write to accomplish this?
Role-playing
A start-up gaming company has been brainstorming for several weeks about what new game should be developed and introduced into the market. After several deliberations the team finally comes to an agreement of building a game where users are astronauts who compete on a mission to find life on Mars. It is crucial to complete the mission before life on Earth ceases. What type of game are the game designers and development team building?
Parentheses
According to the mathematical order of precedence used in programming, which portion of an expression should be evaluated first?
She is writing an algorithm for computers to follow a series of step-by-step instructions to solve equations.
Alexandra wants to create a math game in which users have to correctly answer mathematical problems. She wants the game to solve a randomly created problem and then indicate if the player's answers are correct or incorrect. How is Alexandra getting the program to solve mathematical problems?
Multiply length by width.
Allison has been asked to create an algorithm that can be used to calculate the area of a rectangle. Review the following algorithm: Step 1: Measure the length of the rectangle and store result as length. Step 2: Measure the width of the rectangle and store result as width. Step 3: Step 4: Display area of the rectangle. Which task would Allison's algorithm need to perform in Step 3?
A function
Ashlyn is programming a game about a kangaroo. She wants the character to bounce as it moves forward. She has written a code segment that causes the character in her game to move up 2 steps, forward 2 steps and back down 2 steps. She realizes that she will need to use the code segment many times in her program as her character moves. She decides to name the code segment 'moveForward' so she can reuse it by entering its name only. What programming component has Ashlyn created?
Multiply the parenthesis first (2x *3), then solve the multiplications 10 * 5, lastly solve the addition
Carlos creates new code in his math game. It is used to explain to the player how to move to the next level by solving a math problem. Say, "Solve the math problem in 10 seconds to move on to the next level x=4 10 * 5 + (2x *3) - 25 = ____ " How would the player solve the algorithm using the order of precedence, so that they can move to the next level?
6.5: Else If the player token lands on "lose a turn" then player skips next turn
Chris has created the following pseudo-code 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 "spin 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"?
An algorithm
Consider the following example: 1 Set student to 0 2 For each student in class, add one to student 3 Continue until all students in class are counted 4 Display student Which term describes this example?
Selection
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 graphical art design application
Ella learned how to design and build computer games from her programming foundations class in college and wants to tackle creating her first computer game. She is comparing the capabilities of Pixlr, Pixelmator, and Gimp. What type of application is Ella trying to choose to help create her game?
Logical (Boolean) operators
Felix is a game design student deciphering code. He is trying to figure out the meaning of the &&, ||, and ! symbols. There is a table of various operators in the coursework. Which operator would display the meaning of theses symbols?
Experience in writing programming code in a variety of languages
Fusion Games Company needs to hire more game developers (programmers) to work on their newest, largest game in development. Which of the following is the most important qualification should they look for in potential applicants for the open jobs?
A computer hardware, game engine software, graphical art design application, and programming code.
Harry learned how to design and build computer games from his programming foundations class in college and wants to tackle creating his first mobile app game. What essential tools does Harry need if he already has the skills?
solve the problem manually.
In order to write a successful algorithm, you must first be able to:
Social networking
Jacob wants to introduce a new game to Andres where they can challenge each other's skills and add other players to compete. This game, called "Words with Friends", can also be played via social media and its objective is to see who is the smartest and fastest at creating words out of random letters. What role does this game have in today's society?
Skill
Jason is playing a game in which players must maneuver around changing barriers and moving objects inside a maze. This is an example of which type of game?
String variable
Leah is coding her first mobile app social networking game to engage friends in having more than just a conversation via Snapchat, Facebook, and Instagram. Her goal is to have friends compete against each other intellectually via a trivia game. As Leah develops her game, she realizes she needs to declare a variable for the questions the game randomly displays for the player to answer. Say "do you want to play against your friends today?" If answer = yes, Then say "alright, let's begin" Wait 2 seconds Say questions, until spacebar is pressed What type of variables do you see in Leah's social networking trivia game above?
Analyze existing games by deconstructing them.
Marissa would like to learn more about game design. Her teacher explains that the first step is to learn how the audience, elements and characters in a game work together. What is the best method for completing this first step?
Task Training
Matteo is the human resources manager at a major printing firm. He wants to use gaming to teach new employees printing skills. This is an example of using games as a form of:
Properties
Paige is creating a game with an underwater scene. She has created a class for fish objects. She wants to add several fish in a variety of sizes, colors and shapes. These sizes, colors and shapes are known by what programming term?
Iteration and selection
Patricia completed the animation for her game character and is looking to program an efficient algorithm for the character's movement and interaction with another element. Consider the code below: Repeat move forward 5 steps If not touching Sprite 2, then Move 5 steps Else, say "You Loose" for 3 seconds Which programming structure is displayed in Patricia's game?
Team A and B must have the same properties, but can have different values
Roxanne wants to design a multiplayer paintball game, where the objective is to capture the flag before getting hit by the opposite team's paintball color. Both teams must have the same gear, but different color paintballs to represent each team's winning. What's wrong with Roxanne's objects? Table A: Paint Ball Color: Green Helmet: Full face cover Kneepads: yes Uniform: camoflauge Table B: Paint Ball Color: Blue Helmet: Full face cover Arm pads: yes Uniform: camoflauge
Methods
Stefan has created a zombie class for his game. He would like the zombie objects to be able to speak, run, appear and disappear. Which programming term describes the actions that Stefan wants his zombie objects to be able to perform?
Objects created using the same class must have the same properties.
Study the description of chairs below. These chairs represent objects or instances created using the Chair class definition. Chair A Color: black/brown Material: Wood Type: Dining Room Back: Yes Chair B Color: black Material: Plastic Type: Patio Size: Large There is an error in the Chair class definition. Which statement correctly explains the error?
Storyboard
Study the example. Which term describes this game design element?
Initializing
Tabitha is assigning initial values to each variable in her program. Which term describes the process of assigning an initial value to a variable?
syntax
The marvelous attribute about the gaming industry is that you can create a game in several different programming languages to make it more appealing to novice and advanced-level coders. Yet, the unique distinction is that every single programming language has its own ____________?
An event handler
Thomas is creating a game that stops the timer when the stopwatch is clicked with the mouse. This allows the player time to strategize, but freezes play. What must Thomas use to tell the program what to do when the stopwatch is clicked?
The parameter is speed, the argument is 5 or 2
Two gamers are programming each player in a football team to throw a football across the stadium at a specific speed to arrive at the running back's hand. Which is the parameter and which is the argument in the code below? If number = 5 Then change speed by 5 If number = 2 Then change speed by 2
Brainstorm ideas.
What is the first step in the game design process?
Game designer
Which member of the game design team writes the dialog for the characters, and develops the animation and scenarios that occur during game play?
Programmer
Which member of the game design team writes the step-by-step computer instructions, or code, required to create games?
Variable
Which of the following is used to store data in the computer's memory that can be used by a program later when executing instructions?
Variables
Which programming element is used by a game program to track and display score information?
An argument
Which programming term describes the value that is passed to a method when called so that the method knows what to do?
A repetition of a process
Which statement correctly defines "iteration"?
Methods are functions used within an object class.
Which statement regarding methods is true?
Constraints
You and your design team plan on creating the next "Game of the Year". However, your massive plan may be limited by the amount of money it will take to develop the game, the abilities the artists and programmers to create the desired actions, the tools available to you, and the amount of time allowed. This is known as:
Criteria
You and your design team plan on creating the next "Game of the Year". Your plan includes things like the maximum number of players, how long the game takes to play, the kind of actions the characters can take, and what is required to win the game. These are known as:
Several people with various levels of gaming experience and no familiarity with your game
You and your game design team have developed the first working version of your game, and now you are ready to test it. You get into a discussion with the rest of the team about the testing process. There are many different opinions. You must decide which is the best group of testers you can use to test your game?
Outlining and correcting in pseudocode allows Zachary to focus on the logic of the algorithm and make the necessary changes needed before physically coding it.
Zachary and his team have outlined the basic pseudocode and flowchart of the introductory scene, but there seems to be a bug in the algorithm. Why should Zachary even bother with fixing the pseudocode when he can simply fix the bug in the game?
Algorithm
Consider the following example: Problem: Cassidy has 15 tokens. Sierra has 10 tokens. Cassidy gives Sierra 2 tokens. How many more tokens does Cassidy have than Sierra? Solution: Cassidy's tokens: 15 Subtract 2 tokens from Cassidy's total tokens: 15- 2 = 13 Sierra's tokens: 10 Add 2 tokens to Sierra's tokens: 10 + 2 = 12 Subtract Cassidy's total tokens from Sierra's total tokens: 13 - 12 =1 Answer: Cassidy has one more token than Sierra.
Sequential and looping
Consider the following instructions: Move Forward Repeat Move Forward 10 times Which two types of programming structures are included in this example?
left 10 degrees
Consider the following pseudo-code: When spacebar is pressed, turn left 10 degrees Which part of this code segment represents the argument?
An event for each key
Natalie is creating a game. The object of the game is for the player to get a cat to his toy in 10 moves or less. The game begins with the cat positioned at the top-left corner of the screen and the toy at the bottom-right corner of the screen. Natalie wants the player to be able to make the cat go 50 steps in one move by pressing an arrow key, and go 100 steps in one move by pressing the space bar. The number of remaining moves is decreased by one each time the player presses a key. The game will count down from 10 moves and display the number of moves remaining. If the move count reaches zero or the cat reaches his toy, then the game will start over. Which programming component is needed to tell the program it must do something when a specific key is pressed?
X and Y coordinates
Tanner is creating an animated sprite. He wants to find the sprites current position on a stage. Which coordinate(s) will indicate the sprite's position?
Apple
You are designing a game to be played on iPods, iPads and iPhones. Which computer platform is the best to use when creating this game?
Flow chart
Which term describes a graphical diagram of the steps or decision process contained in an algorithm?
Boolean operators
Which type of operators includes the && (AND), || (OR) and ! (NOT) symbols?
Identify and understand the problem.
While testing your game, you discover that the game is not keeping score correctly. What is the first step necessary to correct the score-keeping problem?