1/30
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai | Chat |
|---|
No analytics yet
Send a link to your students to track their progress
Why would you use a for loop in a program?
To loop a block of code for a fixed number of times.
Which code correctly uses a for loop to have Tracy draw a square?
pendown(); for i in range(4): forward(100); right(90)
What is the correct Python inline comment?
# This is a comment
How do you properly call the function four_squares?
four_squares()
How does computing empower creativity?
By enabling new forms of digital art, media, and interaction.
What is the main purpose of a simulation?
To replace real experiments with a safe, cost-effective model.
What does scalability mean in computing?
A system's ability to handle increased workload or users.
What is digital equity?
Everyone has equal access to computing tools and opportunities.
What is an important benefit of computational thinking?
Breaking complex problems into smaller parts.
What is a good example of top-down decomposition for a Karel hurdle program?
Create functions for major subtasks: run to a hurdle, jump a hurdle, run to the end, and place a ball tower.
If a robot faces north and ROTATE_LEFT() is executed 3 times, which direction does it face?
East.
What loop is used for iterating over a sequence?
for loop
What loop executes statements as long as a condition is true?
while loop
What is top-down design?
Breaking a big problem into smaller pieces.
What is a function?
A command you invent and name that breaks a program into smaller, easier-to-understand parts.
Why is documentation important in computing projects?
It explains how systems work and supports maintenance.
Why is binary important in computing?
Computers process two possible states: on and off.
What is the purpose of encryption?
To scramble information so only authorized users can read it.
How do you create a function in Python?
def myFunction():
What is a network?
A group of computers connected to share resources.
George goes to a movie if there is a 4 PM or 7 PM showing AND he has more than $14. When will he go?
If he has $15 and there is a showing at 7 PM.
What is the binary number system made up of?
0s and 1s. Example: 1010.
How can programmers evaluate whether an algorithm is good?
Check its speed and correctness.
What is a computing system?
A mix of hardware and software that works together.
Give an example of a morning routine function.
def morning_routine(): wake_up(); get_dressed(); brush_teeth(); eat_breakfast(); get_in_car()
Why are functions helpful?
They clean up code, avoid repetition, and simplify problem solving.
How many bits are in a byte?
8 bits.
What is a benefit of using a library created by another programmer?
You can use existing functionality without writing all the code from scratch.
How is a computer program typically developed?
Through repeated testing and refinement.
What demonstrates effective collaboration when developing an app?
Team members share ideas, divide responsibilities, and give feedback on each other's work.
What is pseudocode?
A set of instructions written in plain language or English.