You are on page 1of 3

6 Steps problem solving process Every day life

Problem Step 1 Step2 Step3 Step4 Step5 Step 6 Solution


(heuristic/ Identify the Understand Identify Select the best way to List the instructions Evaluate the solution (heuristic/
algorithmic) problem the problem alternatives solve the problem algorithmic)
Hungry Need food 1. Look for Option 2 1. Go downstairs to Problem solved?
mun the kitchen Efficiently? Cost?
2. Go to the 2. Search Fridge,
kitchen Cabinet, etc. Can be repeated?
and find 3. Consume the food
food

7 steps of program development process - Computing


Problem Step 1 Step2 Step3 Step4 Step5 Step 6 Step 7 Solution
(heuristic/ Define the Outline the Solution Develop an Test the Code the Run the Document (heuristic/
algorithmic) Problem algorithm algorithm algorithm program and maintain algorithmic)
the program

IPO Chart The major processing Pseudocode Desk checking Identify both This starts in
- Input steps involved Flowchart (Identify logic logic & step 1
- Processing The major subtasks (if errors) synthax errors
- Output any)
The user interface (if
any)
The major control
structures (e.g.
repetition loops)
The major variables and
record structures
The mainline logic

Refer to
another doc
Questions:

1. Mr. Lee needs to attend an important meeting in Penang tomorrow


morning, he intend to drive there in the evening and stay overnight at a
hotel so that he could be on time for the meeting. Just when he is to
push off, he discovered that his car could not start. Advise Mr. Lee on
the process to solve his problem through the six steps of problem solving
process identify and explain how each steps can be achieved.

Is your solution heuristic or algorithmic?

2. The marketing director of ABC company approach you to develop a system to


calculate the time taken to reach a destination given the following equation. v =
d/t. where v represent velocity, d represent distance and t as time taken. State
how you can develop the system using the seven steps of program development
and explain what is needed in each step.

You might also like