Stores information (a value) that the program can use and change.
What is a variable?
A shape or text you can draw and display (circle, rectangle, line, text).
What is a Graphical Object
What does an if statement allow a program to do?
Make a decision and run code only when a condition is true.
Repeats code while a condition is true.
What is a while loop
Gas do plants take in for photosynthesis
What is Carbon dioxide (CO₂)?
Text in quotes
What is a string?
Difference between a circle and a rectangle in graphics programming?
What is a circle is defined by a center and radius; a rectangle is defined by width and height (and position).
What does an else do?
Runs a different block of code when the if condition is false.
must be true for a while loop to keep running
What is a Condition?
Number of continents are on Earth
What is 7?
An error causing the program to behave incorrectly.
What is a bug?
What does “position” mean for a shape on the screen?
What is Where the shape is located (its x/y location).
When would you use else if instead of multiple separate if statements?
What is when choices are mutually exclusive and only one path should run.
A loop that never stops because its condition never becomes false?
What is An infinite loop?
The fastest land animal
What is a Cheetah?
A clear step-by-step set of instructions to solve a problem.
What is an algorithm?
Why might a shape not show up even if you created it?
It wasn’t added to the canvas, it’s off-screen, or it blends into the background color.
Why does the order of conditions matter in an else if chain?
What is The first true condition runs, so earlier checks can prevent later ones from ever being reached.
The most common reason loops accidentally become infinite
What is The loop variable never updates (or updates in the wrong direction)?
The only mammal capable of true flight
What is a Bat?
What’s the difference between input and output?
Input is what the user/program provides; output is what the program shows/returns.
What does “layering” mean when two shapes overlap?
Shapes drawn/added later appear on top of earlier ones.
Give a real-life example of a decision with 3+ outcomes.
What is
If it’s raining → bring umbrella; else if it’s cold → bring jacket; else → wear normal clothes.
One strategy to make sure a loop eventually stops
What is update the loop control variable each iteration so the condition becomes false (or add a clear exit condition)?
Largest planet in our solar system
What is a Jupiter?