# Computer science: objects, databases and systems – 12th Grade

> Written with AI · Grade 12 · 2026-11-01 · https://lessoons.com/en/computer-science-objects-databases-and-systems

Instead of variables in one place and the code that handles them somewhere else, an object holds both. The closing year of the five unit computer science stream. Describing a problem as objects that carry their own data, keeping that data in tables a query can reach, and seeing what the operating system and the network are doing beneath a program that looks like it is alone.

## Lessons in this topic (in learning order)

1. [What is An object is data together with the operations that belong to it?](https://lessoons.com/en/computer-science-objects-databases-and-systems#lesson-1) (Grade 12) — Instead of variables in one place and the code that handles them somewhere else, an object holds both. The gain is not tidiness, it is that a change stays inside one boundary.
2. [What is The class as a pattern and the objects made from it?](https://lessoons.com/en/computer-science-objects-databases-and-systems#lesson-2) (Grade 12) — A class is written once and describes a kind of thing. Each object made from it is a separate thing of that kind, with its own values in the same named places.
3. [What is Hiding the inside so it can be changed safely?](https://lessoons.com/en/computer-science-objects-databases-and-systems#lesson-3) (Grade 12) — When the rest of the program can reach in and touch an object's values directly, nobody can change how the object works. Encapsulation is what buys back the freedom to improve it later.
4. [What is Inheritance, and when a shared parent is the wrong idea?](https://lessoons.com/en/computer-science-objects-databases-and-systems#lesson-4) (Grade 12) — One class can take everything another already has and add to it. That is powerful when the new kind really is a kind of the old one, and a lasting mistake when the two merely resemble each other.
5. [What is One name, several behaviours: polymorphism at work?](https://lessoons.com/en/computer-science-objects-databases-and-systems#lesson-5) (Grade 12) — The calling code says what it wants done and each kind of object answers in its own way. This is what lets a new kind be added without editing the code that uses it.
6. [What is From objects on paper to tables joined by keys?](https://lessoons.com/en/computer-science-objects-databases-and-systems#lesson-6) (Grade 12) — Objects live only while the program runs. To survive the program closing, they are laid out as rows in tables, and the relationships between them become keys that point from one table to another.
7. [What is Asking a database a question that crosses two tables?](https://lessoons.com/en/computer-science-objects-databases-and-systems#lesson-7) (Grade 12) — A query says what is wanted, not how to fetch it. The interesting part is joining two tables on a shared key, and noticing what happens to rows that have no partner on the other side.
8. [What is What the operating system is doing while a program waits?](https://lessoons.com/en/computer-science-objects-databases-and-systems#lesson-8) (Grade 12) — A program appears to have the machine to itself and does not. Memory is handed out and taken back, the processor is shared between programs in slices, and a program that waits for a disk or a network is set aside rather than watched.

## Frequently Asked Questions

### What is An object is data together with the operations that belong to it?

Instead of variables in one place and the code that handles them somewhere else, an object holds both. The gain is not tidiness, it is that a change stays inside one boundary.

### What is The class as a pattern and the objects made from it?

A class is written once and describes a kind of thing. Each object made from it is a separate thing of that kind, with its own values in the same named places.

### What is Hiding the inside so it can be changed safely?

When the rest of the program can reach in and touch an object's values directly, nobody can change how the object works. Encapsulation is what buys back the freedom to improve it later.

### What is Inheritance, and when a shared parent is the wrong idea?

One class can take everything another already has and add to it. That is powerful when the new kind really is a kind of the old one, and a lasting mistake when the two merely resemble each other.

### What does Computer science: objects, databases and systems for 12th Grade cover?

The closing year of the five unit computer science stream. Describing a problem as objects that carry their own data, keeping that data in tables a query can reach, and seeing what the operating system and the network are doing beneath a program that looks like it is alone. The unit includes 8 ordered lessons covering An object is data together with the operations that belong to it, The class as a pattern and the objects made from it, Hiding the inside so it can be changed safely, Inheritance, and when a shared parent is the wrong idea.
