Unit 4 Review

Unit 4 Review

Assessment

Flashcard

Computers

9th - 12th Grade

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

30 questions

Show all answers

1.

FLASHCARD QUESTION

Front

Which of these is a valid Java Karel command? putBall; putBall(); putBall() putBall(5);

Back

putBall();

2.

FLASHCARD QUESTION

Front

If Karel is facing East and the following code runs, which direction is Karel facing now?
turnLeft();
turnLeft();
turnLeft();

Back

South

3.

FLASHCARD QUESTION

Front

If Karel starts at Street 1 and Avenue 2 facing North, what street and avenue will Karel be on after this code runs? move(); move(); move(); turnAround(); move();

Back

Street 3 and Avenue 2

4.

FLASHCARD QUESTION

Front

What is the method that is called to start a Karel program?

Back

The run method

5.

FLASHCARD QUESTION

Front

Which of the following is a way to teach Karel new commands? A method, A class, The run method, turnRight();

Back

A method

6.

FLASHCARD QUESTION

Front

A code _______ is a way to give notes to the reader to explain what your code is doing.

Back

comment

7.

FLASHCARD QUESTION

Front

How do you write a Karel class?

Back

public class FunProgram extends Karel

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?