What is the purpose of IF statement #1?
IST CodeHS Unit 7 Robot Coding Review

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

Jason Bentley
Used 22+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
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 Quizizz
25 questions
Code HS 3.19 Intro to Programming w/Karel

Quiz
•
9th - 12th Grade
25 questions
CodeHS CompSci Final Exam

Quiz
•
8th Grade - University
23 questions
Programming with Karel Quiz

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

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

Quiz
•
7th - 12th Grade
25 questions
JavaScript Basics & Graphics Test

Quiz
•
9th - 12th Grade
18 questions
Video Game Design: 2nd 9 Weeks Test Review

Quiz
•
9th - 12th Grade
16 questions
Python - Karel the Dog

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University