2024-2025 CodeHS Computer Science Principles Fall Final Review

2024-2025 CodeHS Computer Science Principles Fall Final Review

Assessment

Flashcard

Computers

9th - 12th Grade

Hard

Created by

Quizizz 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

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?