Karel Code HS Revised Questions and Answers / Sure A +
command to turn right - function turnRight(){ turnleft(); turnleft(); turnleft();} command to turnleft - turnLeft(); How is a general if statement definition written correctly - if(condition) { //code } Say you want to write a program to have Karel put down 300 tennis balls. Which control structure would you use? - For loop The command to move in karel - move(); The first thing you should write when creating a script - function start(){ script }
Información del documento
- Subido en
- 6 de junio de 2024
- Número de páginas
- 3
- Escrito en
- 2023/2024
- Tipo
- Examen
- Contiene
- Preguntas y respuestas