CodeHS Unit 1

CodeHS Unit 1

9th - 12th Grade

12 Qs

quiz-placeholder

Similar activities

Coding Quiz

Coding Quiz

6th - 10th Grade

15 Qs

IT - TYPING TUTOR

IT - TYPING TUTOR

9th Grade

10 Qs

PERANGKAT UNTUK MENGAKSES INTERNET - KELAS IX

PERANGKAT UNTUK MENGAKSES INTERNET - KELAS IX

9th Grade

10 Qs

Programming Terminology

Programming Terminology

12th Grade

10 Qs

Security and Ethics

Security and Ethics

9th - 12th Grade

17 Qs

CIA Mid-Term Review 1

CIA Mid-Term Review 1

9th - 10th Grade

17 Qs

flowol week 3

flowol week 3

9th - 12th Grade

17 Qs

Pre-Assessment: ICT 10 Orientation Day

Pre-Assessment: ICT 10 Orientation Day

10th Grade

10 Qs

CodeHS Unit 1

CodeHS Unit 1

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Used 371+ times

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?

Discover more resources for Computers