ITPEC FE Morning April 2018 Question 47

Which of the following is the appropriate combination of the basic concept of object orientation?

Explanation

Abstraction, encapsulation, inheritance, class — all four are basic concepts of object orientation.

The four terms mean:

  • •Abstraction: model only the essential properties and behaviour of real-world things as objects
  • •Encapsulation: bundle data with the methods that operate on it and hide the internal details behind an interface
  • •Inheritance: a subclass takes over the attributes and methods of its superclass and adds or overrides some
  • •Class: the template that defines the attributes and methods shared by a set of objects (its instances)

Polymorphism and message passing are the other concepts usually listed with them.

Answer (a)

Why not others:

  • •(b) — embodiment and continuation are not object-oriented terms, and structuring belongs to structured design
  • •(c) — normalization is a database design step and division a relational algebra operation
  • •(d) — virtualization is a system configuration technique and projection a relational algebra operation

Key rule: Object orientation speaks of classes, instances, abstraction, encapsulation, inheritance, polymorphism and messages; normalization, projection and division are relational database terms.

System Development Technology · AI-written, may contain errors

This question comes from an official ITPEC past paper. ITPEC Practice is an independent study tool and is not affiliated with ITPEC. See the official FE past-paper collection or Report an issue.