• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 1 out of 3 pages
Class notes

CO2412 Computational Thinking Lecture 13 Notes

Document preview thumbnail
Preview 1 out of 3 pages

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 classes.

Content preview

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.

Document information

Study
Unknown
Uploaded on
August 20, 2024
Number of pages
3
Written in
2023/2024
Type
Class notes
Professor(s)
Amin amini
Contains
All classes
$5.38

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
BpoBpo
3.7
(73)
Sold
312
Followers
250
Items
78
Last sold
6 months ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions