Unit 3: Programming with Karel
(CodeHS) 2025/2026 Exam Questions
and Verified Answers | Already Graded
A+
Command - 🧠 ANSWER ✔✔An instruction you can give to Karel to carry
out.
Walls - 🧠 ANSWER ✔✔Borders that Karel can't pass through. Can be on
the inside and the outside of Karel's world.
Streets - 🧠 ANSWER ✔✔Rows/run horizontally in Karel's world.
Avenues - 🧠 ANSWER ✔✔Columns/run vertically in Karel's world.
turnLeft(); - 🧠 ANSWER ✔✔Command for Karel to turn left.
takeBall(); - 🧠 ANSWER ✔✔Command for Karel to take a ball away.
move(); - 🧠 ANSWER ✔✔Command for Karel to move one spot.
putBall(); - 🧠 ANSWER ✔✔Command for Karel to put a ball down.
Functions - 🧠 ANSWER ✔✔A way to teach Karel a new command.
COPYRIGHT©NINJANERD 2025/2026. YEAR PUBLISHED 2025. COMPANY REGISTRATION NUMBER: 619652435. TERMS OF USE. PRIVACY
1
STATEMENT. ALL RIGHTS RESERVED
, Command Tips - 🧠 ANSWER ✔✔No spaces in commands.
Needs to match exact capitalization.
Every command ends with ();
4 Commands Karel knows. - 🧠 ANSWER ✔✔move();
turnLeft();
putBall();
takeBall();
Function body - 🧠 ANSWER ✔✔The part of a function that contains the
commands. Everything in between the { } curly braces.
Why use Functions? - 🧠 ANSWER ✔✔Allow us to break down our program
into smaller parts. Make programs easier to understand.
Avoid repeated code.
Programming style - 🧠 ANSWER ✔✔Using functions is a key element in
having good programming style. The way the code is written.
COPYRIGHT©NINJANERD 2025/2026. YEAR PUBLISHED 2025. COMPANY REGISTRATION NUMBER: 619652435. TERMS OF USE. PRIVACY
2
STATEMENT. ALL RIGHTS RESERVED
(CodeHS) 2025/2026 Exam Questions
and Verified Answers | Already Graded
A+
Command - 🧠 ANSWER ✔✔An instruction you can give to Karel to carry
out.
Walls - 🧠 ANSWER ✔✔Borders that Karel can't pass through. Can be on
the inside and the outside of Karel's world.
Streets - 🧠 ANSWER ✔✔Rows/run horizontally in Karel's world.
Avenues - 🧠 ANSWER ✔✔Columns/run vertically in Karel's world.
turnLeft(); - 🧠 ANSWER ✔✔Command for Karel to turn left.
takeBall(); - 🧠 ANSWER ✔✔Command for Karel to take a ball away.
move(); - 🧠 ANSWER ✔✔Command for Karel to move one spot.
putBall(); - 🧠 ANSWER ✔✔Command for Karel to put a ball down.
Functions - 🧠 ANSWER ✔✔A way to teach Karel a new command.
COPYRIGHT©NINJANERD 2025/2026. YEAR PUBLISHED 2025. COMPANY REGISTRATION NUMBER: 619652435. TERMS OF USE. PRIVACY
1
STATEMENT. ALL RIGHTS RESERVED
, Command Tips - 🧠 ANSWER ✔✔No spaces in commands.
Needs to match exact capitalization.
Every command ends with ();
4 Commands Karel knows. - 🧠 ANSWER ✔✔move();
turnLeft();
putBall();
takeBall();
Function body - 🧠 ANSWER ✔✔The part of a function that contains the
commands. Everything in between the { } curly braces.
Why use Functions? - 🧠 ANSWER ✔✔Allow us to break down our program
into smaller parts. Make programs easier to understand.
Avoid repeated code.
Programming style - 🧠 ANSWER ✔✔Using functions is a key element in
having good programming style. The way the code is written.
COPYRIGHT©NINJANERD 2025/2026. YEAR PUBLISHED 2025. COMPANY REGISTRATION NUMBER: 619652435. TERMS OF USE. PRIVACY
2
STATEMENT. ALL RIGHTS RESERVED