CodeHS Unit 1

CodeHS Unit 1

Assessment

Flashcard

Computers

9th - 12th Grade

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.

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?