Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 4 out of 68 pages
Exam (elaborations)

CODE HS ANSWERS: LESSONS 1-20 ALL QUESTIONS AND CORRECT ANSWERS (VERIFIED ANSWERS) | GRADED A+ | LATEST EXAM | JUST RELEASED

Document preview thumbnail
Preview 4 out of 68 pages

CODE HS ANSWERS: LESSONS 1-20 ALL QUESTIONS AND CORRECT ANSWERS (VERIFIED ANSWERS) | GRADED A+ | LATEST EXAM | JUST RELEASED

Content preview

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();
}

Document information

Uploaded on
May 21, 2025
Number of pages
68
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
£12.07

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Antitest
5.0
(512)
Sold
9618
Followers
5
Items
4371
Last sold
1 day ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and smashed it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions