Skip to content
Curriculum Study Notes

From a problem statement to a working algorithm

From a problem statement to a working algorithm

A practical study method for introductory computing and problem-solving modules.

Introductory computing asks students to reason about a problem before choosing a programming language. Begin by listing what is known, what must be produced and which constraints the solution must respect. A study-hours calculator, for example, needs available hours and the number of subjects before it can produce a useful allocation.

Work through one example by hand. Write the steps as plain-language pseudocode, using a decision only where the outcome depends on a condition and a loop only where an operation repeats. This makes the reasoning visible and helps a tutor distinguish a planning mistake from a syntax mistake.

Testing belongs in the plan. Include a normal case, a boundary case and an invalid input. If your program calculates an average, decide what happens when the input list is empty. A clear answer to that question is part of the solution, not an optional extra.

For this week's practice, exchange pseudocode with a classmate and ask them to execute it on paper. Revise any ambiguous instruction, then implement the steps. The Python Problem Solving short course provides a small project for applying this routine alongside the computing curriculum.

Share:

Comments 0

Login To join the conversation

  • No comments yet

Featured Blog

See more