CodeHS Unit 1

CodeHS Unit 1

Assessment

Flashcard

Computers

9th - 12th Grade

Practice Problem

Easy

Created by

Angie Hutson

Used 1+ times

FREE Resource

Student preview

quiz-placeholder

27 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? Options: Define a new function, A for loop, A while loop, The run method

Back

Define a new function

3.

FLASHCARD QUESTION

Front

Why does a programmer indent their code? Options: Helps show the structure of the code, Easier for other people to understand, A key part of good programming style!, All of the above

Back

All of the above

4.

FLASHCARD QUESTION

Front

Which of these is a valid Karel command in JavaScript?

  • MOVE
  • move();
  • move()
  • move;

Back

move();

5.

FLASHCARD QUESTION

Front

Which of these is a valid Karel command in Java? Options: turnLeft();, turnleft();, turnLeft(), TurnLeft

Back

turnLeft();

6.

FLASHCARD QUESTION

Front

What is a function in Karel?

Back

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

7.

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.

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?