Introduction
Databases are one of the most important topics in IB Computer Science, especially for Paper 2. Whether you’re sitting SL or HL, you’ll face questions on relational databases, SQL queries, and applied database design. The good news? With focused revision, databases are one of the most predictable and high-scoring areas of the exam.
This guide will walk you through how to revise databases effectively, the key concepts you must know, and the best strategies to score top marks.
Quick Start Checklist
- Review relational database basics (tables, keys, relationships).
- Practice SQL queries daily (SELECT, INSERT, UPDATE, DELETE).
- Learn the advantages of normalization.
- Use past Paper 2 questions for practice.
- Apply database concepts to real-world examples (e.g., e-commerce, schools).
Key Database Topics for IB Computer Science
1. Relational Database Basics
- Tables: rows = records, columns = fields.
- Primary key: uniquely identifies a record.
- Foreign key: creates relationships between tables.
Why it matters: These are easy marks if you use correct terminology.
2. Normalization
- 1NF: remove duplicate columns.
- 2NF: eliminate partial dependencies.
- 3NF: remove transitive dependencies.
Strategy: Be ready to explain the purpose of normalization — reducing redundancy and improving efficiency.
