Search Header Logo

CodeHS - Unit 5 - Into to Programming with Karel

Authored by Wayground Content

Computers

9th Grade

CodeHS - Unit 5 - Into to Programming with Karel
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

18 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can we improve the following program?

function start() {

move();

move();

move();

move();

move();

move();

move();

move();

move();

}

Break down this program into more functions

Use a for loop to repeat the move command

Use a while loop to repeat the move command

Fix the indentation of this program

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can we teach Karel new commands?

For loop

While loop

Define a new function

The main function

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the start function?

A function that starts.

It is the main body of a program, where all other functions are called up.

It is the start of a racing program.

It is another function like all others that can be written with any definition you want.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a "bug" in programming?

an error in a code

a scratch on the screen

something is wrong with the computer

none of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What is a condition in Karel programming?

The place in code where the program stops running.

A method that returns a true or false answer. Typically used within a control structure.

The number of times a program loops.

What karel does during the program.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is programming?

a set of related activities

someone who knows how to program

giving the computer a set of commands

a language where the codes are written in text

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why is the following command an invalid Karel command?

turnleft();

It should end in a colon rather than a semicolon

The l should be a capital L

It should start with a capital T

This command is correct

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?