Codehs

Codehs

9th - 12th Grade

12 Qs

quiz-placeholder

Similar activities

Identidad Corporativa

Identidad Corporativa

10th Grade

15 Qs

Bài tập Tin học 11 (Tiết 6)

Bài tập Tin học 11 (Tiết 6)

11th Grade

13 Qs

Python Syntax II

Python Syntax II

10th Grade

16 Qs

Excel - basic

Excel - basic

9th Grade

15 Qs

Evaluasi Materi Integrasi Aplikasi Office

Evaluasi Materi Integrasi Aplikasi Office

10th Grade

15 Qs

11º Quiz-1 Mantenimiento de un PC

11º Quiz-1 Mantenimiento de un PC

9th Grade

10 Qs

Kuis Dadakan ;)

Kuis Dadakan ;)

10th Grade - University

15 Qs

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

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

8th - 11th Grade

10 Qs

Codehs

Codehs

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Thomas Martinez

FREE Resource

AI

Enhance your content in a minute

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

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a condition in Karel programming?

What karel does during the program.
A method that returns a true or false answer. Typically used within a control structure.
The number of times a program loops.
The place in code where the program stops running.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can we teach Karel new commands?

Define a new method
A for loop
A while loop
The run method

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why does a programmer indent their code?

Helps show the structure of the code.
Easier for other people to understand.
A key part of good programming style!
All of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is a valid Karel command in Java?

MOVE
move();
move()
move;

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is a valid Karel command in Java?

turnLeft();
turnleft();
turnLeft()
TurnLeft

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the name of the method that gets called to start a Java Karel program?

move()
run()
start()
go()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is the correct class signature for a Karel program named CleanupKarel?

CleanupKarel extends Karel
public CleanupKarel
public class CleanupKarel < Karel
public class CleanupKarel extends Karel

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

Already have an account?