ArticleslgStudy

computer science

Object-oriented modeling

Object-oriented modeling is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Object-oriented modeling rather than just read about it. In short: Object-oriented modeling (OOM) is an approach to modeling a system as objects. It is primarily used for developing software, but can be and is used for other types of systems such as business process.

Object-oriented modeling — main illustration
Object-oriented modeling — illustration

Key takeaways

  • Object-oriented modeling belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Object-oriented modeling to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Object-oriented modeling from memory before moving on to harder problems.

Reference excerpt

Object-oriented modeling (OOM) is an approach to modeling a system as objects. It is primarily used for developing software, but can be and is used for other types of systems such as business process. Unified Modeling Language (UML) and SysML are two popular international standard languages used for OOM. For software development, OOM is used for analysis and design and is a key practice of object-oriented analysis and design (OOAD). The practice is primarily performed during the early stages of the development process although can continue for the life of a system. The practice can be divided into two aspects: the modeling of dynamic behavior like use cases and the modeling of static structures like classes and components, generally as visual modeling diagrams. The benefits of using OOM include:

Efficient and effective communication Users typically have difficulties understanding technical documentation and source code. Visual diagrams can be more understandable and can allow users and stakeholders to give developers feedback on the appropriate requirements and structure of the system. A key goal of the object-oriented approach is to decrease the "semantic gap" between the system and the real world, and to have the system be constructed using terminology that is almost the same as the stakeholders use in everyday business. OOM is an essential tool to facilitate this. Useful and stable abstraction Modeling supports coding. A goal of most modern development methodologies is to first address "what" questions and then address "how" questions, i.e. first determine the functionality the system is to provide without consideration of implementation constraints, and then consider how to make specific solutions to these abstract requirements, and refine them into detailed designs and codes by constraints such as technology and budget. OOM enables this by producing abstract and accessible descriptions of requirements and designs as models that define their essential structures and behaviors like processes and objects, which are important and valuable development assets with higher abstraction levels above concrete and complex source code.

Language

The notation used for modelling is a language of graphical elements that imply design based on convention. Many conventions have been devised and they vary in formality. It may be relatively informal in nature, or consist of predefined graphical templates or consist of a formally defined grammar. A modeling language is often associated with an object-oriented software development methodology since a methodology often spawns a language. The modeling language defines the elements of a model, such as classes, methods, properties, etc. The methodology defines the steps developers take to create and maintain a software system in relation to the models. For example, the Booch method may refer to Grady Booch's standard for diagramming, his methodology, or both. Or the Rumbaugh Object Modeling Technique is both a set of diagrams and a process model for developing object-oriented systems. In the early years of the object-oriented development there were several competing modeling and methodology variants. Booch and Rumbaugh were two of the most popular, and Ivar Jacobson's Objectory, Shlaer-Mellor, and Yourdon-Coad were also popular. Starting in the mid-1990s, efforts began to harmonize modelling languages—to reconcile the leading models and focus on one unified specification. The graphic shows the evolution of and adoption of the Unified Modeling Language (UML).

References

Illustrations

Object-oriented modeling: Object-oriented model of a travel reservation system
Object-oriented model of a travel reservation system
Object-oriented modeling: Milestones in the evolution of the UML[2]
Milestones in the evolution of the UML[2]

Worked examples

Example 1 — a first encounter with Object-oriented modeling

Start with the simplest possible case. Write down what Object-oriented modeling claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Object-oriented modeling before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Object-oriented modeling ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Object-oriented modeling

In research
Object-oriented modeling appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Object-oriented modeling in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Object-oriented modeling is common in secondary-school and first-year university syllabi. It links to neighbouring topics Object-oriented programming, Software design, so understanding it makes those chapters shorter.
In everyday life
Look for Object-oriented modeling outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Object-oriented modeling” →

How to study Object-oriented modeling in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Object-oriented modeling means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Object-oriented modeling out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Object-oriented modeling in simple terms?

Object-oriented modeling (OOM) is an approach to modeling a system as objects. It is primarily used for developing software, but can be and is used for other types of systems such as business process.

Why does Object-oriented modeling matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Object-oriented modeling?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Object-oriented modeling.

Tags

  • Object-oriented programming
  • Software design

Keep exploring