
CodeHS unit 1 Quiz
Authored by Akhil Sivamal
Computers
10th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What's wrong with this code
The go function is called twice
The go function has a syntax error
The go function has been defined twice
go is not a command that Karel understands
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many total times will Karel move in this program
1
5
6
7
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is wrong with this for loop?
a: the for loop uses a semicolon(;) instead of colon(:)
b: it should say range(5) instead of range = 5
A
B
A and B
The for loop is correct
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the proper format for a single line comment in Karel
#This is a comment
//This is a comment
/*This is a comment
This is a comment
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the mystery function do
Karel moves until it is on a ball
Karel moves once if there is no ball present
Karel moves until it puts down a ball
Karel checks if there is no ball on the current spot and then moves once
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a valid condition to go in an if statement for Karel
balls_present()
front_is_clear()
left_is_blocked()
turn_left()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Say Karel is on a location with one tennis ball. After the following code runs, how many tennis balls will there be at that location?
0
1
2
6
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
SYSTEM LIFE CYCLE
Quiz
•
9th - 10th Grade
20 questions
Quiz Google Wordspace
Quiz
•
9th - 12th Grade
20 questions
Pemrograman Dasar
Quiz
•
10th Grade
20 questions
Quiz Scratch Grade 4
Quiz
•
10th Grade
22 questions
Programming Review
Quiz
•
9th - 12th Grade
20 questions
computational thinking
Quiz
•
10th Grade
21 questions
CSP Vocab Practice 2
Quiz
•
10th - 12th Grade
20 questions
Blockly and Artificial Intelligence
Quiz
•
4th - 10th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade