Outline the steps in problem solving
Decompose a simple problem into its significant parts
Understand the variables, constants and data types used when solving problems on a computer.
Explain and develop algorithms
Represent algorithms in pseudocode or flowcharts
Topics to be covered
The Processing Cycle
We are faced with different types of problems in our everyday life. Every problem requires a solution to resolve it. There maybe more than one solution to a problem.
Problem-solving involves identifying, analyzing and resolving problems using logic, reasoning skills and analytical skills. A problem is a discrepancy between what is required and what exists. Problem can be simple or complex depending on its nature. A single-task problem is usually a relatively simple problem, whereas a multi-task problem is usually more complex and may require more resources to solve.
A solution is a procedure consisting of a set of instructions that, if followed in order, achieve the required result.
Problem solving is the thought process that requires a critical analysis of the situation (the problem) and careful consideration of possible ways of overcoming the problem.
The program development process starts with a problem and ends with a solution
Steps in Problem Solving
Stage 1: Definition of the problem
The actual problem is identified. The problem must be looked at carefully and if it is not phrased properly, then it should be modified to ensure clarity.
Stage 2: Analyze the problem
Identify the inputs to be used, outputs required, values to be stored (if any) and the processing that needs to be done to get the correct outputs.
Inputs will be the instructions that are needed to solve the problem
Processing will be working with given instructions
Output will be the expected results and
Storage will be