๐ WAYPOINT LESSON
The eight-step workflow
โญโญ intermediateโณ 12 min read๐ Lesson 134 of 256
Read, extract, decompose, write simple, trace, edge-check, review.
The eight-step FRQ workflow โ run it identically on every question:
- Read the WHOLE prompt including the example runs before writing anything. The examples at the bottom are executable specifications: they define edge cases the prose implied.
- Circle the signature(s) and write them at the top of your answer space. Signatures are given; do not "improve" them.
- Extract the obligations โ one bullet per behavior, in order. ("adds", "returns -1 when", "does not modify").
- Decompose: does this need a helper? Two loops? A seeded accumulator? Name the machines (Module 12's diagnosis, now under time pressure).
- Write the simplest correct implementation. No cleverness; no streams; plain loops and ifs. The rubric rewards correctness and clarity, never style points.
- Test against the examples by hand-tracing your own code โ the trace table, one row per loop iteration.
- Check the edge cases the prose hinted at: empty, single, absent, boundary values, the "otherwise" branch.
- Review against the specification โ reread every obligation bullet and confirm the code honors each. This 30-second pass is the highest-points-per-second activity on the entire exam.
Steps 5โ8 are where points live; steps 1โ4 are where points are saved.
โก Now practice
Ready to CodeFRQ fundamentals labTwo-method shapes, state machines, and a composed counter.
4 challenges ยท ยท ~60 min