Karel the Dog Unit Test 2025/2026 Exam
Questions Marking Scheme New Update
| A+ Rated
Which of these is a valid Karel command in Java?
a. move();
b. MOVE
c. move;
d. move() - 🧠 ANSWER ✔✔a
Which of these is a valid Karel command in Java?
a. turnLeft();
b. turnleft();
c. turnLeft()
d. TurnLeft - 🧠 ANSWER ✔✔a
COPYRIGHT©NINJANERD 2025/2026. YEAR PUBLISHED 2025. COMPANY REGISTRATION NUMBER: 619652435. TERMS OF USE. PRIVACY
1
STATEMENT. ALL RIGHTS RESERVED
,public class FunKarel extends Karel
{
public void run()
{
move();
putBall();
move();
}
}
What is the name of this class?
a. Karel
b. FunKarel
c. Run
d. SuperKarel - 🧠 ANSWER ✔✔b
COPYRIGHT©NINJANERD 2025/2026. YEAR PUBLISHED 2025. COMPANY REGISTRATION NUMBER: 619652435. TERMS OF USE. PRIVACY
2
STATEMENT. ALL RIGHTS RESERVED
, What is the name of the method that gets called to start a Java Karel
program?
a. go()
b. start()
c. run()
d. move() - 🧠 ANSWER ✔✔c
Which is the correct class signature for a Karel program named
CleanupKarel?
a. public class CleanupKarel extends Karel
b. public class CleanupKarel < Karel
c. public CleanupKarel
d. CleanupKarel extends Karel - 🧠 ANSWER ✔✔a
Which of these methods will create a method called turnRight that will have
Karel turn left three times?
COPYRIGHT©NINJANERD 2025/2026. YEAR PUBLISHED 2025. COMPANY REGISTRATION NUMBER: 619652435. TERMS OF USE. PRIVACY
3
STATEMENT. ALL RIGHTS RESERVED
Questions Marking Scheme New Update
| A+ Rated
Which of these is a valid Karel command in Java?
a. move();
b. MOVE
c. move;
d. move() - 🧠 ANSWER ✔✔a
Which of these is a valid Karel command in Java?
a. turnLeft();
b. turnleft();
c. turnLeft()
d. TurnLeft - 🧠 ANSWER ✔✔a
COPYRIGHT©NINJANERD 2025/2026. YEAR PUBLISHED 2025. COMPANY REGISTRATION NUMBER: 619652435. TERMS OF USE. PRIVACY
1
STATEMENT. ALL RIGHTS RESERVED
,public class FunKarel extends Karel
{
public void run()
{
move();
putBall();
move();
}
}
What is the name of this class?
a. Karel
b. FunKarel
c. Run
d. SuperKarel - 🧠 ANSWER ✔✔b
COPYRIGHT©NINJANERD 2025/2026. YEAR PUBLISHED 2025. COMPANY REGISTRATION NUMBER: 619652435. TERMS OF USE. PRIVACY
2
STATEMENT. ALL RIGHTS RESERVED
, What is the name of the method that gets called to start a Java Karel
program?
a. go()
b. start()
c. run()
d. move() - 🧠 ANSWER ✔✔c
Which is the correct class signature for a Karel program named
CleanupKarel?
a. public class CleanupKarel extends Karel
b. public class CleanupKarel < Karel
c. public CleanupKarel
d. CleanupKarel extends Karel - 🧠 ANSWER ✔✔a
Which of these methods will create a method called turnRight that will have
Karel turn left three times?
COPYRIGHT©NINJANERD 2025/2026. YEAR PUBLISHED 2025. COMPANY REGISTRATION NUMBER: 619652435. TERMS OF USE. PRIVACY
3
STATEMENT. ALL RIGHTS RESERVED