Problem Solving in Computer Science | |
---|---|
Definition | Process of analyzing a situation and behaving accordingly to generate a response |
Simple Problem Solving (4 steps) | 1. Define and analyze a problem 2. Design a plan (Algorithm) 3. Implement the plan (Code) 4. Evaluate |
Complex Problem Solving (6 steps) | 1. Define and analyze a problem 2. Decompose the problem 3. Identify potential plans for each sub-problem 4. Select and design best plan 5. Implement that plan 6. Evaluate |
Important Considerations | - Thoroughly investigate before acting - Properly define and analyze the problem - Ensure clarity and specify objectives when defining |