Introduction to Problem Solving - CBSE Class 11 Computer Science Notes, Diagrams and Solved Questions

How programmers solve problems: analyse, write an algorithm, code, test and debug. Draw flowcharts, write pseudocode, turn it into Python, dry-run it and break big problems into smaller parts.

In this chapter

  • The five steps: analyse, algorithm, code, test, debug
  • What makes a good algorithm
  • Flowchart symbols, with a flowchart you can run step by step
  • Writing pseudocode with INPUT, IF, WHILE and PRINT
  • Turning an algorithm into a Python program
  • Test cases, dry runs and the three kinds of errors
  • Decomposition: splitting a big problem into parts