Finish your Theory of Knowledge essay and presentation before exam season to reduce stress
Learn the meaning of IB command terms (‘describe’, ‘analyse’, ‘evaluate’) and tailor your answers accordingly
Finish your Theory of Knowledge essay and presentation before exam season to reduce stress
22 subtopics
Units: arithmetic logic unit (ALU), control unit (CU)
Registers: instruction register (IR), program counter (PC), memory address register (MAR), memory data register (MDR), accumulator (AC)
Buses: address, data, control
Processors: single core processor, multi-core processor, co-processors
A diagrammatic representation of the relationship between the specified CPU components
The architecture that allows graphics processing units (GPUs) to handle specific tasks and makes them suitable for complex computations
Real-world scenarios may include video games, artificial intelligence (AI), large simulations and other applications that require graphics rendering and machine learning.
Differences in their design philosophies, usage scenarios
Differences in their core architecture, processing power, memory access, power efficiency
CPUs and GPUs working together: task division, data sharing, coordinating execution
Random-access memory (RAM), read only memory (ROM), cache (L1, L2, L3), registers
The interaction of the CPU with different types of memory to optimize performance
The relevance of the terms “cache miss” and “cache hit”
The basic operations a CPU performs to execute a single instruction in machine language
The interaction between memory and registers via the three buses: address, data, control
The instructions fetch, decode, execute
Write-back stages to improve the overall system performance in multi-core architectures
Overview of how cores in multi-core processors work independently and in parallel
Internal hard drives: solid state drive (SSD), hard disk drive (HDD), embedded multimedia cards (eMMCs)
External hard drives: SSD, HDD, optical drives, flash drives, memory cards, network attached storage (NAS)
The scenarios in which the various types of drive are used
The differences between lossy compression methods and lossless compression methods
Run-length encoding and transform coding
Services: software as a service (SaaS), platform as a service (PaaS), infrastructure as a service (IaaS)
The differences between the approaches of SaaS, PaaS, and IaaS in various real-world scenarios, recognizing that different degrees of control and flexibility influence resource management and resource availability
The representation of integers in binary and hexadecimal
Conversion of binary and hexadecimal integers to decimal, and vice versa
Conversion of integers from binary to hexadecimal, and vice versa
The fundamentals of binary encoding and the impact on data storage and retrieval
The mechanisms by which data such as integers, strings, characters, images, audio and video are stored in binary form
The purpose and use of logic gates
The functions and applications of logic gates in computer systems
The role of logic gates in binary computing
Boolean operators: AND, OR, NOT, NAND, NOR, XOR, XNOR
Truth tables to predict the output of simple logic circuits
Truth tables to determine outputs from inputs for a problem description
Truth tables and their relationship to a Boolean expression, with inputs and outputs
Truth tables derived from logic diagrams to aid the simplification of logical expressions
Karnaugh maps and algebraic simplification to simplify output expressions
Logic diagrams to demonstrate how logic gates are connected and interact in a circuit.
Use of standard gate symbols for AND, OR, NOT, NAND, NOR, XOR and XNOR gates
Inputs processed diagrammatically to produce outputs
Combinations of these gates to perform more complex logical operations
Boolean algebra rules to simplify complex logic diagrams and expressions
Operating systems abstract hardware complexities to manage system resources
Maintaining system integrity while running operating systems’ background operations
Memory management, file system, device management, scheduling, security, accounting, graphical user interface (GUI), virtualization, networking
Managing the execution of processes by allocating CPU time to optimize system performance
First-come first-served, round robin, multilevel queue scheduling, priority scheduling
Event frequency, CPU processing overheads, power source (battery or mains), event predictability, controlled latency, security concerns
Real-world scenarios may include keyboard and mouse inputs, network communications, disk input/output operations, embedded systems, real-time systems.
The challenges of multitasking and resource allocation, including task scheduling, resource contention and deadlock
The input, process, output, and feedback mechanism (open-loop, closed-loop)
Controller, sensors, actuators, transducers and control algorithm
Examples may include autonomous vehicles, home thermostats, automatic elevator controllers, automatic washing machines, traffic signal control systems, irrigation control systems, home security systems, automatic doors.
The mechanics and use-cases of each translation approach
The difference in error detection, translation time, portability and applicability for different translation processes, including just-in-time compilation (JIT) and bytecode interpreters
Example scenarios where the translation method should be considered must include rapid development and testing, performance-critical applications and cross-platform development.
17 subtopics
Networks: local area network (LAN), wide area network (WAN), personal area network (PAN), virtual private network (VPN)
Modern digital infrastructure: the internet, cloud computing, distributed systems, edge computing, mobile networks
Examples where specific networks are used may include the worldwide web (WWW), cryptocurrency blockchains, smart traffic lights, a school.
Gateways, hardware firewalls, modems, network interface cards, routers, switches, wireless access points
How devices map to the layers of the TCP/IP model
Protocols: transmission control protocol (TCP), user datagram protocol (UDP), hypertext transfer protocol (HTTP), hypertext transfer protocol secure (HTTPS), dynamic host configuration protocol (DHCP)
Application, transport, internet, network interface
The role of each layer and the interaction between these layers to ensure reliable data transmission over a network
Network topologies: star, mesh, hybrid
Factors to consider must include reliability, transmission speed, scalability, data collisions, cost.
Examples may include home and small office settings, where reliability is paramount, and the use of networks in larger settings (e.g. corporations, government departments, college campuses).
Types of servers: domain name server (DNS), dynamic host configuration protocol (DHCP), file server, mail server, proxy server, web server
Factors to consider must include function, scalability, reliability and security.
Client-server and peer-to-peer models
The respective benefits and drawbacks of client-server and peer-to-peer models
Real-world applications may include web browsing, email services, online banking, file sharing, VoIP services, blockchain.
Segmentation for network performance and security, to reduce congestion, to manage network resources efficiently
Network segmentation must include the uses and roles of segmenting, subnetting and virtual local area networks (VLANs).
The distinction between IPv4 and IPv6 addressing
The differences between public IP addresses and private IP addresses, and between static IP addresses and dynamic IP addresses
The role of network address translation (NAT) to minimize the use of IP addresses and to facilitate communication between private internal networks and the public internet
Wired transmission via fibre optic cables and twisted pair cables; wireless transmission
The advantages and disadvantages of these three types of data transmission
Factors to consider must include bandwidth, complexity of installation, cost, range, susceptibility to interference, attenuation, reliability, security.
The process of segmenting data into packets with a routing header attached, and independently transmitting control information, allowing the data to be reassembled at the destination
The role that switches and routers play in packet switching
The process of static routing, and its advantages and disadvantages
The process of dynamic routing, and its advantages and disadvantages (explanation of a specific routing protocol is not required)
Factors to consider must include configuration, maintenance, complexity, resource usage, convergence, scalability, network size.
The function of firewalls in inspecting and filtering incoming and outgoing traffic based on whitelists, blacklists and rules
The strengths and limitations of firewalls
The role of NAT to enhance network security
Distributed denial of service (DDoS), insecure network protocols, malware, man-in-the-middle (MitM) attacks, phishing attacks, SQL injection, cross-site scripting (XSS), unpatched software, weak authentication, zero-day exploits
Content security policies, complex password policies, DDoS mitigation tools, email filtering solutions, encrypted protocols, input validation (filtering, whitelisting), intrusion detection systems (IDS), intrusion prevention systems (IPS), multifactor authentication (MFA), secure socket layer (SSL) certificate, transport layer security (TLS) certificate, update software, VPNs
The importance of regular security testing and employee training
Wireless security measures may include media access controllers (MAC), whitelists and blacklists.
The difference between symmetric and asymmetric cryptography
The role of digital certificates in establishing secure network connections
The use of public and private keys in asymmetric cryptography
The significance of encryption key management
18 subtopics
Features: composite keys, foreign keys, primary keys, relationships, tables
Benefits of databases: community support, concurrency control, data consistency, data integrity, data retrieval, reduced data duplication, reduced redundancy, reliable transaction processing, scalability, security features
Limitations of databases: “big data” scalability issues, design complexity, hierarchical data handling, rigid schema, object-relational impedance mismatch, unstructured data handling
Conceptual schema, logical schema, physical schema
Abstract definitions of the data structure and organization of the data at different levels
The significance of entity relationship diagrams (ERDs) in crafting organized, efficient database designs tailored for specific applications
The relationships between different data entities within a database
The roles of cardinality and modality in defining relationships in ERDs
The importance of data type consistency
The potential effects of choosing the wrong data type
The relationship between tables using primary keys, foreign keys, composite keys and concatenated keys
The importance of well-defined tables in ensuring data integrity
First normal form (1NF), second normal form (2NF), third normal form (3NF)
The terms atomicity, unique identification, functional dependencies, partial-key dependencies, non-key/transitive dependencies
Normalization issues can encompass data duplication, missing data, and a range of dependency concerns, including data dependencies, composite key dependencies, transitive dependencies, and multi-valued dependencies.
Examples may include library management, hospital management, e-commerce platforms, school management, employee management, inventory management, police crime reporting
The advantages and disadvantages of normalizing and denormalizing databases
Situations where denormalization can enhance performance, particularly in read-intensive applications
The balance between straightforward query structures and the risk of data redundancy in denormalized schemas
Data language types must include data definition language (DDL) and data manipulation language (DML)
SQL statements to define data structures or to manipulate data
Queries must include joins, relational operators, filtering, pattern matching, and ordering data
SQL commands: SELECT, DISTINCT, FROM, WHERE, BETWEEN, ORDER BY, GROUP BY, HAVING, ASC, DESC, JOIN, LIKE with % wildcard, AND, OR, NOT (note: Syntax may vary in different database systems)
Insert new records (INSERT INTO), modify data (UPDATE SET), remove data (DELETE)
The performance implications of updating data in indexed columns, and how indexes might need to be rebuilt or reorganized following significant data modifications
Aggregate functions on grouped data to aid reporting and decision-making
Aggregate commands: AVERAGE, COUNT, MAX, MIN, SUM
Virtual views and materialized (snapshot) views
Hiding data complexity, data consistency, independence, performance, query simplification, read-only data or updatable data, security
The role of atomicity, consistency, isolation and durability (ACID) to ensure reliable processing of transactions
Transaction control language (TCL) commands: BEGIN TRANSACTION, COMMIT, ROLLBACK
Databases models: NoSQL, cloud, spatial, in-memory
Examples of the use of the database model in real-world scenarios may include e-commerce platforms, geographic information systems (GIS), managed services, real-time analytics, social media platforms, SaaS.
The roles of append-only data, subject-oriented data, integrated data, time-variant data, non-volatile data and data optimized for query performance, to ensure efficient data storage and analysis
Data mining techniques must include classification, clustering, regression, association rule discovery, sequential pattern discovery, anomaly detection (note: This links to “A4 Machine learning”).
The uses of the techniques in extracting meaningful information from large data sets
The need to maintain data consistency in a distributed database
The role of ACID to ensure reliable processing of transactions in distributed databases
Features of distributed databases: concurrency control, data consistency, data partitioning, data security, distribution transparency, fault tolerance, global query processing, location transparency, replication, scalability
17 subtopics
The different approaches to machine learning algorithms and their unique characteristics
Deep learning (DL), reinforcement learning (RL), supervised learning, transfer learning (TL), unsupervised learning (UL)
Real-world applications of machine learning may include market basket analysis, medical imaging diagnostics, natural language processing, object detection and classification, robotics navigation, sentiment analysis.
The hardware configurations for different machine learning scenarios, considering factors such as processing, storage and scalability
Hardware configurations for machine learning ranging from standard laptops to advanced infrastructure
Advanced infrastructure must include application-specific integrated circuits (ASICs), edge devices, field-programmable gate arrays (FPGAs), GPUs, tensor processing units (TPUs), cloud-based platforms, high-performance computing (HPC) centres.
The impact of data quality on model performance
Techniques for handling outliers, removing or consolidating duplicate data, identifying incorrect data, filtering irrelevant data, transforming improperly formatted data, and imputation, deletion or predictive modelling for missing data
Normalization and standardization as crucial preprocessing steps
Feature selection to identify and retain the most informative attributes of the data set
Feature selection strategies: filter methods, wrapper methods, embedded methods
The curse of dimensionality considerations may include overfitting, computational complexity, data sparsity, the effectiveness of distance metrics, data visualization, sample size increases, memory usage.
Dimensionality reduction of variables, while preserving the relevant aspects of the data
The relationship between the independent (predictor) and dependent (response) variables
The significance of the slope and intercept in the regression equation
How well the model fits the data—often assessed using measures like r².
K-Nearest Neighbours (K-NN) and decision trees algorithms to categorize new data points, based on patterns learned from existing labelled data
Real-world applications of K-NN may include collaborative filtering recommendation systems.
Real-world applications of decision trees may include medical diagnosis based on a patient’s symptoms.
Accuracy, precision, recall and F1 score as evaluation metrics
The role of hyperparameter tuning on model performance
Overfitting and underfitting when training algorithms
Clustering techniques in unsupervised learning group data based on feature similarities
Real-world applications of clustering may include using purchasing data to segment a customer base.
Mining techniques using the association rule and interpretation of the results for a given scenario
The principle of cumulative reward and the foundational concepts of agent–environment interaction, encompassing actions, states, rewards and policies
The exploration versus exploitation trade-off as a core concept in reinforcement learning
For example: population, fitness function, selection, crossover, mutation, evaluation, termination
A real-world application of genetic algorithms is seen in optimization problems, such as route planning (e.g. the “travelling salesperson problem”).
An artificial neural network (ANN) to simulate interconnected nodes or “neurons” to process and learn from input data, enabling tasks such as classification, regression and pattern recognition
Sketch of a single perceptron, highlighting its input, weights, bias, activation function and output
Sketch of a multi-layer perceptron (MLP) encompassing the input layer, one or more hidden layers and the output layer.
Convolutional neural network (CNN) basic architecture: input layer, convolutional layers, activation functions, pooling layers, fully connected layers, output layer
The effect of the number of layers, kernel size and stride, activation function selection, and the loss function on how CNNs process input data and classify images
How different algorithms can yield different results depending on the data and type of problem
The reasons for selecting specific machine learning models over others, considering factors like the nature of the problem, its complexity and desired outcomes
The variability in algorithm performance based on the data’s characteristics
Ethical issues may include accountability, algorithmic fairness, bias, consent, environmental impact, privacy, security, societal impact, transparency.
The challenges posed by biases in training data
The ethics of using machine learning in online communication may include concerns about misinformation, bias, online harassment, anonymity, privacy.
The importance of continually reassessing ethical guidelines as technology advances
The potential implications of emerging technologies such as quantum computing, augmented reality, virtual reality and the pervasive use of AI on society, individual rights, privacy and equity
3 subtopics
The specification of a problem may include a problem statement, constraints and limitations, objectives and goals, input specifications, output specifications, evaluation criteria.
Abstraction, algorithmic design, decomposition, pattern recognition
Computational thinking does not necessarily involve programming—it is a toolkit of available techniques for problem-solving.
Real-world examples may include software development, data analysis, machine learning, database design, network security.
Use of standard flowchart symbols to depict processes, decisions and flows of control
Standard flowchart symbols: Connector, Decision, Flowline, Input/Output, Process/Operation, Start/End
Flowcharts for execution flow, to track changes in variables and to determine output
17 subtopics
Data types: Boolean value, char, decimal, integer, string
Writing of programs that accurately identify and extract substrings from given strings, demonstrating the ability to perform various manipulations, such as altering, concatenating or replacing
Potential points of failure in a program must include unexpected inputs, resource unavailability, logic errors.
The role of exception handling in developing programs
Exception handling constructs that effectively manage errors must include try/catch in Java, and try/except in Python, along with the finally block.
Debugging techniques may include trace tables, breakpoint debugging, print statements and step-by-step code execution.
The fundamental differences between static and dynamic data structures, including their underlying mechanisms for memory allocation and resizing
The advantages and disadvantages of each type in various scenarios, considering factors such as speed, memory usage, flexibility
One-dimensional (1D) arrays, two-dimensional (2D) arrays, ArrayLists in Java
One-dimensional (1D) Lists and two-dimensional (2D) Lists in Python
Add, remove and traverse elements in a dynamic list
Must include fundamental operations such as push, pop, peek and isEmpty
How stack operations impact both performance and memory usage
An appropriate stack for a specific problem
Must include fundamental operations such as enqueue, dequeue, front and isEmpty
How queue operations impact both performance and memory usage
An appropriate queue for a specific problem
The impact of instruction order on program functionality
Ways to avoid errors, such as infinite loops, deadlock, incorrect output
Must include: if, else, else if (Java), elif (Python), to execute different code blocks based on specified conditions
Selection structures with or without Boolean operators (AND, OR, NOT) and/or relational operators (<, <=, >, >=, ==, !=) to control program flow effectively
Types of loops, including counted loops and conditional loops, and appropriate use of each type
Conditional statements within loops, using Boolean and/or relational operators to govern the loop’s execution
Functions to define reusable blocks of code with different inputs
Modularization to create well-structured, reusable and maintainable code
The principles of scope (local versus global)
The benefits of code modularization, applying this concept to various programming scenarios
The time and space complexities of algorithms and calculating Big O notation
Algorithm choice based on scalability and efficiency requirements
The differences in efficiency between different methods of linear and binary search
Use of search technique based on efficiency requirements—for example, searching a database for a sorted/indexed list of names to find a phone number, versus searching by the number to identify the name
The time and space complexities of each algorithm, denoted by their respective Big O notations
The advantages and disadvantages of each algorithm in terms of efficiency across various data sets
The fundamentals of recursion and its advantages and limitations
The utility of recursion in solving problems that can be broken down into smaller, similar sub-problems
Recursive algorithms, including but not limited to quicksort
The limitations of recursion, including complexity and memory usage
Situations that best suit the use of recursion, including fractal image creation, traversing binary trees, sorting algorithms
Simple, non-branching recursive algorithms in programming only
Programs that manipulate text files
Opening a sequential file in various modes (read, write, append)
How to read from and write to files, append data to an existing file, and close a file once operations are completed
Classes for Java users may include Scanner, FileWriter, BufferedReader.
Functions for Python users may include open(), read(), readline(), write(), close().
10 subtopics
Model real-world entities using OOP concepts: classes, objects, inheritance, encapsulation, polymorphism
The advantages and disadvantages of using OOP in various programming scenarios
Classes and their methods, based on application requirements
The use of unified modelling language (UML) class diagrams to represent class relationships, attributes and methods, to aid effective software design and planning
The differences between static and non-static variables and methods, including their usage and scope
When to use instance variables instead of class variables, and how to apply these concepts effectively in code
How to define classes and create objects from those classes
The role of constructors in initializing an object's state, setting initial values for its attributes to define its condition or characteristics at the time of creation
The principles of encapsulation and information hiding
Apply access modifiers such as private and public
Controlling access to class members
The importance of limiting access to maintain the integrity and security of an object's state
How inheritance enables a hierarchical relationship between parent and child classes
Extending existing classes, utilizing inheritance to reuse and extend functionalities
The impact of inheritance on access to parent class members with different access modifiers (private, public, protected, default)
The principle of polymorphism and how it contributes to code flexibility and reusability
How to implement dynamic polymorphic behaviour through mechanisms like method overriding
How to apply static polymorphic behaviour to maximize code efficiency
The significance of abstraction in the development of modular code fragments
The use of abstract classes to establish common interfaces for sub-classes
How to design objects by leveraging smaller component objects through composition and aggregation
That aggregation implies that the subcomponents can function independently of the aggregating class, while in composition, the subcomponents are tightly coupled and cannot exist outside the aggregating class
The key design patterns such as singleton, factory and observer
The application of design patterns in solving recurring programming challenges
5 subtopics
The core principles of ADTs, including their purpose in providing a high-level description of data structures and their associated operations
High-level description of data structures and their associated operations and purpose
Lists must include singly, doubly, circular
Sketch of linked lists and implementation of basic operations diagrammatically, such as insertion, deletion, traversal, search
The advantages and disadvantages of using linked lists over other data structures like arrays, particularly in terms of memory utilization and performance
The basic operations on a linked list, such as insertion, deletion, traversal, search
How binary search trees (BSTs) are used for data organization
Insert, delete, traverse and searching nodes in a BST
Sketching a BST as a tree diagram
The fundamental characteristics of sets, including their unordered nature and the uniqueness of elements
Operations: union, intersection and difference
Code to check if an element is in a set, to add an element to a set, to remove an element, and to check whether one set is a subset/superset of another set
The underlying mechanics of sets to store and manage data
The underlying mechanics of hash tables, including hashing functions, collision resolution strategies and load factors
HashMap and HashSet in Java; dict and set in Python
Organised according to the official IBDP curriculum structure.

Sign up to unlock exam-style questions on every IB Computer Science (2027) subtopic, with instant AI marking and feedback on every answer.
Create a free account →