CodeHS - Unit 6 - Programming with Karel

Quiz
•
Computers
•
9th Grade
•
Medium
Teri Miles
Used 254+ times
FREE Resource
Student preview

15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following commands is a valid
Karel command?
move
move;
move();
move()
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What makes the following command an invalid Karel command?
turnleft();
It should end in a colon rather than a semicolon
The l should be a capital L
It should start with a capital T
This command is correct
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Why do we use functions in Karel programs?
Break down our program into smaller parts
Avoid repeating code
Make our program more readable
All of the above
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Why does a programmer indent their code?
Helps show the structure of the code.
Easier for other people to understand.
A key part of good programming style!
All of the above
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
How can we teach Karel new commands?
For loop
While loop
Define a new function
The start function
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
How many times is the start function called?
0
1
2
463
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
How many times is the start function defined?
0
1
2
As many as is needed
Create a free account and access millions of resources
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade