Codehs

Codehs

9th - 12th Grade

12 Qs

quiz-placeholder

Similar activities

CodeHS Unit 1-6

CodeHS Unit 1-6

9th - 12th Grade

12 Qs

Codehs Concepts of Programming

Codehs Concepts of Programming

9th Grade

15 Qs

Codehs Concepts of Programming Karel

Codehs Concepts of Programming Karel

9th Grade

15 Qs

CodeHS 5.1

CodeHS 5.1

9th - 12th Grade

15 Qs

JavaScript Knowledge & Skills

JavaScript Knowledge & Skills

9th - 12th Grade

15 Qs

CodeHS Unit 1

CodeHS Unit 1

9th - 12th Grade

12 Qs

Code HS Tech Apps and Coding

Code HS Tech Apps and Coding

9th - 12th Grade

12 Qs

Codehs

Codehs

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Charles Martinez

FREE Resource

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?