3.1.1.2 Well-defined vs. ill-defined Problems
Algorithms and Problem Solving
Problems can also be categorized based on how clearly they are defined:
- Well-defined Problems: These problems have clear goals, inputs, processes, and outputs. For instance, the problem of determining if a number is even, is a well-defined problem because it has a clear goal (determine if the number is even), clear input (a single integer), a clear process (check if the number is divisible by 2), and a clear output (even or odd) as shown in Figure 3.1.
- Ill-defined Problems: These problems lack clear definitions or may have ambiguous goals and requirements. For instance, consider a project aimed at “improving education in Pakistan”. This goal is vague and broad. The input might include resources such as funding, teachers, and educational materials, but without clear specifications on how much funding is needed, what kind of teachers are required, or which educational materials are most effective.