Search Header Logo
CS Semester Exam 2025

CS Semester Exam 2025

Assessment

Flashcard

•

Computers

•

9th Grade

•

Practice Problem

•

Hard

Created by

BRUCE BARRERA

FREE Resource

Student preview

quiz-placeholder

35 questions

Show all answers

1.

FLASHCARD QUESTION

Front

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

Back

move();

2.

FLASHCARD QUESTION

Front

Why is the following command an invalid Karel command?
turnleft();

Back

The l should be a capital L

3.

FLASHCARD QUESTION

Front

What is the correct way to define a turnRight function in Karel?

Back

function turnRight() {
turnLeft();
turnLeft();
turnLeft();
}

4.

FLASHCARD QUESTION

Front

Why do we use functions in Karel programs?

Back

All of the above

5.

FLASHCARD QUESTION

Front

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

Media Image

Back

Row 3, Column 3, Facing East

6.

FLASHCARD QUESTION

Front

In this code, how many times is the dance function called and how many times is it defined?

Media Image

Back

Called 3 times, defined 1 time

7.

FLASHCARD QUESTION

Front

How many total times will Karel move in this program?

Media Image

Back

6

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?