100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
CO2412 Computational Thinking Lecture 13 Notes $4.52   Add to cart

Class notes

CO2412 Computational Thinking Lecture 13 Notes

 8 views  0 purchase
  • Course
  • Institution

This document contains detailed notes from Lecture 13 of the CO2412 course on Computational Thinking. The lecture introduces the principles of Object-Based Programming (OBP), a component-based approach to software development that focuses on defining and simulating real-world objects through classe...

[Show more]

Preview 1 out of 3  pages

  • August 20, 2024
  • 3
  • 2023/2024
  • Class notes
  • Amin amini
  • All classes
  • Unknown
avatar-seller
CO2412: Computational Thinking
Lecture 13

Introduction to Object-Based Programming (OBP)
1. Object-Based Programming Overview
o Object-Based Programming (OBP) is a component-based
approach to software development where systems are created by
defining a set of classes.
o OBP allows for the expansion of systems by adding new capabilities
to existing classes or creating new systems from existing classes,
thereby reducing development time.
2. Unified Modelling Language (UML)
o UML is used to facilitate the modelling of these classes and
objects, which can then be created in software.
3. Real-World Object Simulation
o OBP simulates real-world objects in software, mimicking their
behaviour and properties, such as in a calculator application.
o This simulation is consistent whether using an Object-Oriented
Programming (OOP) methodology or not.
Core Concepts in Object-Based Modelling
1. Objects and Classes
o An Object has structure (properties) and behaviour (operations it
performs), collectively referred to as features.
o A Class categorizes these properties and behaviours and acts as a
template for creating objects.
2. Example: Car Class
o A car class might have attributes like make, model, engineSize, and
gears, and operations like turnOnIgnition(), takePassengers(), and
reverse().
o New car objects can be created based on this class.

3. Abstraction in Object Modelling
o Abstraction involves selecting only the necessary properties and
operations to include in the model, making it a core skill in OOP.

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller BpoBpo. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $4.52. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

79223 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$4.52
  • (0)
  Add to cart