IST CodeHS Unit 7 Robot Coding Review

Quiz
•
Computers, Mathematics
•
9th - 12th Grade
•
Medium

Jason Bentley
Used 25+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the purpose of IF statement #1?
If there is a ball at the current location, pick it up
If there is no ball at the current location, put one down
If the front is clear, move forward
If there is a ball at the last location, pick it up
2.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
What is wrong with this Karel command? Select all that apply: Move;
this command is correct
it should have a lower case m
it should have parentheses
it should not have a semi-colon ;
3.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
What is wrong with this code? Select all that apply:
the function name should be Start()
the move() command is undefined
the go() function is undefined
the go() function is called twice in a row
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many tennis balls will Karel put down in this program?
4
5
6
0
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the best way to define a function that turns Karel around at the same location?
function turnAround() { turnLeft(); turnLeft(); }
function turn() {
turnLeft();
turnRight(); }
function turnAround() {
turnRight();
turnRight();
turnRight(); }
turnAround function() {
move();
turnLeft();
move(); }
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to write a single line comment in JavaScript?
//comment
/* this is a multi-
* line comment
* using JS
*/
#comment
this is a comment
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is a valid Karel command?
turnLeft();
turnBack();
goForward();
goLeft();
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Order and Compare Whole Numbers

Quiz
•
4th Grade - University
24 questions
Intro to Programming with Karel

Quiz
•
9th - 12th Grade
19 questions
Halloween Fun

Quiz
•
6th - 10th Grade
19 questions
CodeHS Unit 1

Quiz
•
12th Grade
20 questions
7.5 Homework

Quiz
•
10th Grade
25 questions
CS Unit 1 Quiz Review

Quiz
•
9th - 12th Grade
20 questions
CodeHS Lessons 1-5

Quiz
•
10th - 12th Grade
17 questions
Unit 7 Review 1

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
30 questions
Computer Terminology Exercise #1 ( Fill Ins)

Quiz
•
9th Grade
15 questions
MLA Formatting

Quiz
•
9th Grade
20 questions
Typing Practice

Quiz
•
7th - 12th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
20 questions
Google Sheets Quiz

Quiz
•
9th Grade