IST CodeHS Unit 7 Robot Coding Review

IST CodeHS Unit 7 Robot Coding Review

9th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

YEAR 10 NUMBER REVIEW

YEAR 10 NUMBER REVIEW

9th - 10th Grade

15 Qs

Digital Etiquette

Digital Etiquette

4th Grade - University

15 Qs

Vectors!

Vectors!

11th - 12th Grade

20 Qs

Translating Expressions and Inequalities

Translating Expressions and Inequalities

8th - 12th Grade

20 Qs

Review - 3.1-3.3

Review - 3.1-3.3

11th Grade

15 Qs

Grade 10 TLE ICT Final Unit Test 1

Grade 10 TLE ICT Final Unit Test 1

10th Grade

20 Qs

Final/Midterm Review

Final/Midterm Review

9th - 12th Grade

15 Qs

StatProb Lesson 4 Quiz Reviewer (SY 23 - 24)

StatProb Lesson 4 Quiz Reviewer (SY 23 - 24)

11th Grade

15 Qs

IST CodeHS Unit 7 Robot Coding Review

IST CodeHS Unit 7 Robot Coding Review

Assessment

Quiz

Computers, Mathematics

9th - 12th Grade

Medium

Created by

Jason Bentley

Used 26+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

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

Media Image

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

Media Image

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

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?

Discover more resources for Computers