Please enable JavaScript.
Coggle requires JavaScript to display documents.
Ch.21 Promlem-solving Producers - Coggle Diagram
Ch.21 Promlem-solving Producers
21.1 Problem-solving Concepts
problem solving
the process of analysing the description of a problem until we reach a solution
easy problem
hard problem
easy problem
21.2 Problem-solving Producedurs
6 steps:
problem identification
asking question about the problem can help identify the problem more clearly
problem analysis
use an IPO chart to analyse the problem
algorithm design
2 common ways:
Pseudcode
Flowchart
developing a solution
The top-down approach
use the divide-and-conquer
debugging and testing
debugging
testing
3 types of errors:
syntax error
Run-time error
Logic error
Documentation
21.4 Different Ways To Solve the Same Problems
slove by top-down or bottom-up approach
top- down
start at the system lever or the abstract level and divides the task into several manageable modules
bottom-up
start at the component level or the concrete level; and the components are grouped together to from system