Y9 Java (Karel the dog)

Y9 Java (Karel the dog)

9th Grade

10 Qs

quiz-placeholder

Similar activities

Interfejsy USB i bezprzewodowe oraz urządzenia wskazujące i

Interfejsy USB i bezprzewodowe oraz urządzenia wskazujące i

9th - 12th Grade

10 Qs

Coding helps to Understand

Coding helps to Understand

6th - 10th Grade

10 Qs

C# lesson10

C# lesson10

1st - 10th Grade

10 Qs

Excel - basic

Excel - basic

9th Grade

15 Qs

exploring computer science

exploring computer science

9th - 12th Grade

15 Qs

J808 LO1 and LO2 planning project keywords / terms

J808 LO1 and LO2 planning project keywords / terms

9th - 11th Grade

15 Qs

Cyber Security Homework 1

Cyber Security Homework 1

7th - 9th Grade

15 Qs

Паскаль. Основные команды

Паскаль. Основные команды

8th - 11th Grade

10 Qs

Y9 Java (Karel the dog)

Y9 Java (Karel the dog)

Assessment

Quiz

Computers

9th Grade

Practice Problem

Hard

Created by

matthew dallimore

Used 18+ 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 SELECT QUESTION

1 min • 1 pt

Why do we use functions in programming?

Makes the code more efficient

Functions take less time to write

The program reads functions at a faster pace

Easier to debug/problem solve a program

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

for(var i = 1; i < 6; i++){

putBall();


How many times will a ball be placed?

5

6

7

8

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

for(var i = 0; i < 8; i++){

move();

How many times will Karel move?

5

6

7

8

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

function example() {

for(var i = 0; i < 3; i++){

turnLeft();

}

Karel starts facing East and finishes facing East

Karel starts facing East and finishes facing South

Karel starts facing East and finishes facing West

Karel starts facing East and finishes facing North

5.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Why do we use a for loop in programming

Easier to read

It's more efficient

To repeat an action a number of times

It helps with sequencing

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Which code is correct? Karel starts at 0,0.

for(var i = 0; i < 4; i++){

move();

}

putBall();

for(var i = 0; i < 2; i++){

move();

}

putBall();

for(var i = 0; i < 3; i++){

move();

}

putBall();

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

which code is correct? Karel starts at 0,0

for(var i = 0; i < 2; i++){

move();

turnLeft();

move();

}

putBall();

for(var i = 0; i < 3; i++){

move();

turnLeft();

move();

}

putBall();

for(var i = 0; i < 1; i++){

move();

turnLeft();

move();

}

putBall();

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?

Discover more resources for Computers