Why do we use functions in programming?
2024-2025 CodeHS Computer Science Principles Fall Final Review

Flashcard
•
Computers
•
9th - 12th Grade
•
Hard
Quizizz Content
FREE Resource
Student preview

55 questions
Show all answers
1.
FLASHCARD QUESTION
Front
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
5.
FLASHCARD QUESTION
Front
What does an if/else statement look like in Python?
Back
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
Similar Resources on Quizizz
55 questions
Python Baseline Test (PCAP I)

Flashcard
•
9th Grade - Professio...
50 questions
Practice Programming Finals

Flashcard
•
9th - 12th Grade
45 questions
Game Design and Programing Semster Review Part 1

Flashcard
•
9th - 12th Grade
48 questions
Python Semester Independant Review 2

Flashcard
•
9th - 12th Grade
52 questions
Coding Review

Flashcard
•
9th - 12th Grade
45 questions
Python Unit 1-2 Review

Flashcard
•
9th - 12th Grade
55 questions
Python 3 Loops

Flashcard
•
9th - 12th Grade
42 questions
AP CSP Unit 4 Review

Flashcard
•
9th - 12th Grade
Popular Resources on Quizizz
10 questions
Chains by Laurie Halse Anderson Chapters 1-3 Quiz

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
15 questions
Character Analysis

Quiz
•
4th Grade
12 questions
Multiplying Fractions

Quiz
•
6th Grade
30 questions
Biology Regents Review #1

Quiz
•
9th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade
Discover more resources for Computers
30 questions
Biology Regents Review #1

Quiz
•
9th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
14 questions
Attributes of Linear Functions

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University
50 questions
Biology Regents Review 2: Ecology

Quiz
•
9th - 12th Grade