Code HS
Latest uploads at Code HS. Looking for notes at Code HS? We have lots of notes, study guides and study notes available for your school.
-
220
- 0
-
15
All courses for Code HS
-
Code HS 1
-
Code HS 220
-
Code-HS 3
Latest content Code HS
codehs end of unit quiz 2023 with complete solution 
 
When the following for loop is complete, how many spaces will Tracy have moved? 
for i in range(5): 
forward(10) 
50 spaces 
Suppose you write a function. How many times can you call the function in your code? 
As many times as you want 
In which of the following situations would it be best to make a function? 
You want Tracy to draw a blue line, and your program requires lots of blue lines. 
Which of the following pieces of code will make T...
- Exam (elaborations)
- • 3 pages's •
-
Code HS•Code HS
Code HS Answers: Lessons 1-20 Complete Test Answered Correctly. 
 
Which is a valid Karel command? 
move; 
MOVE 
move(); 
move() 
move(); 
What is a street in a Karel world? 
Row 
What is an avenue in a Karel world? 
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 2 Avenue 6 
If Karel is facing North and the code 
turnLeft(); 
turnLeft(); 
runs; whic...
- Exam (elaborations)
- • 28 pages's •
-
Code HS•Code HS