and Answers with Certified Solutions
|Graded A+ | 2025
1. Basic Karel command to get him from 1 spot on board to another
spot - ANSWER move();
2. Can "Basic Karel" turn right? - ANSWER no, Karel has to
turnLeft(); 3 times.
3. How would you pick up a ball in Karel? - ANSWER takeBall();
4. Why would you use a function? - ANSWER so you can break the
code down, into smaller parts
5. How do you use the start function? - ANSWER to start any code,
you have to have the "start();" function.
6. What is the top down design? - ANSWER a way of designing your
program by starting with the biggest problem and breaking it down
into smaller and smaller pieces that are easier to solve.
, 7. What are comments? - ANSWER a way for you to leave notes
about what your code is doing in plain English, so other people can
understand it.
8. What two functions are already defined in Super Karel? -
ANSWER turnRight(); and turnAround();
9. What type of animal is Karel? - ANSWER a dog
10. What are for loops? - ANSWER they let Karel repeat a
section of code a fixed number of times
11. How do you write a for loop? - ANSWER for(var i 0; i <
count; i++){
12. //*code to execute as many times as the count say
13. }
14. What are conditions? - ANSWER code that you put inside an
if statement or while-loop
15. What does > mean in Karel? - ANSWER it means greater
than
16. What will happen if Karel does not read frontIsClear(); and
there is a wall in front of her ? - ANSWER she will crash into the
wall