What's Your Function?
Karel Challenges
Control Yourself
Writing Programs
Gaming Careers
100

This process involves teaching the computer a new command and explaining what it should do when that command is called.

What is "defining a function"?

100

This is a high-level, human-readable description of an algorithm, often used to plan out code before writing it in a specific programming language.

What is pseudocode?

100

This control structure repeatedly executes a block of code as long as a specified condition remains true.

What is a "while loop"?

100

This is a message embedded in your code to explain what is happening, making it easier for others (or yourself) to understand later.

What is a "comment"?

100

This person is responsible for creating the visual elements of a video game, including characters, environments, and special effects.

What is a "graphic artist"?

200

This action involves giving the command to the computer, prompting it to run the code associated with a previously defined function.

What is "calling a function"?

200

This design method involves starting with the largest problem and breaking it down into smaller, more manageable pieces to solve.

What is "top down design"?

200

To write a program where Karel puts down 300 tennis balls, you would likely use this control structure to repeat an action a specific number of times.

What is a "for loop"?

200

This refers to the way your code is written, covering aspects that go beyond whether or not it simply works.  

What is "programming style"?

200

This person is responsible for creating and implementing sound and music for a video game.

What is an "audio engineer"?

300

This is the function that is automatically called when you start your program by clicking "run."


What is the "start function"?

300

This is where Karel lives and performs tasks.

What is a "world," "grid" or "Karel World"?

300

These are used to determine how commands are executed and control the order of actions within a program.

What are control structures?

300

This naming convention uses a lowercase first word and capitalizes the first letter of each subsequent word, often used in function names.

What is camel case?

300

This person is responsible for creating the movement and actions of characters, creatures, and objects in a video game.

What is an "animator"?

400

These are assumptions made about what must be true before a function is called, ensuring the function operates correctly.

What is a "precondition"?

400

Programs that are structured in this way have good decomposition and are easy to follow.

What is "reading like a story"?

400

This control structure evaluates a condition and executes one block of code if the condition is true, or another block if the condition is false.

What is the "if/else" statement?

400

This process involves finding and fixing errors or problems in your code to ensure it works correctly.

What is "debugging"?

400

This is the person responsible for creating and implementing the code that runs video games.

What is a "programmer"?

500

This refers to what should be true after a function has been executed, ensuring the function has the desired effect.

What is a "postcondition"?

500

This process involves splitting your code into smaller, more manageable functions to make it easier to understand and maintain.

What is "breaking down" (or decomposing) your code?

500

This control structure evaluates a condition and executes a block of code only if the condition is true.

What is the "if" statement?

500

This refers to the visual structure of your code, using tabs or spaces to organize it into a hierarchy and make it more readable.


What is "indentation"?

500

This person is responsible for creating the concepts and rules that govern a video game, including its mechanics, systems, and overall player experience.

What is a "game designer"?

M
e
n
u