• Computing and data
  • Grade 12

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

Written with AI (How we create content)Target level: Grade 12Last updated: Report an error
About 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.

All lessons in Computer science: objects, databases and systems (in learning order)

  1. What is An object is data together with the operations that belong to it?
    An object is data together with the operations that belong to it · Grade 12 · 40 min
  2. What is The class as a pattern and the objects made from it?
    The class as a pattern and the objects made from it · Grade 12 · 40 min
  3. What is Hiding the inside so it can be changed safely?
    Hiding the inside so it can be changed safely · Grade 12 · 45 min
  4. What is Inheritance, and when a shared parent is the wrong idea?
    Inheritance, and when a shared parent is the wrong idea · Grade 12 · 45 min
  5. What is One name, several behaviours: polymorphism at work?
    One name, several behaviours: polymorphism at work · Grade 12 · 45 min
  6. What is From objects on paper to tables joined by keys?
    From objects on paper to tables joined by keys · Grade 12 · 45 min
  7. What is Asking a database a question that crosses two tables?
    Asking a database a question that crosses two tables · Grade 12 · 45 min
  8. What is What the operating system is doing while a program waits?
    What the operating system is doing while a program waits · Grade 12 · 45 min

Common 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.