CodeHS Unit 1

CodeHS Unit 1

Assessment

Flashcard

Computers

9th - 12th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

16 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What is a condition in Karel programming?

Back

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

2.

FLASHCARD QUESTION

Front

How can we teach Karel new commands?

Back

Define a new method/function

3.

FLASHCARD QUESTION

Front

Why does a programmer indent their code?

Back

Helps show the structure of the code, Easier for other people to understand, A key part of good programming style!

4.

FLASHCARD QUESTION

Front

What is a method/function in Karel?

Back

A method is a command that Karel can do. It has a name and a set of instructions.

5.

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.

6.

FLASHCARD QUESTION

Front

If Karel is not on a tennis ball, and all directions around are clear, what will happen when running this code?

Back

Karel will go into an infinite loop

7.

FLASHCARD QUESTION

Front

Say you want to write a program to have Karel put down 300 tennis balls. Which control structure would you use?

Back

A for loop

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?