2024-2025 CodeHS Computer Science Principles Fall Final Review

2024-2025 CodeHS Computer Science Principles Fall Final Review

Assessment

Flashcard

Computers

9th - 12th Grade

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

55 questions

Show all answers

1.

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.

2.

FLASHCARD QUESTION

Front

What is a code comment?

Back

A way to give notes to the reader to explain what your code is doing.

3.

FLASHCARD QUESTION

Front

Why do we use if statements in Python?

Back

To do something only if a condition is true

4.

FLASHCARD QUESTION

Front

Which general if statement definition is written correctly?

Back

Media Image

5.

FLASHCARD QUESTION

Front

What does an if/else statement look like in Python?

Back

Media Image

6.

FLASHCARD QUESTION

Front

Why do we use if/else statements in Python?

Back

To do something if a condition is true and do something else if the condition is false

7.

FLASHCARD QUESTION

Front

Why do we use while loops in Python?

Back

To repeat some code while a condition is true

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?