CODE HS ANSWERS: LESSONS 1-
20 ALL QUESTIONS AND CORRECT
ANSWERS (VERIFIED ANSWERS) |
GRADED A+ | LATEST EXAM | JUST
RELEASED
Save
Terms in this set (54)
Which is a valid move();
Karel command?
move;
MOVE
move();
move()
What is a street Row
in a Karel world?
,What is an Column
avenue in a Karel
world?
If Karel starts at Street 2 Avenue 6
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();
If Karel is facing South
North and the
code
turnLeft();
turnLeft();
runs; which
direction is Karel
facing now?
,How many times 3
should Karel turn
left in order to
turn right?
What can be functions
used to teach
Karel to turn
right?
, Which function function spin() {
will teach Karel turnLeft();
how to spin in a turnLeft();
circle one time? turnLeft();
function spin() { turnLeft();
turnRight(); }
}
function spin() {
turnLeft();
turnLeft();
turnLeft();
turnLeft();
}
function spin() {
turnLeft();
turnLeft();
}
function spin() {
move();
move();
move();
move();
}
20 ALL QUESTIONS AND CORRECT
ANSWERS (VERIFIED ANSWERS) |
GRADED A+ | LATEST EXAM | JUST
RELEASED
Save
Terms in this set (54)
Which is a valid move();
Karel command?
move;
MOVE
move();
move()
What is a street Row
in a Karel world?
,What is an Column
avenue in a Karel
world?
If Karel starts at Street 2 Avenue 6
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();
If Karel is facing South
North and the
code
turnLeft();
turnLeft();
runs; which
direction is Karel
facing now?
,How many times 3
should Karel turn
left in order to
turn right?
What can be functions
used to teach
Karel to turn
right?
, Which function function spin() {
will teach Karel turnLeft();
how to spin in a turnLeft();
circle one time? turnLeft();
function spin() { turnLeft();
turnRight(); }
}
function spin() {
turnLeft();
turnLeft();
turnLeft();
turnLeft();
}
function spin() {
turnLeft();
turnLeft();
}
function spin() {
move();
move();
move();
move();
}