Which of the following is the correct way to define a turn_right function in Karel?

Computer Programming in Python Review

Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Katy Fleming
Used 1+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
2.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
hich 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()
3.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
In the following code from the Cleanup Karel example, what is the purpose of If Statement #2?
To move the last time
To pick up the ball that is in the last spot
To pick up the ball that is in the last spot, if there is one
To take the ball from all of the positions that have a ball on them
4.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
What makes the following command an invalid Karel command?
turn_Left()
It should end in semicolon
The L should be a lower l
It should start with a capital T
This command is correct
5.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
What is wrong with this for loop?
for i in range = 5;
move()
A. The for loop uses a semicolon(;) instead of colon(:)
B. It should say range(5) instead of range = 5
A
B
Both A and B
Neither A or B
6.
MULTIPLE CHOICE QUESTION
5 mins • 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
7.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Karel starts at Street 1, Avenue 1, facing East in a 5x5 world. What will happen after this code runs?
Karel will end on Street 1, Avenue 2
Karel will end on Street 1, Avenue 7
This code won’t run because of a syntax error
Karel will crash into a wall
Create a free account and access millions of resources
Similar Resources on Quizizz
22 questions
Karel Quiz

Quiz
•
8th - 12th Grade
20 questions
JavaScript Basics CodeHS

Quiz
•
7th - 12th Grade
25 questions
CodeHS Javascript Unit 1 Quiz Review

Quiz
•
9th - 12th Grade
25 questions
JavaScript Karel Unit 1 Quiz Study Guide

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

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

Quiz
•
9th - 12th Grade
20 questions
IST CodeHS Unit 2 Robot Coding Review

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

Quiz
•
10th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
27 questions
STAAR English 1 Review

Quiz
•
9th Grade