Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- CHAPTER 1 ----
- Multiple Choice:
- "When Python evaluates an expression, it follows an order of __________ just like you do when you do math."
- A DEMANDS
- B. OPERATIONS
- C. INGREDIENTS
- CORRECT ANSWER = B
- True or False:
- "The Math Problem 2 + 2 is an exmaple of an Expression"
- CORRECT ANSWER = TRUE
- --- CHAPTER 2 ---
- Multiple Choice:
- "A value between the parentheses in a function call is an _________."
- A ARGUEMENT
- B. FUNCTION
- C. INPUT
- CORRECT ANSWER = A
- True or False:
- "A comment, is an instruction that tells Python to run the code inside a function."
- CORRECT ANSWER = FALSE
- --- CHAPTER 3 ---
- Multiple Choice:
- "While Python includes many built-in functions, some functions are written in separate programs called ______"
- A MODULES
- B. EXPRESSIONS
- C. APPLICATIONS
- CORRECT ANSWER = A
- True or False:
- "A function is like a mini-program inside your program."
- CORRECT ANSWER = TRUE
- --- CHAPTER 4 ---
- Multiple Choice:
- "What is the second optional parameter for the PRINT() Function?"
- A END=
- B. START=
- C. BLANK=
- CORRECT ANSWER = B
- True or False:
- "Escape characters are used for characters that are difficult to type into the code with the keyboard.
- CORRECT ANSWER = TRUE
- --- CHAPTER 5 ---
- Multiple Choice:
- "It often helps to write down everything you want your game or program to do before you start writing code. When you do this, you are _____________."
- A EVALUATING EXPRESSIONS
- B. EXECUTING THE CODE
- C. DESIGNING THE PROGRAM
- CORRECT ANSWER = C
- True or False:
- "If you use FOUR quotes at the start and end of a string, then it can go across several lines"
- CORRECT ANSWER = FALSE
- --- CHAPTER 6 ---
- Multiple Choice:
- "You can set a _______ on a line when you want the debugger to take control once the execution reaches that line."
- A BREAKPOINT
- B. WAYPOINT
- C. STRING
- CORRECT ANSWER = A
- True or False:
- "THERE ARE THREE TYPES OF BUGS THAT CAN HAPPEN IN YUOR PROGRAM; SYNTAX, RUNTIME, AND SEMANTIC ERRORS.
- CORRECT ANSWER = TRUE
- --- CHAPTER 7 ---
- Multiple Choice:
- "Keyborad characters printed on the screen to make a graphic/image is called:"
- A BITMOJI
- B. EMOJI
- C. ASCII ART
- CORRECT ANSWER = C
- True or False:
- "It is much easier to make changes and identify problems by thinking about how the program works after writing the code for it"
- CORRECT ANSWER = FALSE
- --- CHAPTER 8 ---
- Multiple Choice:
- "_______ are variables meant to have values that never change from their first assignment statement"
- A CONSTANTS
- B. NON-CONSTANTS
- C. EXPRESSIONS
- CORRECT ANSWER = A
- True or False:
- "A method is a function attached to a value"
- CORRECT ANSWER = TRUE
- ---CHAPTER 9 ---
- True or False
- "Dictionaries" use curly brackets instead of square brackets.
- CORRECT ANSWER = TRUE
- Multiple Choice:
- The index's in dictionaries are called
- A. VALUES
- B. KEYS
- C. SHORTCUTS
- ---CHAPTER 10----
- True or False:
- Artifical Intelligence is a computer program that can intelligently respond to the player's move.
- CORRECT ANSWER = TRUE
- Multiple Choice
- Tic Tac Toe is an example of a simple AI game because there are not as many possible ___________ available.
- A: SPACES
- B: MOVES
- C: GAMES
- ---CHAPTER 11---
- TRUE OR FALSE
- String interpolation also known as string formatting is a coding shortcut.
- A: TRUE
- B: FALSE
- CORRECT ANSWER = TRUE
- Multiple Choice
- Augmented Assignment operators are :
- A: Functions that contain a string
- B: Shortcuts that free you from having to retype the variable name
- C: Methods to arrange lists
- CORRECT ANSWER B:
- ---CHAPTER 12---
- Cartesian coordinate systms are needed to describe where a certain position is located in a two dimensional area.
- A: True
- B: False
- CORRECT ANSWER A:
- Multiple Choice
- The Random.shuffle function is used for
- A: Changing the order of a list's items
- B: Giving the player multiple clues
- C: Determining the ending of the game
- ---CHAPTER 13---
- Data structures are list values that contain other lists and other complex variables.
- A: TRUE
- B: FALSE
- Correct answer A
- To find the distance between two sets of coordinates use
- A: integers
- B: negative numbers
- C: The Pythagorean theorem
- Correct answer = C
- ---Chapter 14---
- Caeser Cipher encrypts each letter with a shifted letter
- A; True
- B: False
- Correct answer= A
- The science of writing secret code is called
- A; Cryptography
- B: Encryption
- C: Ciphertext
- Correct Answer = A
- ---Chapter 15---
- The whoGoesFirst() functon randomly selects the starting player
- A: True
- B: False
- Correct Answer = A
- Boolean function is written as
- A: int()
- B: bool()
- C: str ()
- Correct answer=B
- ---Chapter 16---
- You can determine a best strategy by running different simulations.
- A: True
- B: False
- Programming can be utilized to determine which_______________ works best in a computer vs computer game.
- A: statistics
- B: game strategy
- C: simulation
- ---Chapter 17---
- Pygame programs can have shapes and colors in addition to text
- A: True
- B: False
- Correct answer = A
- Pygame module helps developers create games with
- A: Graphics and Music
- B: text
- C: different features
- Correct answer =A
- ---Chapter 18---
- In an animation program the program constantly updates the data structures without waiting for player input.
- A: True
- B: False
- Correct answer is A
- The game loop handles animating
- A: pictures
- B: moving boxes
- C: pixels
- Correct answer is B
- ---Chapter 19---
- Detecting collisions is so common in graphical games that pygame provides its own collision detection method named colliderect ()
- A: True
- B: False
- Correct answer = A
- The Pygame module can generate events in response to user input from
- A: Mouse
- B: Keyboard
- C: Both A and B
- Correct answer C
- ---Chapter 20---
- A sprite is a two dimensional image ised as part of the graphics on a screen.
- A: True
- B: False
- Correct answer is A
- The M key
- A: Turns music on or off
- B: adds a sound file
- C: turns on the mixer module
- Correct answer is A
- ---Chapter 21---
- Pygame.surface is one of the basic pygame data types.
- A: True
- B: False
- Correct answer is A
- Cheat codes can be implemented by
- A: holding down the x and z key
- B: Typing in special code
- C: adding baddies to the game
- Correct answer is A
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement