logo

Question detail

A design represents each bank account as an object containing account data and operations such as depositing and withdrawing. What is the strongest reason for classifying this design as object-oriented?

Try the question, check the answer, then read the explanation to understand the curriculum point.

At a glance

MCQ

Type

practice

Style

Topic

Programming paradigms

Exam-style question

Try this first

A design represents each bank account as an object containing account data and operations such as depositing and withdrawing. What is the strongest reason for classifying this design as object-oriented?.

  1. A.The data and the operations associated with each account are grouped together
  2. B.The design must contain no procedures
  3. C.The design uses more variables than a procedural design
  4. D.The design can only be implemented in one programming language

Model answer

What a good answer should say

  • The data and the operations associated with each account are grouped together

Explanation

Why this works

Grouping data with the operations that act on it is a defining characteristic of the object-oriented approach. The other statements do not describe a necessary characteristic.

Common mistake

No common mistake is linked to this question yet.

Related flashcards

No flashcards are published for this page yet.

Related practice questions

No questions are published for this page yet.