CODE HS PRACTICE
TEST QUIZZES & ANS
GRADED A+
CODE HS
OCTOBER 14, 2024
EVATEE
, CODE HS PRACTICE TEST QUIZZES & ANS
GRADED A+
Which is a valid Karel command?
move;
MOVE
move();
move() Answer - move();
What is a street in a Karel world? Answer - Row
What is an avenue in a Karel world? Answer - 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(); Answer - Street 2 Avenue 6
If Karel is facing North and the code
turnLeft();
turnLeft();
runs; which direction is Karel facing now? Answer - South
TEST QUIZZES & ANS
GRADED A+
CODE HS
OCTOBER 14, 2024
EVATEE
, CODE HS PRACTICE TEST QUIZZES & ANS
GRADED A+
Which is a valid Karel command?
move;
MOVE
move();
move() Answer - move();
What is a street in a Karel world? Answer - Row
What is an avenue in a Karel world? Answer - 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(); Answer - Street 2 Avenue 6
If Karel is facing North and the code
turnLeft();
turnLeft();
runs; which direction is Karel facing now? Answer - South