CodeHS - Unit 5 - Into to Programming with Karel

CodeHS - Unit 5 - Into to Programming with Karel

Assessment

Flashcard

Computers

9th Grade

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

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?