
Karel in Python

Quiz
•
Other
•
12th Grade
•
Medium
Emilio Gasca
Used 2+ times
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
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
24 questions
Harry Potter

Quiz
•
3rd Grade - University
20 questions
Quiz Campur Kelas X

Quiz
•
10th Grade - University
25 questions
Climatology

Quiz
•
10th Grade - Professi...
20 questions
Miss Peregrine's Home for Peculiar Children

Quiz
•
5th - 12th Grade
20 questions
Body Mechanics

Quiz
•
8th - 12th Grade
24 questions
What is Stock?

Quiz
•
9th - 12th Grade
20 questions
Road Safety Quiz

Quiz
•
9th - 12th Grade
24 questions
Česká próza mezi válkami

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
6 questions
Rule of Law

Quiz
•
6th - 12th Grade
15 questions
ACT Math Practice Test

Quiz
•
9th - 12th Grade
18 questions
Hispanic Heritage Month

Quiz
•
KG - 12th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
10 questions
Would you rather...

Quiz
•
KG - University
13 questions
BizInnovator Startup - Experience and Overview

Quiz
•
9th - 12th Grade