Please enable JavaScript.
Coggle requires JavaScript to display documents.
Ch.21 Problem-solving Procedures - Coggle Diagram
Ch.21 Problem-solving Procedures
21.1 problem-solving concepts
Subproblem
Hard problem >> Hard subproblem >> Easy subproblem
Divided and conquer
Easy subproblem >> Hard subproblem >> Hard problem
21.2 Problem-solving Procedures
Algorithm design
Flowchart
Pseudocode
Developing a solution
Top-down approach
(Subproblem)
Processing steps (logic used)
Outputs (information returned)
A description of inputs (data received)
Problem analysis
Input-Process-Output chart (IPO chart)
Debugging and testing
Testing
Logic error (result not match)
Run-time error (grammar)
Syntax error (spelling)
Debugging
Problem identification
Asking questions
Documentation
Two types of readers
Users
Programmers
Two main types of written documentation
User manuals
(Common users)
Non-technical
Program manuals
(Programmers)
Technical
21.4 Different Ways to Solve the Same Problems
The top-down approach
The bottom-up approach