Topic 2
Topic 2
CBSC4103
DR. MARIAYEE DORAISAMY
TOPIC2
PROBLEM DEFINITION
ALGORITHM
(Characteristics / Pseudo code)
CONTROL STRUCTURE
(iterative / recursive )
DEFINITION
What is a problem ?
A situation, person, or thing that needs attention and needs to be
solved.
Problem Decision
Idea
To identify the Determine which idea to be
Generate all the
problem taken to solve the problem
relevant idea to solve
problem
Solution Implement
Ideas
Problem Decision
Idea
Dengue Problem Assume Fogging is most
• Fogging
increasing at the suitable idea then make the
• Gotong-Royong
residential area decision by choosing Fogging
• Penalties
to solve the problem.
• Continuous Monitoring
Solution Implement
Ideas
• Project Manager realised the project running out • Based on the SWOT Analysis result, chose one of the best problem
the schedule solution
Step 2: Generate possible solutions. • Let say, out of three generated problem solution, the solution of -
Add in more programmers in to a project is more reliable to solve
• Add in more programmers in to a project the running out schedule.
• Revise back each development module Step 5: Implement the solution.
• Request additional time from business owner • Next, you implement the solution by adding more programmers who
Step 3: Evaluate alternatives. has expertise and experience to develop the software more faster.
• Evaluate each possible solutions by deciding the Step 6: Evaluate the outcome.
pros and cons. Once implemented the solution, now you evaluate whether the project
back to estimated schedule or not .
• Use SWOT (Strengths, Weaknesses, Opportunities,
and Threats) analysis for each possible solution. • If yes , then you managed to solve the problem.
(one of the technique. You may use other • If no, then you may try to adapt other solution that was generated
techniques as well) earlier.
PROBLEM SOLVING
STATEGIES
Can be unidirectional or
1
Linear Strategy bidirectional
Task D
VTask E
Task A Task C
Task B Task D
VTask E
else
printf( “You are Not Eligible );
Revision Questions
Topic 2
❑ What is Problem?
❑ What is Problem Solving?
❑ What is Problem Solving Process ?
❑ What is Problem Solving Strategies?
❑ What is Algorithm?
❑ What is characteristics of Algorithm?
❑ Types of Control Structure?
Thank You