Variables, if statements, and loops
See how programs remember values, make decisions, repeat useful work, and stop at the intended time.
Search the learning library
Use the words you remember. Search lessons, paths, student explanations, and AP topics in one place.
Results
See how programs remember values, make decisions, repeat useful work, and stop at the intended time.
AP Computer Science A · Unit 2: Selection and Iteration.
AP Computer Science A · Unit 2: Selection and Iteration.
Learn how code gives instructions, how systems transform inputs, and how engineers test designs.
Move from a broad business idea to a clear customer, useful benefit, and evidence you could gather before making a larger commitment.
See homeostasis as active adjustment: a system detects change and responds to keep a condition within a workable range.
Read food-web arrows as energy pathways and explain why less usable energy reaches higher trophic levels, or feeding levels.
Follow what moves between connected parts, see how one part’s output can become another part’s input, and use feedback to explain how a system adjusts.
Separate what a business earns, when cash moves, and how much cash is available so similar-looking numbers do not get confused.
Move variable terms to one side, move constants to the other, and check whether the result is one solution, no solution, or every value.
Track where water and carbon can be stored, what moves them, and how one change can affect several connected parts of an ecosystem.
Learn from another student
Browse what students have published, or search for the exact topic that is giving you trouble.
Searching student explanations.
Searching student explanations…