2.18.1 Introduction to Programming Unit Flashcard

2.18.1 Introduction to Programming Unit Flashcard

Assessment

Flashcard

Computers

7th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

25 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What makes the following command an invalid Karel command?
turnleft();

Back

The l should be a capital L

2.

FLASHCARD QUESTION

Front

Which of the following commands is a valid Karel command? move, move;, move();, move()

Back

move();

3.

FLASHCARD QUESTION

Front

Which of the following is the correct way to define a turnRight function in Karel? Options: Option 1, Option 2, Option 3, Option 4

Back

Media Image

4.

FLASHCARD QUESTION

Front

Why do we use functions in Karel programs?

Back

Break down our program into smaller parts, Avoid repeating code, Make our program more readable.

5.

FLASHCARD QUESTION

Front

If Karel starts at Street 1 and Avenue 1, facing East, where will Karel be, and what direction will Karel be facing after running the following code?

Back

Street 1, Avenue 3, Facing North

6.

FLASHCARD QUESTION

Front

What’s wrong with this code? Options: The go function is called twice, The go function has a syntax error, The go function has been defined twice, The go is not a command that Karel understands

Back

The go function has been defined twice

7.

FLASHCARD QUESTION

Front

Karel starts at Street 1 and Avenue 1, facing East. After calling the stairStep function twice, where will Karel be and what direction will Karel be facing?

Back

Street 3, Avenue 3, Facing East

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?