Code Companion
Java

Programming foundations checkpoint

Additional challenges

Finished the core programming techniques before the rest of the class? Choose something that interests you and keep programming while other students finish, revisit or strengthen the techniques they still need. These are optional practice choices, not a rehearsal copy of the checkpoint exam.

Practice before the checkpoint exam

The final checkpoint exam is completed separately in class under teacher-controlled conditions. It is not published on this site.

Pick by interest

The choices deliberately feel different: logic puzzle, creative project, technical stretch or open brief. You do not need to choose the hardest-looking one.

Still catching up?

Do not start an additional challenge yet. Return to unfinished or weaker technique work and use this time to get secure.

Checkpoint exam

Your teacher runs the final controlled checkpoint separately in class when the group is ready.

Section boundary: these choices do not require arrays/lists, stacks, queues, searching, sorting or files. Those ideas belong to the next section.
Challenges Choose one

Choose a challenge that feels appropriate for you. Code heat is only a rough estimate, not a fixed level.

Change Calculator

Challenge ID: PC-X01 · Standards: B2.1.1, B2.3.2, B2.3.3, B2.3.4

Write a program that outputs change using the lowest possible number of standard UK coins: 200p, 100p, 50p, 20p, 10p, 5p, 2p and 1p. Work entirely in pence to avoid decimal rounding errors. Organise the calculation so the logic is easy to test, then try values such as 0p, 1p, 367p and a much larger amount.

Good if you want a compact algorithmic problem rather than a larger creative project.

Choose Your Own Adventure

Challenge ID: PC-X05 · Standards: B2.1.2, B2.3.2, B2.3.3, B2.3.4

Create a short original interactive story or text adventure. Give the player several meaningful choices, keep at least one piece of state that can change during the story, and use functions or methods to keep different scenes or responsibilities manageable. Validate choices rather than assuming perfect input. You may base the setting on a genre, game style or fictional world you enjoy, but write your own scenario and dialogue.

Keep the scope small enough to finish. A polished five-minute experience is better than an unfinished epic.

Advanced Expression Parser

Challenge ID: PC-X06 · Standards: B2.1.2, B2.1.3, B2.3.2, B2.3.4

Extend the expression parser so it accepts spaces, signed numbers and decimal operands while still supporting +, -, * and /. Separate token extraction, validation and calculation into methods. Report the location or cause of malformed input without crashing.

This is deliberately awkward. Choose it if you enjoy debugging edge cases and precise string processing.

Make Something Useful

Challenge ID: PC-X07 · Standards: B2.1.1–B2.1.4, B2.3.1–B2.3.4

Create a small console program that solves a problem you actually care about. It could calculate, convert, track, quiz, simulate or organise something. Start by writing one sentence explaining what the program is for, then choose only the programming techniques that genuinely help. Include a sensible decomposition into functions or methods and at least one input-validation or error-handling path. Test it with normal and awkward inputs.

You are not rewarded for forcing every technique into the program. A clear, purposeful design is the goal.