🌟CodeHS Unit 2 {Review Quiz}🌳
Quiz
•
Other
•
8th Grade
•
Practice Problem
•
Medium
Mrs. O'Keefe
Used 57+ times
FREE Resource
Enhance your content in a minute
41 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
🌟Which of the following commands is a valid Karel command?
move
move;
move();
move()
2.
MULTIPLE CHOICE QUESTION
30 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
30 sec • 1 pt
🌟Which of the following is the correct way to define a turnRight function in Karel?
function turnRight() { turnLeft(); turnLeft(); turnLeft(); }
function turnRight() { turnLeft(); turnLeft(); }
function turnRight() { turnLeft(); turnLeft(); turnLeft(); turnLeft(); }
function turnRight() { turnLeft(); turnLeft(); turnLeft(); turnLeft(); turnLeft(); }
4.
MULTIPLE CHOICE QUESTION
30 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
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
🌟If Karel starts at Street 1 and Avenue 1, facing East, where will Karel be, and what direction will Karel be facing after running the following code? (Assume the world is 10x10 in size)
Street 3, Avenue 1, Facing North
Street 1, Avenue 4, Facing North
Street 1, Avenue 3, Facing South
Street 1, Avenue 3, Facing North
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
🌟If Karel starts at Street 1 and Avenue 1, facing East, where will Karel be, and what direction will Karel be facing after running the following code? (Assume the world is 10x10 in size) move(); turnLeft(); putBall(); turnLeft(); turnLeft(); turnLeft(); move(); turnLeft();
A) Street 2, Avenue 1, Facing West
B) Street 3, Avenue 1, Facing North
C) Street 1, Avenue 2, Facing South
D) Street 3, Avenue 2, Facing East
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
🌟In this code, how many times is the dance function called and how many times is it defined?🌟
Called 1 time, defined 1 time
Called 1 time, defined 3 times
Called 3 times, defined 1 time
Called 3 times, defined 3 times
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
43 questions
Activities
Quiz
•
3rd - 8th Grade
37 questions
Biomolecules
Quiz
•
8th - 11th Grade
40 questions
Unit 2
Quiz
•
6th - 9th Grade
41 questions
Texas & the Civil War
Quiz
•
7th - 8th Grade
43 questions
Forces That Change the Earth
Quiz
•
8th Grade
40 questions
Fun Trivia
Quiz
•
5th - 8th Grade
41 questions
SEJARAH T4/B10
Quiz
•
5th Grade - University
45 questions
OLIMPIADE PAI
Quiz
•
7th - 9th Grade
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
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
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Other
10 questions
Exploring Valentine's Day with Charlie Brown
Interactive video
•
6th - 10th Grade
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
10 questions
Valentine's Day History and Traditions
Interactive video
•
6th - 10th Grade
20 questions
Laws of Exponents
Quiz
•
8th Grade
11 questions
Valentines Day
Quiz
•
6th - 8th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
25 questions
7th Reading STAAR Vocabulary
Quiz
•
6th - 8th Grade
25 questions
Valentine's Day Trivia
Quiz
•
8th Grade
