Search Header Logo
2.18.1 Introduction to Programming Unit Flashcard

2.18.1 Introduction to Programming Unit Flashcard

Assessment

Flashcard

Computers

7th Grade

Practice Problem

Easy

Created by

Wayground Content

Used 2+ times

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

Option 1

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?

Media Image

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

Media Image

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?

Media Image

Back

Street 3, Avenue 3, Facing East

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?