A printable guide to the theory for Grade 12 (Paper 2 content), with the year planner and exam extras.
Modern databases are fed by many automated data collection methods. Large organisations store historical data in warehouses for analysis and decision-making.
Data collection is the process of gathering raw facts and figures from many different sources so that they can be stored, processed and turned into useful information. In the old days a person sat with a clipboard and wrote everything down by hand. Today most data is collected automatically — every time you swipe a card, drive under an e-toll gantry or tap a website, data is being captured about you without anyone writing a single thing.
A database is only as good as the data inside it. The more accurate, complete and up-to-date the collected data is, the better the decisions an organisation can make. Automated collection means more data, collected faster, with fewer human mistakes.
Example: When you scan your Pick n Pay Smart Shopper card at the till, the shop instantly records what you bought, when, where and for how much — that single swipe feeds a database that the shop later uses to send you targeted specials.
| Method | Description | Example |
|---|---|---|
| Forms (manual) | User types data directly into a form | School registration, job application |
| Web forms | Online interactive pages with GUI components (dropdowns, checkboxes) | Online survey, account sign-up |
| RFID tags | Wireless chips store ID data, read without contact | Library books, inventory, e-toll, access cards |
| Digital sensors | Gather environmental data automatically | Temperature sensors, motion detectors |
| Cookies | Small files stored by websites to record browsing behaviour and preferences | Login sessions, shopping carts, ad targeting |
| Transaction tracking | Records each purchase: date, time, location, product, amount | Credit card transactions, loyalty cards |
| Mobile apps | Collect app usage, location, device data | Uber location tracking, fitness app steps |
| Type | Description | Example |
|---|---|---|
| Static | Fixed, does not change once recorded | Address of a shop, GPS coordinates of a landmark |
| Dynamic | Changes as the object moves, updated continuously | Uber driver location, delivery truck tracking |
A data warehouse is a large central storage system that collects and consolidates historical data from many separate source databases into one single place, so that it can be analysed for trends and decision-making.
Think of it like this: a normal database is like the till at one Pick n Pay branch — it records today's sales as they happen. A data warehouse is like head office in Cape Town, where the sales from every branch in the country, going back many years, are all poured into one giant store. Head office does not use this to ring up a sale; they use it to spot the big picture — which products sell best in winter, which branches are growing, where to open the next store.
Central – one single store that brings many sources together.
Historical – it keeps years of old data, not just today's transactions.
Read-mostly – data is loaded in and then read for reports; it is not constantly changed.
Subject-oriented – organised around topics like "sales" or "customers" for easy analysis.
Note: Because a warehouse holds so much data from so many sources, the data must first be cleaned and put into a consistent format before it is loaded in — otherwise the same customer might appear three different ways and the analysis would be wrong.
| Database | Data Warehouse | |
|---|---|---|
| Purpose | Day-to-day transactions | Historical analysis and reporting |
| Data | Current transactions only | Historical data from many sources |
| Operations | Read + write (INSERT, UPDATE, DELETE) | Mostly read (SELECT, reports) |
| Used by | Operational staff | Analysts, management, BI tools |
Metadata is data that describes other data. It doesn't tell you the actual content, but tells you facts about that content — e.g. a photo's metadata might include the file size, the date it was created, the camera used and the GPS location, without saying anything about what's actually in the photo. Metadata is what lets you search, sort and organise large amounts of data efficiently.
| Centralised database | Distributed database | |
|---|---|---|
| Where data lives | Stored and managed on a single server | Spread across multiple servers/locations |
| Main advantage | Simpler to manage, secure and back up | Better performance for users in different locations; no single point of failure |
| Main disadvantage | If that one server fails, the whole system is unavailable | More complex to keep all copies of the data consistent (synchronisation) |
| Typical use | A small business with one office | A large company with branches/customers in many regions, or cloud-based services |
The usual question just asks you to distinguish the two — focus on the "single server" vs "spread across multiple servers/locations" distinction, since that's the core of almost every mark allocation.
Data mining is the process of analysing very large datasets to discover hidden patterns, trends and useful relationships that a human could never spot by eye. The name is a good clue: just as a gold miner digs through tonnes of rock to find a few grams of gold, data mining digs through millions of records to find the valuable nuggets of knowledge buried inside.
Companies collect enormous amounts of data, but raw data on its own is useless — it is just numbers and words. Data mining turns that raw data into insight they can act on. For example, Pick n Pay's Smart Shopper data might reveal that customers who buy nappies on a Friday evening also tend to buy snacks — so the shop places those products near each other and increases sales. Nobody told the computer to look for that link; the pattern was mined out of the data.
Caring for data means protecting the accuracy, security and availability of an organisation's data throughout its life. Data is one of the most valuable assets a company owns — often worth more than its buildings or equipment — because decisions, money and reputations all depend on it. Poor data leads to poor decisions, and lost data can shut a business down completely.
"Garbage in, garbage out." If incorrect data goes into the system, only incorrect information can come out — no matter how clever your analysis is. This is why validation and verification at the point of capture are so important.
Below are the main ways an organisation looks after its data. Notice how each one protects against a different danger — wrong data, lost data, or stolen data.
A relational database stores data in structured tables linked together. Normalisation is the process of cleaning up a database design to remove repetition and prevent errors.
A relational database stores data in tables (also called relations). Each table represents one type of thing — for example, a table for students, a separate table for subjects. Tables are then linked together using key fields.
| Key Type | Description | Example |
|---|---|---|
| Primary Key (PK) | Uniquely identifies each record. No duplicates, no blanks. | StudentID in tblStudents |
| Foreign Key (FK) | A field that links to the primary key of another table. Creates the relationship. | ClassID in tblStudents → links to tblClasses |
| Composite Key | Two or more fields combined to create a unique identifier | StudentID + SubjectID in tblMarks |
| Alternate Key | Could be a primary key but wasn't chosen as one | Email address (also unique, but ID was chosen as PK) |
One field can be both — a primary key in its own table and a foreign key where it's used to link into another table. The rule to remember: a primary key may never be null or duplicated, but a foreign key is allowed to be null (e.g. a student who hasn't been assigned a class yet).
Referential integrity is a rule that ensures relationships between tables remain consistent. It means: a foreign key value must always match an existing primary key value in the related table.
If ClassID C03 doesn't exist in tblClasses, you cannot add a student with ClassID = C03. The database will reject this to prevent orphan records (records with no matching parent).
An ERD is a diagram that shows the entities (tables) in a database and the relationships between them. Each box is a table; the line between boxes shows how they relate. You are often asked to draw one in the exam, so practise the crow's-foot notation below.
The relationship is created by putting the primary key of the "one" table into the "many" table as a foreign key (here BookID links tblBooks to tblLoans).
| Relationship | Meaning | Example |
|---|---|---|
| One-to-One (1:1) | One record links to exactly one record in the other table | One person ↔ one ID number |
| One-to-Many (1:∞) | One record links to many records in the other table | One book can appear in many loans |
| Many-to-Many (∞:∞) | Many records link to many records — resolved with a third "link" table | Students ↔ Activities (via a link table) |
A relational database can't store a many-to-many relationship directly. You break it into two one-to-many relationships using a junction/link table (e.g. tblLoans links books and borrowers).
| Type | What it protects | How it is ensured |
|---|---|---|
| Physical integrity | The data is not lost or damaged by hardware failure, power loss or disaster | RAID, UPS, regular backups, off-site storage |
| Logical integrity | The data stays correct, consistent and valid within the database | Validation rules, referential integrity, record locking |
Record locking temporarily "locks" a record while one user is editing it, so that a second user cannot change the same record at the same time. This prevents two users overwriting each other's changes and keeps the data consistent (a key way to protect logical integrity in a multi-user database).
When a database is poorly designed (not normalised), three types of errors can occur when working with data:
| Anomaly | When it happens | Example |
|---|---|---|
| Insertion anomaly | You can't add new data without first adding other unrelated data | Can't add a new class until at least one student enrols in it |
| Deletion anomaly | Deleting one record accidentally removes other important data | Deleting the only student in a class also deletes the class's information |
| Modification anomaly | Changing one value means updating many rows — and missing some creates inconsistency | A teacher's name appears in 50 student records; update one and the others are wrong |
Normalisation splits large, messy tables into smaller, focused tables and links them properly. This eliminates all three anomalies.
A common Section D question gives you a badly designed table and asks you to identify the faults. Run the table through this checklist in order:
| Design fault | Why it's a problem | Fix |
|---|---|---|
| Unsuitable primary key | A surname, e-mail or cellphone number can repeat or change over time | Use an autonumber ID field that is unique and never changes |
| Non-atomic field | A cell holding more than one piece of data, e.g. a full name or a full address in one field | Split into separate fields (Name → FirstName + Surname) |
| Data stored in field names | Columns named 2024, 2025, 2026 — adding a new year means redesigning the table | Store the year as data in a field, not as a column heading |
| Descriptive data duplicated with a foreign key | Storing both TeacherID and TeacherSurname in the child table is redundant | Store only the foreign key; retrieve the rest through the relationship |
| Inconsistent or ambiguous naming | Fields named Name1, Nm, or a mix of naming styles | Use clear, consistent, descriptive field names throughout |
| MemberName | Activities | Coach | CoachCell |
|---|---|---|---|
| Lindiwe Zulu | Chess, Debating | Mr Adams | 0821234567 |
| Sam Petersen | Chess | Mr Adams | 0821234567 |
❌ No primary key · MemberName is not atomic (first name + surname) · Activities holds multiple values in one cell · Coach and CoachCell are redundant, repeated for every member
| Table | Fields |
|---|---|
tblCoach | CoachID (PK), FirstName, Surname, CellNumber |
tblMember | MemberID (PK), FirstName, Surname |
tblActivity | ActivityID (PK), ActivityName, CoachID (FK) |
tblMemberActivity | MemberID (FK), ActivityID (FK) — composite PK, resolves the many-to-many between members and activities |
Normalisation is the systematic process of organising the fields and tables of a relational database, by applying a set of rules called normal forms, in order to reduce data redundancy and prevent insertion, deletion and modification anomalies.
Imagine one giant spreadsheet where every order repeats the customer's full name, address and phone number. If a customer moves house you must change it in dozens of rows — and if you miss one, the data disagrees with itself. Normalisation is like splitting that mess into tidy, single-topic tables: one Customers table (each customer stored once) and one Orders table that just points back with the customer's ID (a foreign key). Now a change is made in one place only. The three normal forms are simply three tidy-up rules you apply in order.
A table is in 1NF when:
| StudentID | Name | Subjects |
|---|---|---|
| 1 | Alice | Maths, IT, English |
❌ Problem: Three values in one cell (Subjects column)
| StudentID | Name | Subject |
|---|---|---|
| 1 | Alice | Maths |
| 1 | Alice | IT |
| 1 | Alice | English |
A table is in 2NF when it is in 1NF AND every non-key field depends on the whole primary key (not just part of it). This only matters when the primary key is a composite key.
| StudentID (PK) | SubjectID (PK) | StudentName | Mark |
|---|---|---|---|
| 1 | IT | Alice | 85 |
❌ Problem: StudentName only depends on StudentID, not on (StudentID + SubjectID) together
| StudentID (PK) | StudentName |
|---|---|
| 1 | Alice |
| StudentID (PK+FK) | SubjectID (PK) | Mark |
|---|---|---|
| 1 | IT | 85 |
A table is in 3NF when it is in 2NF AND no non-key field depends on another non-key field (no transitive dependency).
| StudentID (PK) | Name | GradeLevel | GradeDescription |
|---|---|---|---|
| 1 | Alice | 12 | Matric |
❌ Problem: GradeDescription depends on GradeLevel (a non-key field), not on StudentID
| StudentID (PK) | Name | GradeLevel (FK) |
|---|---|---|
| 1 | Alice | 12 |
| GradeLevel (PK) | GradeDescription |
|---|---|
| 12 | Matric |
| Normal Form | Check for | Fix by |
|---|---|---|
| 1NF | Multiple values in one cell? Repeating columns? | Split into separate rows; add PK |
| 2NF | Non-key field depends on only PART of the composite PK? | Move that field to its own table |
| 3NF | Non-key field depends on another non-key field? | Move the dependency to its own table |
| Characteristic | Meaning |
|---|---|
| Data integrity | Data is accurate, consistent and complete throughout its lifecycle |
| Data independence | Changing the database structure doesn't break the programs that use it |
| Data redundancy | Minimum — the same data should not be stored in multiple places |
| Data security | Only authorised users can access or modify data |
| Ease of maintenance | The database design makes it simple to insert, update and delete without causing problems |
Redundancy (the same data stored in more than one place) is usually what causes integrity failures — update one copy and forget the other, and the data disagrees with itself. But not all redundancy is bad: a backup is deliberate, planned redundancy. Only accidental, unplanned duplication threatens integrity.
Mobile device hardware, factors that affect computer performance, and choosing the right system for a user's needs.
Smartphones have similar hardware to desktops but in miniaturised form. Key differences:
| Component | Desktop | Smartphone |
|---|---|---|
| CPU | Separate chip; very powerful; many cores | SoC (System on a Chip) — CPU+GPU+modem+RAM in one chip |
| Input | Keyboard and mouse | Touchscreen; virtual keyboard |
| Display | Large external monitor | Small built-in touchscreen |
| Connectivity | Wired NIC or Wi-Fi card | Built-in Bluetooth, Wi-Fi, 4G/5G, GPS, NFC |
| Battery | Plugged in; no battery constraint | Limited battery; performance vs battery trade-off |
| Factor | How it affects performance |
|---|---|
| CPU clock speed (GHz) | Higher = more instructions per second; faster processing |
| CPU cores | More cores = better multitasking and parallel processing |
| RAM amount and speed | More RAM = more programs running simultaneously; higher speed = faster data transfer to CPU |
| Cache size (L1/L2/L3) | Larger cache = CPU waits less for data from RAM |
| GPU clock speed | Higher GPU speed = faster graphics rendering; important for gaming and video |
| Storage type (HDD vs SSD) | SSD gives dramatically faster boot times and application loading |
| NIC speed (Mbps) | Faster NIC = faster downloads, streaming, network file transfers |
| Operating system | Outdated OS causes compatibility issues, security risks and slower operation |
| Feature | HDD | SSD |
|---|---|---|
| Speed | Slow (mechanical) | Very fast |
| Durability | Fragile (moving parts) | Durable (no moving parts) |
| Noise | Audible spinning | Silent |
| Cost per GB | Cheaper | More expensive |
| Boot time | Long (30–60 seconds) | Very short (5–15 seconds) |
When recommending a computer, match the components to the user's needs:
| User type | Recommended specs |
|---|---|
| Office/admin worker | Moderate CPU, 8GB RAM, SSD, integrated graphics |
| Graphic designer / video editor | Fast multi-core CPU, 16–32GB RAM, dedicated GPU, large SSD |
| Gamer | Fast CPU, 16GB+ RAM, high-end dedicated GPU, fast SSD |
| Student | Mid-range CPU, 8GB RAM, SSD, Wi-Fi, long battery (laptop) |
| Server / database host | Many cores, large ECC RAM, RAID storage, redundant power |
Grade 12 Term 2 theory: cloud computing, Artificial Intelligence, Virtual Reality, Augmented Reality, Mixed Reality and virtualisation — all new Software topics in the updated CAPS.
AI refers to computer systems that can perform tasks that normally require human intelligence — such as learning, reasoning, decision-making and pattern recognition.
When an AI system makes a decision on its own — e.g. a self-driving car choosing how to react, or a bank's AI declining a loan application — it raises the question of who is responsible if that decision is wrong or unfair: the company that built the AI, the company that deployed it, or the AI itself (which cannot be held legally responsible)? This is why most systems still allow a human to review or override an AI's decision, and why exam answers about AI limitations should mention accountability/bias alongside the more obvious "it might make mistakes".
Software, storage and computing power delivered as a service over the Internet, rather than installed locally.
You don't build a power station in your back yard — you just plug into the wall and pay for what you use, and someone else runs the generators. Cloud computing works the same way: instead of buying and maintaining your own servers, you rent storage and computing power from a provider (Google, Microsoft, Amazon) over the internet and pay only for what you use. It scales up when you need more and down when you don't, exactly like drawing more or less electricity from the grid.
| Advantage | Disadvantage |
|---|---|
| Scalable — capacity grows automatically | Requires internet connection |
| Affordable — pay only for what you use | Downtime affects all users |
| Accessible from any device anywhere | Security and privacy concerns |
| Maintained by experts; always updated | Ongoing subscription costs |
| Easy collaboration between users | Limited control over infrastructure |
When a business stores its data with a third-party cloud provider, it must be clear about who actually owns that data and who controls it. The business should understand the provider's policies on access, storage, backup and — critically — what happens to the data if it stops using that provider (can it be retrieved and deleted, or does the provider retain rights to it?). This is a concern distinct from general "security" — even a perfectly secure cloud service can still raise ownership questions.
Applications accessed via browser with no local installation. Examples: Google Docs, Microsoft 365, Gmail.
Cloud reduces the need for powerful local hardware — thin clients and low-spec devices can run complex software via the cloud. Businesses no longer need to buy expensive servers.
Running multiple virtual machines on a single physical computer. Each VM has its own OS, RAM, storage and apps, isolated from others.
A fully artificial, immersive 3D environment created by software. The user is completely cut off from the real world.
| Use Case | Example |
|---|---|
| Training | Military simulations, surgical training |
| Education | Virtual field trips, interactive lessons |
| Entertainment | VR gaming, virtual cinemas |
| Healthcare | Phobia treatment, pain management |
| Engineering | Virtual prototypes, architectural walkthroughs |
Overlays computer-generated content on the real world — you still see reality, with digital elements added.
| Use Case | Example |
|---|---|
| Retail | Preview furniture in your room before buying |
| Training | Step-by-step repair instructions overlaid on equipment |
| Navigation | AR arrows overlaid on road view |
| Marketing | Interactive product advertisements |
How the web works under the hood — search technologies, web technologies, online applications, and how data is stored and processed online.
| Type | Description |
|---|---|
| Keyword search | Matches exact words in the query |
| Semantic search | Understands meaning and context behind words — interprets user intent, not just keywords |
| Mediated search | A middleman system filters results for a specific database or organisation (e.g. Google Scholar) |
| SEO | Search Engine Optimisation — techniques to make websites rank higher in search results (keywords, speed, mobile-friendly, backlinks) |
| Static | Dynamic | |
|---|---|---|
| Content | Fixed HTML — changes only if developer edits files | Generated on demand from a database |
| Database | No | Yes |
| Examples | Simple portfolio, business info page | Online shop, social media, news sites |
| Security risk | Low | Higher (SQL injection, data breaches) |
| Technology | Role | Example |
|---|---|---|
| HTML | Structure and content of web pages | Headings, paragraphs, links, images |
| CSS | Visual styling — colours, fonts, layout | Blue buttons, responsive grid |
| JavaScript | Client-side interactivity; runs in the browser | Form validation, dropdown menus, AJAX |
| PHP | Server-side scripting; processes forms, talks to databases | Login authentication, database queries |
| SQL | Query and manage database data | SELECT user data, INSERT orders |
| XML | Structured data exchange between systems | Product data feeds between websites |
| RSS | An XML-based feed format that lets users subscribe to a site and automatically receive new content as it is published | News headlines, blog posts, new podcast episodes |
| Client-side (browser) | Server-side (web server) | |
|---|---|---|
| Language | JavaScript, AJAX | PHP, Python, Node.js |
| Purpose | Real-time page updates, validation, animations | Authentication, database access, processing |
| AJAX | Updates parts of a page without reloading | — |
A scripting language is what turns a plain, static page into a website that actually does something. Its role always splits into two halves — what happens instantly in the visitor's browser, and what happens back on the web server — and an online store is a good way to see both halves at work at once.
Runs in the customer's own browser, so it can react instantly without waiting for the server. On an online store it could:
Runs on the store's web server, so it's the only place that can safely reach the database. On an online store it could:
| HTTP | HTTPS | |
|---|---|---|
| Encryption | None — data sent in plain text | SSL/TLS encryption |
| Padlock | No padlock in browser | Padlock icon shown |
| Use | Non-sensitive public pages | Login, banking, shopping — any sensitive data |
Essential network components, internet connection methods, file sharing, and remote access technologies.
A small-scale network connecting the devices within a single home — routers, computers, smart TVs, smart-home devices, etc. It's essentially a LAN (Local Area Network), just applied specifically to a residence rather than an office or school.
| Component | Function |
|---|---|
| NIC | Network Interface Card — hardware that connects a device to a network (wired or wireless) |
| Switch | Connects devices on a LAN and forwards data only to the intended device (not broadcast like a hub) |
| Router | Connects different networks; routes packets; assigns IP addresses; acts as gateway to ISP |
| Modem | Converts digital signals to analogue for telephone lines (and back); connects to ISP |
| Wireless access point | Enables wireless devices to connect to a wired network via Wi-Fi |
| All-in-one home router | Combines modem + router + switch + Wi-Fi access point in one device |
A switch only ever operates within one network — it forwards data to the correct device on the same LAN. A router operates between different networks and finds the best path from one to another. The box on your wall at home combines both — but in the exam, describe each function separately.
Every device on a network needs an address, but there are two different kinds working at the same time.
| IP Address | MAC Address | |
|---|---|---|
| Assigned by | The network, often automatically via DHCP | The manufacturer — burnt into the NIC |
| Changes? | Yes — a new one is assigned when the device joins a different network | No — permanent and globally unique |
| Purpose | Logical address used to route data between networks | Physical address used to identify a device on its own local network |
A MAC address never changes, no matter which network the device connects to. An IP address usually does change — it identifies where a device currently is, not which physical device it is.
| Medium | Speed | Range | Notes |
|---|---|---|---|
| UTP cable (Ethernet) | Up to 10 Gbps | 100m per segment | Common in offices and schools; easy to install |
| Fibre optic | Up to Tbps | Kilometres | Uses light; most secure; expensive to install |
| Coaxial | Moderate | Hundreds of meters | Older standard; still used in some broadband |
| Technology | Description | Speed |
|---|---|---|
| ADSL | Uses telephone copper lines; download faster than upload | Up to ~20 Mbps |
| Fibre | Light through fibre optic cables; fastest and most reliable | 100 Mbps–1 Gbps+ |
| WiMAX | Long-range wireless; used in rural/remote areas | Moderate |
| 4G/LTE | Mobile broadband; widely available | 5–100 Mbps |
| 5G | New generation mobile; very low latency; supports IoT | 50 Mbps–10 Gbps |
| Satellite | Signal sent to/from an orbiting satellite; works almost anywhere, even where no cables or towers exist | Slower and higher latency than fibre or mobile data; often more expensive |
| Term | Measured in | Meaning |
|---|---|---|
| Bandwidth | Mbps (megabits per second) | How fast data can be transferred — the maximum capacity of the connection |
| Data cap | GB (gigabytes) | How much total data may be used in a billing period |
| Throttling / shaping | — | The ISP deliberately reducing speed — often once a data cap is exceeded, or for specific traffic types (e.g. streaming) at any time |
Being capped doesn't slow you down at all — until you exceed the limit. Being shaped/throttled can slow specific traffic types at any time, cap or no cap. Don't confuse "how fast" (bandwidth), "how much" (data cap) and "deliberately slowed" (throttling).
On a network, users can share resources. Access can be restricted by permission level:
| Permission Level | What the user can do |
|---|---|
| No access | Cannot see the shared resource |
| Read-only | Can view/copy files but not modify or delete |
| Read/Write | Can view, copy, modify files |
| Full control (Admin) | Can do everything including change permissions |
Accessing a device or network from a physically different location.
Sending private data across the open internet is like carrying cash through a busy public street — anyone could grab it. A VPN is like an armoured van driving through that same street: it builds a sealed, encrypted "tunnel" so that, even though your data travels over the public internet, no one on the outside can see or reach what is inside. That is how an employee at home can safely reach the private company network.
| Type | Description | Example |
|---|---|---|
| LAN remote access | Access another computer in the same building | Shared folder on school server |
| Internet remote access | Access home/work resources from anywhere | Google Drive, OneDrive, Remote Desktop |
| VPN | Encrypted tunnel over internet; secure remote access to private network | Employee working from home via company VPN |
Files are split into small pieces and downloaded simultaneously from many peers.
This page focuses on how data is kept safe as it travels across a network — VPNs, encryption, digital certificates and authentication. For network hardware, internet access technologies and general remote access, see Networks & Remote Access.
A VPN creates an encrypted tunnel over the Internet, allowing secure remote access to a private network. (See Networks & Remote Access for the armoured-van analogy and a worked example.)
Letting employees connect to the company network from home or on the road introduces risks that don't exist when everyone works from a secured office network:
This is exactly why VPNs, MFA and strong device security matter more for remote workers than for on-site staff.
| Concept | Description |
|---|---|
| Encryption | Converts readable data into unreadable code. Only someone with the correct key can decrypt it. |
| SSL/TLS | Protocol securing communication between browser and server (HTTPS). Uses public/private key pairs. |
| Digital certificate | Issued by a trusted Certificate Authority. Verifies the website is legitimate. |
| Firewall | Filters incoming and outgoing traffic based on security rules |
| MFA | Multi-Factor Authentication — requires password + second factor (OTP, fingerprint) |
| OTP | One-Time PIN — valid for one login only; prevents replay attacks |
| Concept | Description |
|---|---|
| Spam filtering | Automatically detects and quarantines unsolicited/junk email before it reaches the inbox |
| Email encryption | Encrypts the message content so only the intended recipient's key can decrypt and read it |
| End-to-end encryption | Used by apps like WhatsApp/Signal — only the sender and recipient can read the message, not even the service provider |
| Digital signature | Confirms a message really came from the claimed sender and was not altered in transit |
Types of cybercrime, the people who commit them, their effects on individuals and organisations, and the safeguards used to prevent them.
| Type | Description |
|---|---|
| Hacker | Gains unauthorised access to systems. White hat (ethical) vs Black hat (malicious). |
| Cracker | Breaks software protection or encryption for illegal access or distribution |
| Script kiddie | Uses pre-written tools without understanding them; less skilled |
| Insider threat | Current or former employee who misuses access privileges |
| Cybercriminal | Commits crime for financial gain (fraud, ransomware, identity theft) |
| Cyber gang | An organised group of criminals who work together to carry out large-scale cyberattacks |
| Virus author | A person who writes and releases malware such as viruses and worms |
| Crime | Description |
|---|---|
| Identity theft | Stealing personal information to impersonate someone (open accounts, get loans) |
| Phishing | Fake emails that look official to steal credentials |
| Pharming | Redirecting users to fake websites to steal information |
| Virus | Malicious code that attaches itself to a host file and needs a user action (e.g. opening the file) to spread |
| Worm | Self-replicating malware that spreads across a network on its own — no user action needed |
| Trojan (Trojan horse) | Malware disguised as legitimate, useful software; does nothing until the user opens it |
| Ransomware | Encrypts victim's data; demands payment to restore access |
| Business data theft | Stealing trade secrets, customer databases, or financial records |
| SQL Injection | Inserting malicious SQL via web forms to manipulate or steal database data |
| DDoS attack | Distributed Denial of Service — overwhelming a server with traffic to take it offline |
| Online fraud | Scams, fake auctions, advance-fee fraud (419 scams) |
| Cyberbullying | Harassment, threats or humiliation via digital channels |
| Piracy | Illegally copying, distributing or using copyrighted software/media |
| Bandwidth theft | Using someone else's network/internet connection, or hotlinking their content, without permission |
| Theft of time & services | Using an employer's computers, internet or work time for personal or unauthorised purposes |
| Botnet / zombies | A network of infected computers ("zombies") secretly controlled by an attacker, often used for DDoS attacks or spam |
| Back door | A hidden way to bypass normal security and gain remote access to a system |
| Piggybacking | Using someone else's internet connection or account without their permission (e.g. an unsecured Wi-Fi), or slipping in behind an authorised user |
| Extortion (cyber-extortion) | Threatening to damage, expose or block access to data/systems unless a payment is made (e.g. ransomware, DDoS threats) |
| Spam | Sending unsolicited bulk messages/email; wastes bandwidth and time and is often used to spread scams or malware |
Don't call every threat "a virus" — use the term the scenario points to. A virus needs a user to open/run something to spread. A worm spreads by itself across a network, no user action needed. A Trojan just pretends to be something useful until it's opened.
Phishing relies on the user clicking a fraudulent link. Pharming needs no user error at all — it redirects the user to a fake site even when they type the correct address, which is exactly why it's the more dangerous of the two.
| Safeguard | How it protects |
|---|---|
| Antivirus / Antimalware | Detects and removes malicious software |
| Firewall | Filters unauthorised network traffic |
| Encryption | Scrambles data so intercepted data is unreadable |
| Strong passwords + MFA | Makes accounts much harder to compromise |
| Regular backups | Allows recovery after ransomware or data loss |
| Software updates / patches | Fixes known vulnerabilities before criminals exploit them |
| User training / awareness | Educated users are less likely to click phishing links |
| Access control | Least-privilege principle: users only access what they need |
| Input validation | Prevents SQL injection by sanitising user input |
| Digital certificates + HTTPS | Verifies website legitimacy; encrypts all data in transit |
In South Africa, cybercrime is covered by:
How Big Data, data warehousing, globalisation and the 4IR affect society — privacy, employment, social media and the evolution of the web.
Social implications are revisited every term rather than taught once. The sections below are grouped by the term where each topic is introduced on the Year Planner — but all of it stays examinable afterwards. A few sections (globalisation, decision-making systems, protecting your identity) don't map to a single Year Planner bullet, so they are grouped with the closest related term.
Big Data is the term for datasets so enormous, fast-moving and varied that ordinary database tools cannot store or process them — think of every Facebook post, every WhatsApp message and every e-toll swipe in the country, all at once. When companies and governments mine this Big Data, the results affect real people's lives, and that brings both wonderful benefits and serious dangers.
The same data that lets a hospital predict and prevent illness can also let an insurance company refuse you cover because your shopping habits suggest you eat unhealthily. The technology is neutral — it is how the data is used that creates the social problem. As IT students you must be able to argue both sides.
| Positive | Negative |
|---|---|
| Healthcare: predict and prevent illness | Privacy erosion — habits tracked without full consent |
| Fraud detection in banking | Discrimination based on data profiles |
| Personalised education programmes | Security breaches expose millions of records |
| Better government services | Data sold to third parties without user knowledge |
| Precision agriculture: monitoring soil, weather and crop data to improve yields (e.g. a Free State maize farmer using sensor data to decide when to irrigate) | Small-scale farmers without access to this technology fall further behind larger commercial operations |
| Aspect | Effect |
|---|---|
| Globalisation | World interconnected economically and culturally; faster trade; outsourcing; cultural exchange; increased competition |
| 4IR technologies | AI, machine learning, IoT, robotics, automation, biotechnology, AR/VR, Big Data |
| Jobs | Routine jobs replaced by machines; new careers in data science, AI, cybersecurity |
| Workers | Must reskill constantly; digital literacy essential |
IoT refers to everyday physical devices — not just computers and phones — that are connected to the Internet so they can collect data, exchange it with other devices, and be monitored or controlled remotely. Examples include smart plugs, smart thermostats, security cameras, fitness trackers, smart fridges and smart streetlights.
A full-mark IoT definition needs TWO parts: (1) the device is connected to the Internet, and (2) it collects/exchanges data or can be controlled remotely. "It's smart devices" on its own won't get full marks — the data/connectivity part is what the marker is looking for.
IoT links to several other Social Implications themes: privacy (data collected without the user's full awareness), security (each connected device is a potential entry point for attackers — see Botnets on the Cybercrime & Safeguards page), and the digital divide (IoT devices, and the Internet access they need, aren't affordable for everyone).
As the amount of data in the world explodes, organisations increasingly rely on software not just to store data, but to help people make decisions with it. Two related kinds of system come up in the exam, and they are easy to confuse.
| System | What it does | Example |
|---|---|---|
| Decision Support System (DSS) | Analyses large amounts of data and presents it in a useful way (summaries, graphs, "what-if" models) so that a human can make a better-informed decision. It supports the decision — it does not make it. | A retail manager using sales dashboards to decide which stores to stock for winter |
| Expert / knowledge-based system | Captures the knowledge of human experts as a knowledge base of facts plus a set of rules (an inference engine), then uses them to give advice or a diagnosis — mimicking how an expert reasons. | A medical system that suggests likely diagnoses from a patient's symptoms |
A DSS hands the data to a person to decide; an expert system tries to reach the conclusion itself using stored expert knowledge. Both rely on good-quality data — "garbage in, garbage out".
Key factors affecting computer performance and maintenance:
Some problems are too big for any single computer — modelling climate change, searching for new medicines, or analysing astronomical data. Distributed computing splits one enormous task into many small pieces and shares them across thousands of computers (or cloud servers) that work on them at the same time, then combines the results.
The World Wide Web has moved through three broad phases, each more interactive and intelligent than the last:
| Phase | Nickname | What it was like |
|---|---|---|
| Web 1.0 | "Read-only" | Mostly static pages you could only view. A few people published; everyone else just consumed content. |
| Web 2.0 | "Read-write" | The interactive, social web: users create the content — social media, wikis, blogs, comments and sharing. Two-way participation. |
| Web 3.0 | "Semantic / intelligent web" | Machines understand the meaning of data (the semantic web); content is linked, personalised and AI-driven, giving smarter, more relevant results. |
Smart-home and AI-driven devices can make a real difference for elderly or disabled users specifically because they remove the need to physically move around the house:
Cost is a real limiting factor here: these devices are usually expensive to buy, and need a reliable, paid Internet connection to keep working — which links this topic back to the digital divide (see that section).
| Concept | Privacy implication |
|---|---|
| Cookies | Track browsing behaviour; can be used for targeted advertising |
| Anonymity | Enables free expression; also enables cyberbullying and illegal activity |
| GUIDs | Globally Unique Identifiers track behaviour across websites and apps |
| Location data | Apps continuously track movement; risk of stalking and profiling |
| File sharing | Piracy is illegal and harms creators; but sharing also enables legal distribution |
POPIA is South Africa's law that controls how organisations may collect, store, use and share a person's personal information. It came into full effect on 1 July 2020, and it protects any person whose personal information is processed by a South African organisation (or a foreign one doing business here).
"Personal information" includes: name, ID number, contact details, email, location, financial information, biometric data (fingerprints, face scans), and special categories like health, religion or race.
Organisations must: get the person's consent (or another lawful reason) before collecting data; only collect what is necessary, and only use it for the stated purpose; keep the data accurate and up to date; secure it against loss, damage or unauthorised access; let people see, correct or request deletion of their own data; and report data breaches to both the Information Regulator and the affected people.
Who enforces it: the Information Regulator — an independent body that can investigate complaints and issue fines (up to R10 million) or, for serious violations, prison sentences.
POPIA questions usually ask you to (a) name the act, or (b) apply it to a scenario — e.g. explain why a company storing customer emails and addresses without consent, or without securing that data, would be in breach of POPIA.
Based on the 2026 IT CAPS. Grade 12 introduces SQL (Term 1), OOP & 2D arrays (Term 2). Paper 2 is cumulative across all Grades 10–12.
This shows when each topic is taught during the year — it is not a list of what any single test covers. Any work done so far this year, plus the foundational work from earlier grades, can still be assessed, so don't study only the current term's topics.
Paper 1 (3 hrs): Delphi programming — SQL, OOP, 2D arrays, recursion, file handling, arrays, general programming.
Paper 2 (3 hrs): All theory from Gr10–12.
These topics are not explicitly required by CAPS but have appeared in NSC past papers (2015–2024). Knowing them can mean the difference between a pass and a distinction.
Items marked P1 appear in Paper 1 (practical/Delphi), P2 in Paper 2 (theory), and Both in either paper. These are supplementary — master your CAPS content first.
CAPS never teaches "how to plan a whole program" as one topic — instead it hands you the individual planning tools (IPO tables, TOE charts, pseudocode) at different points across Grade 10 and 11. Strung together in order, those tools form a complete process for turning a vague idea into a finished, working program. None of this is examinable on its own, but following it will make your PAT — and any open-ended practical question — far less overwhelming.
A PAT is marked over months, revisited many times, and often built on by a partner or by future-you after a long break. Time spent planning up front — even just a page of notes on what each form does — is what makes it possible to pick the project back up in Term 4 and still understand your own Term 2 code.
These Delphi functions, components and techniques are not listed in CAPS but appear regularly in exam questions or are needed to solve exam problems efficiently.
Replaces all or first occurrence of a substring within a string.
s := StringReplace(s, 'old', 'new', [rfReplaceAll]);
Formats numbers/strings with precise control — Format('%.2f', [rVal]) gives 2 decimal places. More powerful than FloatToStrF.
Generate random integers. Always call Randomize; first to seed the generator. Random(100) returns 0–99.
Let users browse for files at runtime.
if OpenDialog1.Execute then sFile := OpenDialog1.FileName;
Convert between TDate values and string representation. Used with TDateTimePicker.
sDate := DateToStr(dtpDate.Date);
Catch runtime errors gracefully — e.g. invalid StrToInt input.
try iNum := StrToInt(edtNum.Text); except ShowMessage('Invalid'); end;
Returns the number of lines in a Memo. Often used in loops to process all memo lines.
for i := 0 to Memo1.Lines.Count - 1 do
Case-insensitive string comparison — avoids problems when user types 'yes', 'YES' or 'Yes'.
if SameText(sInput, 'yes') then
Convert integers to hexadecimal strings and back. Sometimes tested in conjunction with number systems theory.
sHex := IntToHex(255, 4); // = '00FF'
Built-in boolean checks — cleaner than MOD 2.
if Odd(iNum) then // true if iNum is odd
Break stops the rest of the loop from processing. Continue skips the rest of the current pass and moves on to the next iteration. Both appear in exam solutions — know the difference. (Break vs Exit is taught on the Loops page.)
These theory topics have appeared in NSC Theory papers but sit at the edge of or outside the formal CAPS scope. They typically appear in social implications or "current technology" questions.
AI appears regularly in social implications questions — automation of jobs, AI decision-making, bias in AI, chatbots. Not deeply technical — understand the concept and its social effects.
A distributed digital ledger of linked blocks. Used in cryptocurrency, supply chain, and secure records. Appeared in Gr12 theory papers. Know: what it is, how it works, and 2 uses.
AI-generated fake videos or audio that appear authentic. Social implications question topic — impacts on trust, truth, and politics. Know the definition and two risks.
A part of the internet not indexed by search engines, accessed via special software (Tor). Used for anonymity — legal and illegal uses. Appeared in theory cybercrime questions.
The principle that all internet traffic should be treated equally — ISPs cannot throttle or prioritise certain content. A social/political IT topic.
The successor to IPv4 — uses 128-bit addresses (vs 32-bit) to solve address exhaustion. Format: 2001:0db8:85a3::8a2e:0370:7334. Know why it was introduced.
RAID 0: speed (striping, no redundancy). RAID 1: mirroring (exact copy). RAID 5: striping with parity (balance of speed + fault tolerance). CAPS only mentions RAID in general — exams go deeper.
Hiding secret information within ordinary files (images, audio) without detection. Different from encryption — encryption scrambles data; steganography hides its existence. Appeared in theory questions.
Self-executing contracts where terms are written in code on a blockchain. No middlemen needed. Related to blockchain technology — appeared in Gr12 social implications.
Processing data close to where it is generated (the "edge" of the network) rather than sending it all to a central cloud server. Reduces latency — important for IoT and 5G.
All devices share a single communication line (the bus). Not in the current CAPS but appeared in older papers. Advantage: cheap. Disadvantage: single point of failure; performance drops with more devices.
Each device connects to several others, so data has more than one possible path. Not in the current CAPS (it sits under "network innovation"). Advantage: very reliable — traffic reroutes if a link fails. Disadvantage: expensive, many connections needed. It's how "mesh Wi-Fi" systems work.
Manipulating people (rather than systems) to reveal confidential information. Includes pretexting, baiting, tailgating. Appears in cybercrime theory questions.
Exams frequently ask you to convert values — not just explain systems. Practise: decimal↔binary, decimal↔hex, binary↔hex. Know the place values (powers of 2 and 16).
South African law governing how personal data must be collected, stored, and protected. Appears in privacy and legal implications questions. Know: what it is, who it protects, and 2 requirements.
SA legislation that criminalises hacking, ransomware, online fraud, and malicious communications. Often referenced in cybercrime theory questions for Gr12.
A virtual replica of a physical object or system, updated in real time from sensor data. Used in engineering, manufacturing, and smart cities. Appeared in 4IR/IoT questions.
A comprehensive reference of all Delphi functions you need to know — both CAPS-required and commonly appearing in exams.
| Function/Procedure | What it does | Example |
|---|---|---|
Length(s) | Returns number of characters | Length('Hello') = 5 |
Pos(find, source) | Position of substring (0 if not found) | Pos('lo','Hello') = 4 |
Copy(source, start, len) | Extract substring | Copy('Hello',2,3) = 'ell' |
Insert(text, var s, pos) | Insert text into string at position | Insert('!','Hello',6) → 'Hello!' |
Delete(var s, pos, len) | Remove characters from string | Delete(s,1,3) |
UpperCase(s) | All uppercase | UpperCase('hi') = 'HI' |
LowerCase(s) | All lowercase | LowerCase('HI') = 'hi' |
Trim(s) | Remove leading/trailing spaces | Trim(' Hi ') = 'Hi' |
StringReplace(s,old,new,flags) | Replace substring(s) | StringReplace(s,'a','e',[rfReplaceAll]) |
SameText(s1,s2) | Case-insensitive comparison (boolean) | SameText('Yes','yes') = True |
Concat(s1,s2) | Join two strings (same as +) | Concat('Hel','lo') |
s[i] | Character at index i (1-based) | s[1] = first character |
| Function | What it does | Example |
|---|---|---|
Sqr(x) | x squared (x²) | Sqr(4) = 16 |
Sqrt(x) | Square root | Sqrt(16) = 4 |
Power(base, exp) | base to the power of exp | Power(2,8) = 256 |
Round(x) | Round to nearest integer | Round(4.6) = 5 |
Trunc(x) | Remove decimal (truncate toward zero) | Trunc(4.9) = 4 |
Ceil(x) | Round UP to integer | Ceil(4.1) = 5 |
Floor(x) | Round DOWN to integer | Floor(4.9) = 4 |
Abs(x) | Absolute value | Abs(-5) = 5 |
Random(n) | Random integer 0 to n-1 | Random(6)+1 simulates a die |
Randomize | Seed the random generator (call once) | Call before Random() |
Inc(x) / Inc(x,n) | Increment by 1 or n | Inc(i) ≡ i := i+1 |
Dec(x) / Dec(x,n) | Decrement by 1 or n | Dec(i,3) ≡ i := i-3 |
Odd(n) | True if n is odd | Odd(3) = True |
Pi | Returns π (3.14159…) | rArea := Pi * Sqr(r) |
| Function | Converts | Example |
|---|---|---|
StrToInt(s) | String → Integer | StrToInt('42') = 42 |
StrToFloat(s) | String → Real | StrToFloat('3.14') |
StrToIntDef(s, default) | String → Integer (safe — returns default if invalid) | StrToIntDef(edtNum.Text, 0) |
IntToStr(n) | Integer → String | IntToStr(42) = '42' |
FloatToStr(r) | Real → String | FloatToStr(3.14) |
FloatToStrF(r, fmt, digits, dec) | Formatted real → String | FloatToStrF(r, ffFixed, 6, 2) |
Ord(c) | Char → Integer (ASCII value) | Ord('A') = 65 |
Chr(n) | Integer → Char | Chr(65) = 'A' |
UpCase(c) | Single char to uppercase | UpCase('a') = 'A' |
IntToHex(n, digits) | Integer → Hex string | IntToHex(255,2) = 'FF' |
DateToStr(d) | TDate → String | DateToStr(Now) |
FormatFloat(fmt, r) | Real → formatted string | FormatFloat('#,##0.00', 1234.5) |
| Section | What to expect | Common traps |
|---|---|---|
| Q1: General programming | Strings, loops, decisions, calculations (~30–40 marks) | Off-by-one errors in loops; forgetting to initialise variables |
| Q2: Arrays & files | 1D/2D arrays, text file reading/writing (~20–25 marks) | Using wrong index (0 vs 1-based); not closing file |
| Q3: OOP | Class with constructor, accessors, mutators, toString (~25–30 marks) | Calling Create on the object var (not class name); forgetting Result in functions |
| Q4: Database/SQL | TADOQuery, SQL statements including JOIN (~20–25 marks) | Not calling qry.Close before changing SQL; wrong JOIN ON condition |
| Recursion (Gr12) | Write a recursive function; trace it (~10–15 marks) | Missing base case; not returning Result |
| Topic | Typical mark allocation | What examiners look for |
|---|---|---|
| Hardware & software | 15–20 marks | Specific advantages/disadvantages; real-world examples |
| Networks & internet | 20–25 marks | Correct terminology; topology advantages/disadvantages |
| Databases & normalisation | 20–30 marks | Correct normal form identification; proper primary/foreign key use |
| Social implications | 20–25 marks | Balance of positive AND negative effects; specific examples |
| Cybercrime | 10–15 marks (Gr12) | Correct crime type names; effects on both victim and business |
| Current technology (IoT, AI, VR) | 10–15 marks (Gr12) | Practical application examples; social implications |