Which of the following commands is a valid Karel command?
JavaScript Basics & Graphics Test

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Tina Mickens
Used 14+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
move
move;
move();
move()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the horizontal pathways called in a Karel world?
rows
points
columns
Karel’s position
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the vertical pathways called in a Karel world?
rows
columns
points
Karel's position
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If Karel starts facing East in the first row, third column, what row and column will Karel be on after this code runs?
move();
move();
move();
turnLeft();
move();
Row 1 and Column 3
Row 4 and Column 4
Row 2 and Column 6
Row 6 and Column 2
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of using a for loop in code?
To do something if a condition is true
To make programs run faster
To repeat something a fixed number of times
To do something while a condition is true
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the following code, what would be a good Postcondition to write?
/* Precondition: Karel is on a spot with a tennis ball facing East
Postcondition: ... /
function getOnTop() {
turnLeft();
move();
turnRight();
}
Karel is on a spot with a tennis ball facing north
Karel is facing East.
Karel ends one spot above a tennis ball facing East.
Karel is on the same position but on top of a ball.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can we improve the following program?
function main() {
move();
move();
move();
move();
move();
move();
move();
}
main();
Break down this program into more functions
Use a for loop to repeat the move command
Fix the indentation of this program
Use a while loop to repeat the move command
Create a free account and access millions of resources
Similar Resources on Quizizz
22 questions
Karel and Programming Basics

Quiz
•
9th Grade
20 questions
AP CSP Unit 6

Quiz
•
10th - 12th Grade
20 questions
Unit 1 GA IST

Quiz
•
9th - 12th Grade
25 questions
AP CSP Unit 7 Review

Quiz
•
11th Grade
23 questions
Important Keys

Quiz
•
9th Grade
20 questions
Linux Directory Structures

Quiz
•
10th Grade - University
20 questions
Basic JavaScript Review

Quiz
•
9th - 12th Grade
25 questions
Programming with Karel Quiz

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