INTRODUCTION TO PROGRAMMING
WITH KAREL THE DOG EXAM 2025/2026
QUESTIONS AND ANSWERS 100% PASS
Who/What is Karel? - ANS Karel is a dog who listens to your commands
What do you do with Karel? - ANS You move Karel around the world and put down tennis
balls
Karel Commands - ANS move();
turnLeft();
putBall();
takeBall();
Commands have - ANS No spaces
Exact capitalization
(); at end
Rows in Karel's world are called - ANS Streets
Columns in karel's world are called - ANS Avenues
1 @COPYRIGHT 2025/2026 ALLRIGHTS RESERVED
, If Karel is facing North and the code
turnLeft();
turnLeft();
runs; which direction is Karel facing now? - ANS South
If Karel starts at Street 1 and Avenue 3 facing East, what street (row) and avenue (column) will
Karel be on after this code runs?
move();
move();
move();
turnLeft();
move(); - ANS Street 2 and Avenue 6
What is a function? - ANS A function is a way to teach Karel a new word
Writing turnRight - ANS functiuon turnRight(){
turnLeft();
turnLeft();
turnLeft();
}
Why use functions? - ANS Functions allow us to break down our program into smaller parts,
and make the program easier to understand
2 @COPYRIGHT 2025/2026 ALLRIGHTS RESERVED
WITH KAREL THE DOG EXAM 2025/2026
QUESTIONS AND ANSWERS 100% PASS
Who/What is Karel? - ANS Karel is a dog who listens to your commands
What do you do with Karel? - ANS You move Karel around the world and put down tennis
balls
Karel Commands - ANS move();
turnLeft();
putBall();
takeBall();
Commands have - ANS No spaces
Exact capitalization
(); at end
Rows in Karel's world are called - ANS Streets
Columns in karel's world are called - ANS Avenues
1 @COPYRIGHT 2025/2026 ALLRIGHTS RESERVED
, If Karel is facing North and the code
turnLeft();
turnLeft();
runs; which direction is Karel facing now? - ANS South
If Karel starts at Street 1 and Avenue 3 facing East, what street (row) and avenue (column) will
Karel be on after this code runs?
move();
move();
move();
turnLeft();
move(); - ANS Street 2 and Avenue 6
What is a function? - ANS A function is a way to teach Karel a new word
Writing turnRight - ANS functiuon turnRight(){
turnLeft();
turnLeft();
turnLeft();
}
Why use functions? - ANS Functions allow us to break down our program into smaller parts,
and make the program easier to understand
2 @COPYRIGHT 2025/2026 ALLRIGHTS RESERVED