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
49 questions
CS172 Final Exam York College

Flashcard
•
KG - University
48 questions
Computer Science Principles Final Exam Review

Flashcard
•
9th - 12th Grade
47 questions
Python Programming, Final Review Part 2

Flashcard
•
9th - 12th Grade
55 questions
CS Unit 2 Test

Flashcard
•
9th - 12th Grade
50 questions
APCS Principles Semester 1 Final Review Part 2

Flashcard
•
11th Grade
50 questions
Exploring Computer Science Final Exam (Fall 2024)

Flashcard
•
9th - 12th Grade
50 questions
PLTW CS Essentials - Unit 1-2 review

Flashcard
•
8th - 12th Grade
50 questions
ACP Funds of CS December 2024 (Practice)

Flashcard
•
10th Grade - University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

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

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

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

Quiz
•
KG - University