Introduction to Programming with Karel
the Dog Exam 2026 Questions and
Answers
Who/What is Karel? - Correct answer-a dog who listens to your commands
What are some commands Karel knows? - Correct answer-move();
turnLeft();
putBall();
takeBall();
How many spaces are in a command? - Correct answer-none
What does every command end in? - Correct answer-();
What can Karel not do? - Correct answer-turn right
What is a function? - Correct answer-a way to teach Karel a new command
Why do we use functions? - Correct answer--they allow us to break down the
program into smaller parts
©COPYRIGHT 2025, ALL RIGHTS RESERVED 1
, -avoid repeated code
-make code more readable
What is defining a function? - Correct answer-specifying the instructions for a new
action
What is calling a function? - Correct answer-causing the function to actually
happening
Rules for defining a function: - Correct answer--Name should start with letter and
not contain any spaces
-Name should describe what the function does
-Code goes between "{}"
What is top down design and composition? - Correct answer-breaking a big
problem into smaller and smaller problems
What do you do if you want to repeat the same action a set amount of times? -
Correct answer-create a for loop
What is a condition? - Correct answer-a function that returns a true/false answer
What commands does SuperKarel know that regular Karel does not? - Correct
answer-turnAround(); and turnRight();
©COPYRIGHT 2025, ALL RIGHTS RESERVED 2
the Dog Exam 2026 Questions and
Answers
Who/What is Karel? - Correct answer-a dog who listens to your commands
What are some commands Karel knows? - Correct answer-move();
turnLeft();
putBall();
takeBall();
How many spaces are in a command? - Correct answer-none
What does every command end in? - Correct answer-();
What can Karel not do? - Correct answer-turn right
What is a function? - Correct answer-a way to teach Karel a new command
Why do we use functions? - Correct answer--they allow us to break down the
program into smaller parts
©COPYRIGHT 2025, ALL RIGHTS RESERVED 1
, -avoid repeated code
-make code more readable
What is defining a function? - Correct answer-specifying the instructions for a new
action
What is calling a function? - Correct answer-causing the function to actually
happening
Rules for defining a function: - Correct answer--Name should start with letter and
not contain any spaces
-Name should describe what the function does
-Code goes between "{}"
What is top down design and composition? - Correct answer-breaking a big
problem into smaller and smaller problems
What do you do if you want to repeat the same action a set amount of times? -
Correct answer-create a for loop
What is a condition? - Correct answer-a function that returns a true/false answer
What commands does SuperKarel know that regular Karel does not? - Correct
answer-turnAround(); and turnRight();
©COPYRIGHT 2025, ALL RIGHTS RESERVED 2