Midterm REVIEW-2025-26 Intro to Comp Programming HN

Midterm REVIEW-2025-26 Intro to Comp Programming HN

Assessment

Flashcard

Computers

9th Grade

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

40 questions

Show all answers

1.

FLASHCARD QUESTION

Front

Which of these is a valid Karel command? move, MOVE, move(), move(1)

Back

move()

2.

FLASHCARD QUESTION

Front

What type of error occurs when a program is expecting an integer value and the user enters a string?

Back

ValueError

3.

FLASHCARD QUESTION

Front

Which of the following functions successfully returns the number 10?
1.
def my_function():
10
2.
def my_function(10):
return
3.
def my_function():
return 10
4.
def my_function():
print(10)

Back

def my_function():
return 10

4.

FLASHCARD QUESTION

Front

Which of these is something Karel doesn’t know how to do? Turn Left, Turn Right, Move Forward, Put Down a Ball

Back

Turn Right

5.

FLASHCARD QUESTION

Front

How many times should Karel turn left in order to turn right?

Back

3

6.

FLASHCARD QUESTION

Front

What can be used to teach Karel to turn right?

Back

Functions

7.

FLASHCARD QUESTION

Front

Why do we use functions in programming?

Back

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

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?