CodeHS Intro to Programming - Karel Review
Quiz
•
Computers
•
7th Grade
•
Practice Problem
•
Medium
Stacy Bennett
Used 23+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following commands is a valid Karel command?
turnLeft
turnLeft;
turnLeft();
turnLeft()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What makes this command invalid (incorrect)?
Move();
This command is correct.
It has a capital M.
It has ()
It should be a colon : not a semi colon ;
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() { turnRight(); turnRight(); turnRight();
}
function turnRight { turnLeft(); turnLeft(); turnLeft();
}
turnRight function() { 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 these!
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many total times will Karel move in this program?
function start() { move(); for (var i = 0; i < 5; i++) { move(); putBall(); } }
1
5
6
7
6.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
What is wrong with this for loop?
for (var i = 0; i < 10; i + 1) { move(); }
The for loop uses commas instead of semicolons
It should say i++ instead of i + 1
Nothing is wrong with this loop
The "var" should not be there.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can we teach Karel new commands?
For loop
While loop
Define a new function
The start function
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
10 questions
7 ICT Sem 2 Reviewer
Quiz
•
7th Grade
14 questions
KS3 Vector Graphics Topic Assessment
Quiz
•
6th - 8th Grade
14 questions
PowerPoint Features Quiz
Quiz
•
7th Grade
12 questions
Boolean
Quiz
•
6th - 8th Grade
10 questions
YouCode Scratch Quiz
Quiz
•
KG - 12th Grade
15 questions
TES SUMATIF SEMESTER 1
Quiz
•
7th Grade
15 questions
7ICT - Algorithms Revision Quiz
Quiz
•
7th Grade
15 questions
Computer DESKTOP - CESA
Quiz
•
7th Grade - University
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
