Code HS Answers: Lessons 1-20
Which is a valid Karel command? move; MOVE move(); move() correct answers move(); What is a street in a Karel world? correct answers Row What is an avenue in a Karel world? correct answers 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(); correct answers Street 2 Avenue 6 If Karel is facing North and the code turnLeft(); turnLeft(); runs; which direction is Karel facing now? correct answers South How many times should Karel turn left in order to turn right? correct answers 3 What can be used to teach Karel to turn right? correct answers functions Which function will teach Karel how to spin in a circle one time? function spin() { turnRight(); } function spin() { turnLeft(); turnLeft(); turnLeft(); turnLeft(); } function spin() { turnLeft(); turnLeft(); } function spin() { move(); move();
Escuela, estudio y materia
- Institución
- Code HS
- Grado
- Code HS
Información del documento
- Subido en
- 6 de enero de 2023
- Número de páginas
- 28
- Escrito en
- 2022/2023
- Tipo
- Examen
- Contiene
- Preguntas y respuestas
Temas
-
which is a valid karel command move move move move
Documento también disponible en un lote