Chapter 1.6 Problem Solving
Chapter 1.6 Problem Solving
Problem Solving
Techniques
Chapter 1
PROGRAMMING
DEC20012 FUNDAMENTALS
OBJECTIVES
C
At the end of lesson, students should be
able :
Chapter 2 • List the stages involved in problem
solving
• List & explain the elements (Input,
Process, Output) of problem analysis.
• Determine the Input, Process & Output
for a given problem.
• List, explain & apply the various design
tools:
• Pseudocode
• Flowchart
ZEDZ@PSIS
• IPO Chart
www.company.com
OBJECTIVES
C
cont:
ZEDZ@PSIS
www.company.com
PROBLEM SOLVING PHASE ?
C
Process of system development
Chapter 2
System
Analysis Design
Requirement
ZEDZ@PSIS
www.company.com
PROBLEM SOLVING PHASE ?
C
Understand the
Chapter 2 problem: System
Requiremen Analysis Design
- Input t
-Output
- Process
Maintenanc System
Code
e Test
ZEDZ@PSIS
www.company.com
PROBLEM SOLVING PHASE ?
C
Maintenanc System
Code
e Test
IPS!
T
Algorithm – steps to solve problem by using a computer.
ZEDZ@PSIS
www.company.com
PROBLEM SOLVING PHASE ?
C
Chapter 2 System
Converting design to
Requiremen Analysis Design
computer codes.
t
e.g. Flowchart 🡪 C
program
Maintenanc System
e Test Code
ZEDZ@PSIS
www.company.com
PROBLEM SOLVING BY IPO TABLE
C
• How to create an IPO table:
• Establish input & output components
Chapter 2 • Establish the actions required
ZEDZ@PSIS
www.company.com
PROBLEM SOLVING BY IPO TABLE
C
• Step by step:
• Underline all the input values that
Chapter 2 must be entered by the user.
• Underline the output values that
should be generated by the program.
• Underline all the verbs.
• Write the input variable names in
the input column.
• Write the output variable names in
the output column.
• Write the processing steps in the
process column.
ZEDZ@PSIS
www.company.com
PROBLEM SOLVING BY IPO TABLE
C
• Example 1:
ZEDZ@PSIS
www.company.com
PROBLEM SOLVING BY IPO TABLE
C
• Example 2:
ZEDZ@PSIS
www.company.com