Y8 Java (Karel the dog)

Y8 Java (Karel the dog)

8th - 9th Grade

10 Qs

quiz-placeholder

Similar activities

Quiz 1: Programming in Scratch

Quiz 1: Programming in Scratch

8th Grade

10 Qs

U0FV2 Scientific Method

U0FV2 Scientific Method

9th Grade

12 Qs

windows

windows

5th - 9th Grade

13 Qs

KS3 Vector Graphics Topic Assessment

KS3 Vector Graphics Topic Assessment

6th - 8th Grade

14 Qs

Лазарус, події

Лазарус, події

8th Grade

12 Qs

Technology Week HTG Quiz - Monday

Technology Week HTG Quiz - Monday

7th - 12th Grade

10 Qs

Web Development Vocabulary Words

Web Development Vocabulary Words

6th - 8th Grade

12 Qs

MS Word Review

MS Word Review

9th Grade - Professional Development

10 Qs

Y8 Java (Karel the dog)

Y8 Java (Karel the dog)

Assessment

Quiz

Computers

8th - 9th Grade

Hard

Created by

matthew dallimore

Used 53+ 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

2 mins • 1 pt

Which function will turn Karel around?

function turnAround()

turnLeft();

turnLeft();

turnLeft();

}

function turnAround(){

turnLeft();

turnLeft();

turnLeft();

}

function turnAround(){

turnLeft();

turnLeft();

turnleft();

}

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How do we get a function to run in our program?

We write it when we want to use it in a program

We call it when we want to use it in a program

We can set a time for it to run

It runs automatically

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Which is the correct code?

turnLeft();

putBall();

move():

putBall();

move();

turnLeft();

putBall()

move()

putBall:

move();

turnLeft();

putBall();

move():

putall:

move();

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Karel is stood at position (dot) 0,0. What position is the dot 2 places after Karel and 1 up?

2,1

1,2

0,2

2,0

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

I want Karel to move, drop a ball and move once again. Which is the correct code?

function dropball(){

move();

putball();

move();

}

function dropball(){

putBall);

putBall();

move();

}

function dropball(){

move();

putBall();

move();

}

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

I need Karel to get to coordinate 0,3. Which code is correct?

move();

turnLeft();

move();

move();

turnLeft();

move();

move();

move();

move();

turnLeft();

move();

turnLeft();

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the least number of times Karel needs to move forward (East) to complete this program? she starts at 0,0

2

3

4

5

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