
Karel Unit Quiz
Quiz
•
9th - 12th Grade
•
Practice Problem
•
Hard
Lori Conte
Used 66+ times
FREE Resource
Enhance your content in a minute
27 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following commands is a valid Karel command?
turnright();
turnRight;
turnRight():
turnright();
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What makes the following command an invalid Karel command: takeball();
it should start with a capital T
the b should be capitalized
it should end in a colon instead of a semicolon
none of these; this command is correct!
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the following is the correct way to define a turnLeft function in Karel?
function turnRight() {
turnRight():
turnRight():
turnRight():
}
function turnLeft() {
turnLeft():
turnLeft():
turnLeft():
}
function turnLeft() {
turn Right ():
turn Right ():
turn Right ():
}
function turnRight() {
turnLeft();
turnLeft();
turnLeft();
}
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why do we use functions in Karel programs?
to break down our program into smaller parts
to avoid repetition of code
to make our program more readable
all of these
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
If Karel starts on Street 1 and Avenue 1, facing East, where will Karel be, and what direction will Karel be facing after running the following code in a 10 x 10 world?
move();
turnLeft();
putBall();
turnLeft();
turnLeft();
turnLeft();
move();
turnLeft();
Street 1, Avenue 3, Facing South
Street 1, Avenue 3, Facing North
Street 3, Avenue 1, Facing North
Street 3, Avenue 1, Facing South
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Karel starts at Street 1 & Avenue 1 facing East. After calling the goUp function twice, where will Karel be and what direction will he be facing in a 10 x 10 world?
function goUp() {
move();
turnLeft();
move();
turnRight();
}
Street 1, Avenue 2, Facing North
Street 1, Avenue 3, Facing South
Street 3, Avenue 3, Facing East
Street 1, Avenue 3, Facing West
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
In this code, how many times is the climb function called and how many times is it defined?
function start();
move();
climb();
move();
move();
turnLeft();
climb();
climb();
}
function climb() {
turnLeft();
move();
turnLeft();
turnLeft();
move();
turnLeft();
}
called once, defined once
called once, defined three times
called once, defined twice
called three times, defined once
Create a free account and access millions of resources
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
22 questions
Quiziz narative
Quiz
•
9th Grade
22 questions
Chapter 1 and 2 Revision (Economics)
Quiz
•
9th - 12th Grade
23 questions
Present Perfect vs Past Simple // Act1
Quiz
•
9th - 12th Grade
26 questions
Macromedia Flash
Quiz
•
8th Grade - Professio...
25 questions
Social Entrepreneurship 3rd Quarter Long Quiz
Quiz
•
10th Grade
24 questions
LUNR changing lives: Women and Workers
Quiz
•
9th Grade
25 questions
Informatika
Quiz
•
7th Grade - University
22 questions
Test Your Imperatives!
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
Discover more resources for
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
20 questions
Cell organelles and functions
Quiz
•
10th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
10 questions
Exploring the Energy Cycle: Photosynthesis and Cellular Respiration
Interactive video
•
6th - 10th Grade
25 questions
photosynthesis and cellular respiration
Quiz
•
9th Grade
