CODE HS TEST 1 QUESTIONS AND ANSWERS
Which of these is a valid Karel command?
move;
MOVE
move();
move() - Answers- move();
How many times should Karel turn left in order to turn right?
1
2
3
4
ANSWERED - Answers- 3
What is a street in a Karel world?
A row
A column
A single point
Karel's position - Answers- A row
What is an avenue in a Karel world?
A row
A column
A single point
Karel's position - Answers- A column
, 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();
Street 1 and Avenue 3
Street 4 and Avenue 4
Street 2 and Avenue 6
Street 6 and Avenue 2 - Answers- Street 2 and Avenue 6
If Karel is facing North and the code
turnLeft();
turnLeft();
runs, which direction is Karel facing now?
North
South
East
West - Answers- South
What can be used to teach Karel to turn right?
Commands/Functions
Variables
Dog treats
Karel can already turn right
ANSWERED - Answers- Commands/Functions
Which function will teach Karel how to spin in a circle one time?
Which of these is a valid Karel command?
move;
MOVE
move();
move() - Answers- move();
How many times should Karel turn left in order to turn right?
1
2
3
4
ANSWERED - Answers- 3
What is a street in a Karel world?
A row
A column
A single point
Karel's position - Answers- A row
What is an avenue in a Karel world?
A row
A column
A single point
Karel's position - Answers- A column
, 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();
Street 1 and Avenue 3
Street 4 and Avenue 4
Street 2 and Avenue 6
Street 6 and Avenue 2 - Answers- Street 2 and Avenue 6
If Karel is facing North and the code
turnLeft();
turnLeft();
runs, which direction is Karel facing now?
North
South
East
West - Answers- South
What can be used to teach Karel to turn right?
Commands/Functions
Variables
Dog treats
Karel can already turn right
ANSWERED - Answers- Commands/Functions
Which function will teach Karel how to spin in a circle one time?