CodeHS unit 1 Quiz

Quiz
•
Computers
•
10th Grade
•
Hard

Akhil Sivamal
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
23 questions
Java Unit 1 - Quiz Review

Quiz
•
10th Grade
25 questions
JavaScript Basics & Graphics Test

Quiz
•
9th - 12th Grade
25 questions
CodeHS Unit 1 Karel Test (Corgi edition)

Quiz
•
10th Grade
25 questions
CodeHS CompSci Final Exam

Quiz
•
8th Grade - University
22 questions
Karel Quiz

Quiz
•
8th - 12th Grade
23 questions
Programming with Karel Quiz

Quiz
•
9th - 12th Grade
20 questions
Karel Test Review

Quiz
•
9th - 12th Grade
23 questions
Unit 1 CodeHS Review

Quiz
•
9th - 12th Grade
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