Computer Science · Theme B: Computational thinking and problem-solving
B2.1 — Programming fundamentals
Computer Science · SL / HL · syllabus-mapped notes
CS_B2.1.1
Variables, data types and scope
Constructing and tracing programs with global and local variables of the five data types.
CS_B2.1.2
Extracting and manipulating substrings
Identifying and extracting substrings, then altering, concatenating or replacing them.
CS_B2.1.3
Exception handling techniques
Points of failure and the try/catch, try/except and finally constructs.
CS_B2.1.4
Common debugging techniques
Trace tables, breakpoints, print statements and step-by-step execution.