B1.1 Approaches to computational thinking - IB Diploma Class 11 Computer Science Notes, Diagrams and Solved Questions
Decomposition, pattern recognition, abstraction and algorithmic design, with flowcharts, trace tables and real problems solved step by step in Python and Java.
In this chapter
Decomposing a problem into sub-problems and functions
Recognising patterns and replacing repetition with loops and functions
Abstraction: keeping only the details a model needs
Designing algorithms from sequence, selection and iteration
Reading and drawing flowcharts with the standard symbols
Dry-running algorithms with trace tables
Applying all four approaches to real problems
Iteration 3: nested loops, finding logic errors by tracing, and turning flowcharts into code