Search Header Logo

CodeHS Unit 1.1-8 Quiz Review 2

Authored by Cargil John Sab

Computers

10th Grade

Used 3+ times

CodeHS Unit 1.1-8 Quiz Review 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

22 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

If Karel starts at Street 1 and Avenue 3 facing East, what row and column will Karel be on after this code runs?
move();
move();
move();
turnLeft();
move();

Street 2 and Avenue 6
Street 2 and Avenue 4
Street 3 and Avenue 3
Street 1 and Avenue 3

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

If Karel is facing North and the code
turnLeft();
turnLeft();
turnLeft();
turnLeft();
turnLeft();

West
East
North
South

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the run method in a Java program with Karel?

A method that always makes Karel move in a square.
The method that is called just before the program ends.
The method that is called to start a Karel program.
The method that is called in order to move Karel one space forward or backward.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why can't we use
turnRight();
for Karel to turn right immediately?

She does not know the command.
It should be turnright();
It should be TurnRight();

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following can be used to comment in the code?

/
//
///
////

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command will place a ball down in a spot?

placeBall();
Putball();
putball():
putBall();

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a street in a Karel world??

A row.
A column.
A single point.
Karel's position.

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?