Problem-solving and Program Design
Problem-solving and Program Design
Design
Problem solving-General
• Define the problem
• Analyse the problem
• Suggest possible solutions
• Evaluate and choose the best solution
• Implement and review
Problem-solving using computers
start
write area
stop
Flowchart Symbols
Top down Design
• Computer programmers use a divide and conquer
• Three types
– sequencing,
– selection
– iteration.
Program Constructs or Control Structures