TK Study

Software Engineering › Key terms › Y11 OOP › Encapsulation

Encapsulation

Term Key terms bank Y11 OOP

Definition

Bundling an object's data and the methods that use it together in a class and restricting direct access to the data (private attributes, accessed through methods) so it stays valid and secure.

Example: Make balance private and change it only through deposit() so it cannot be set to a negative number directly.

Found in: syllabus, course specifications, school notes, past SDD papers.

Short version to memorise (key terms bank)

Data and methods bundled and protected.

Where it is used in the test

Syllabus area: Y11 OOP.

Question types it can appear in

No past question in this bank is linked to this term yet. It can still be tested through the question types above.

Study links

How to use it in an answer

A model sentence

General advice, built from the definition and example above

“Bundling an object's data and the methods that use it together in a class and restricting direct access to the data (private attributes, accessed through methods) so it stays valid and secure.” Then apply it: Make balance private and change it only through deposit() so it cannot be set to a negative number directly.

In a short answer, give the definition in your own words first, then tie it to the situation in the question. Do not copy the example above unless it fits the scenario.

Command words used with it

General advice

No linked question shows the command word for this term. Across the past short answer questions in this bank the words used most are: Explain, Outline, Describe, Compare, Classify, Analyse. Check the actual word in your question.

Technique for the question types

Common mistakes

General advice
  • Use the term exactly as the syllabus words it, then link it to the scenario in the question; the 2025 feedback repeatedly rewards using the stimulus.
  • Answer the command word: outline gives main points only, explain gives a reason or cause, discuss gives both sides.

Same group in the syllabus: Object-oriented programming (OOP) · Class · Object · Attribute · Method · Constructor (__init__) · Abstraction · Inheritance · Generalisation · Superclass and subclass · Polymorphism · Method overriding · Message passing · Procedural programming v OOP