True/False
Karel
Code
Random
100

The following is a valid Karel command?

move()

What is False.

100

What will the following code make Karel do?

turnLeft();

turnLeft();

turnLeft();

What is Turn Right?

100
When I forget a command where can I find all commands that were taught in class?

Docs

100
A set of instructions that enable the computer to solve a problem or perform a task
What is a computer program
200

The following is not a valid Karel command?

turnLeft();

What is false?
200

What will the following code make Karel do?

turnLeft();

turnLeft();

turnLeft();

turnLeft();

What is spin?

200

Write the code for a single line of comments.

What is //

200

What's Wrong with the following method?

public karelDance()
[    

     move();    

     turnLeft();    
]

The Brackets should be { }

300

A variable is something that the computer creates?

What is False?

300

Where will Karel land?

while(frontIsClear())
{    move();
}

to a wall
300

Write the code used for multiple lines of comments.

/*

*

*

*/

300

If you need Karel to pick up a random number of tennis balls, would you use a For loop or While loop?


While loop

400

The name of the Class is called run().

public class FunKarel extends Karel
{    

      public void run()   

     {        

          move();           

     }
}

False

400

What will happen to Karel?

while(noBallsPresent())
{    turnLeft();
}

She will keep spinning.

400

How many times will Karel move?

for(int i = 1; i < 7; i++)
{    move();
}

6 times

400

What do you need to create to teach Karel a new command?

What is a Method?

500

run() is the name of the method that starts a Karel Java program?

What is True?

500

If you want Karel to put down 300 balls, would you use a For loop or While loop?

For loop

500

How many times will Karel move?

for(int i = 0; i < 7; i++)
{    move();
}

7 times

500

A set of instructions written in English or Pseudo code. 

What is an Algorithm?


M
e
n
u