CodeHS - Unit 5 - Into to Programming with Karel

CodeHS - Unit 5 - Into to Programming with Karel

Assessment

Flashcard

Computers

9th Grade

Practice Problem

Hard

Created by

Teri Miles

FREE Resource

Student preview

quiz-placeholder

18 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What is the start function?

Back

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

2.

FLASHCARD QUESTION

Front

What is a reason we use functions?

Back

Break down our program into smaller parts.

3.

FLASHCARD QUESTION

Front

What is another reason we use functions?

Back

To avoid repeating code and make it more readable.

4.

FLASHCARD QUESTION

Front

What is top down design?

Back

Top down design is a way of designing your program by starting with the biggest problem and breaking it down into smaller and smaller pieces that are easier to solve.

5.

FLASHCARD QUESTION

Front

What is a code comment?

Back

A way to give notes to the reader to explain what your code is doing

6.

FLASHCARD QUESTION

Front

Why is the following command an invalid Karel command? turnleft();

Back

The l should be a capital L

7.

FLASHCARD QUESTION

Front

What does the mystery function do? function mystery() { while (noBallsPresent()) { move(); } }

Back

Karel moves until it is on a ball

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