🌟CodeHS Unit 2 {Review Quiz}🌳

🌟CodeHS Unit 2 {Review Quiz}🌳

8th Grade

41 Qs

quiz-placeholder

Similar activities

B. IND-8

B. IND-8

8th Grade

40 Qs

Religious Education Module 1 Revision

Religious Education Module 1 Revision

8th Grade

40 Qs

Recorder Quiz

Recorder Quiz

6th - 8th Grade

45 Qs

Herhaling Nederlands 2A (Kerstmis)

Herhaling Nederlands 2A (Kerstmis)

1st - 10th Grade

39 Qs

UH3 Prakarya Semester 2

UH3 Prakarya Semester 2

7th - 11th Grade

40 Qs

công nghệ

công nghệ

8th Grade

42 Qs

Operaciones Farmacia T. 6  SEPARACIÓN MECÁNICA de MEZCLAS

Operaciones Farmacia T. 6 SEPARACIÓN MECÁNICA de MEZCLAS

1st Grade - Professional Development

43 Qs

Ekonomi Mikro 2

Ekonomi Mikro 2

1st Grade - University

40 Qs

🌟CodeHS Unit 2 {Review Quiz}🌳

🌟CodeHS Unit 2 {Review Quiz}🌳

Assessment

Quiz

Other

8th Grade

Practice Problem

Medium

Created by

Mrs. O'Keefe

Used 57+ times

FREE Resource

AI

Enhance your content in a minute

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

41 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

🌟Which of the following commands is a valid Karel command?

move

move;

move();

move()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

🌟🌟What makes the following command an invalid Karel command? turnleft();

It should end in a colon rather than a semicolon

The l should be a capital L

It should start with a capital T

This command is correct

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() { turnLeft(); turnLeft(); }

function turnRight() { turnLeft(); turnLeft(); turnLeft(); turnLeft(); }

function turnRight() { turnLeft(); turnLeft(); 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 the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

🌟If Karel starts at Street 1 and Avenue 1, facing East, where will Karel be, and what direction will Karel be facing after running the following code? (Assume the world is 10x10 in size)

Street 3, Avenue 1, Facing North

Street 1, Avenue 4, Facing North

Street 1, Avenue 3, Facing South

Street 1, Avenue 3, Facing North

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

🌟If Karel starts at Street 1 and Avenue 1, facing East, where will Karel be, and what direction will Karel be facing after running the following code? (Assume the world is 10x10 in size) move(); turnLeft(); putBall(); turnLeft(); turnLeft(); turnLeft(); move(); turnLeft();

A) Street 2, Avenue 1, Facing West

B) Street 3, Avenue 1, Facing North

C) Street 1, Avenue 2, Facing South

D) Street 3, Avenue 2, Facing East

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

🌟In this code, how many times is the dance function called and how many times is it defined?🌟

Called 1 time, defined 1 time

Called 1 time, defined 3 times

Called 3 times, defined 1 time

Called 3 times, defined 3 times

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?