CodeHS Intro to Programming - Karel Review

CodeHS Intro to Programming - Karel Review

7th Grade

10 Qs

quiz-placeholder

Similar activities

Stage 7 Review

Stage 7 Review

7th Grade

15 Qs

7ICT - Algorithms Revision Quiz

7ICT - Algorithms Revision Quiz

7th Grade

15 Qs

7 ICT Sem 2 Reviewer

7 ICT Sem 2 Reviewer

7th Grade

10 Qs

KS3 Vector Graphics Topic Assessment

KS3 Vector Graphics Topic Assessment

6th - 8th Grade

14 Qs

Technology Week HTG Quiz - Monday

Technology Week HTG Quiz - Monday

7th - 12th Grade

10 Qs

Module 4 Revision

Module 4 Revision

2nd - 8th Grade

10 Qs

YouCode Scratch Quiz

YouCode Scratch Quiz

KG - 12th Grade

10 Qs

KIỂM TRA TX L2-2-2122

KIỂM TRA TX L2-2-2122

1st Grade - University

10 Qs

CodeHS Intro to Programming - Karel Review

CodeHS Intro to Programming - Karel Review

Assessment

Quiz

Computers

7th Grade

Practice Problem

Medium

Created by

Stacy Bennett

Used 27+ times

FREE Resource

AI

Enhance your content in a minute

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

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

Access all questions and much more by creating a free account

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

Already have an account?