This document provides an introduction to object-oriented system design. It defines key object-oriented concepts like objects, classes, encapsulation, inheritance, and polymorphism. It also outlines the processes of object-oriented analysis, design, and programming. Finally, it provides examples of how these concepts are implemented in C++, including how to define classes and create objects.
This document provides an overview of object-oriented programming concepts. It begins by defining a programming language and different levels of abstraction in languages. It then defines object-oriented programming as relying on classes and objects, with classes acting as blueprints for objects. The basic building blocks of OOP - objects, classes, attributes, and methods - are introduced. Each concept is then defined in more detail, including objects, classes, inheritance, encapsulation, abstraction, and polymorphism. The document concludes by outlining some advantages of using an object-oriented programming approach.
Object-oriented analysis and design is an evolutionary development method built upon past proven concepts. The document discusses object-oriented systems development processes including use case driven analysis, the Object Modeling Technique (OMT), class diagrams, relationships between classes, and object-oriented modeling. It provides examples of class diagrams showing classes, attributes, operations, and relationships. It also explains the four views of OMT - the object model, dynamic model, functional model, and how OMT separates modeling.
Object-oriented programming (OOP) is a programming paradigm that designs applications around objects that contain both data and behaviors. Key concepts of OOP include data abstraction, encapsulation, inheritance, polymorphism, and messaging. Many modern programming languages support OOP through features like classes, which provide a blueprint for creating object instances that can maintain state through data fields and behavior through methods.
Object Oriented Programming For Engineering Students as well as for B.Tech -IT. Covers Almost All From The Basics.
For more:
Google Search:: Prabhaharan Ellaiyan
The document discusses object-oriented programming and the Java programming language. It begins by describing the different types of computer languages, including machine languages, assembly languages, and high-level languages. It then provides an overview of the Java programming language, noting that it is a high-level, compiled and interpreted language. The document also discusses key concepts of object-oriented programming like objects, classes, inheritance, polymorphism, abstraction, and encapsulation. It provides examples of objects, classes, and how to initialize objects in Java.
This document provides an introduction to object-oriented concepts, modeling, and system development. It discusses key topics such as:
- The benefits of object-oriented programming like modularity, information hiding, and code reuse.
- Basic concepts in OOP like objects, classes, encapsulation, inheritance, and polymorphism.
- The role of modeling in engineering by providing information about systems before they are built through mapping, reducing complexity, and being pragmatic.
- Object-oriented analysis focuses on understanding a system's functional requirements, unlike traditional function/data analysis which considers behavior and data separately.
The document discusses object oriented programming concepts in ABAP, including:
1. Classes define objects and contain components like attributes and methods. Objects are instances of classes.
2. Classes can be declared globally or locally. Global classes are stored centrally while local classes are defined within a program.
3. Key object oriented programming concepts like inheritance, abstraction, encapsulation and polymorphism are explained with examples in ABAP.
4. An example program is provided to demonstrate creating a class to manage a bank account balance, with methods to set the balance, deposit amounts, and withdraw amounts.
This document provides an introduction to object-oriented programming (OOP) using Java. It defines key OOP concepts like classes, objects, encapsulation, inheritance and polymorphism. It explains the differences between procedural and object-oriented paradigms. Popular OOP languages like Java, C++, Smalltalk are listed, with examples of how classes and objects are used to represent real-world entities like vehicles. The advantages of OOP like code reusability and modular design are also summarized.
This document discusses object-oriented programming concepts in VB.NET, including:
- Classes define templates for objects with data and behaviors, while objects are instances of classes.
- Features like abstraction, encapsulation, and polymorphism are supported.
- Properties and methods represent object data and behaviors. Constructors and destructors manage object instantiation and cleanup.
- An example class defines properties and a constructor to initialize objects.
Object oriented programming concepts such as abstraction, encapsulation, inheritance and polymorphism are supported in .NET languages like C# and Visual Basic. Encapsulation groups related properties and methods into a single object. Inheritance allows new classes to be created from an existing class. Polymorphism allows multiple classes to be used interchangeably even if they implement properties or methods differently.
For someone starting with object oriented programming i.e. oops in c++
Helps to attains concepts in an easy manner with several code examples, error cases, self done questions and tabular comparison wherever possible
This document provides an introduction to object-oriented analysis and design (OOAD) using the Unified Process as an example iterative development process. It discusses OO concepts like objects, classes, attributes, methods, encapsulation, inheritance, polymorphism, and relationships. It also defines analysis as investigating requirements while design emphasizes a conceptual solution that fulfills requirements. Object-oriented analysis focuses on identifying real-world concepts as objects, while object-oriented design defines software objects and how they will collaborate.
The document discusses object orientation and compares procedural and object-oriented programming. It defines key concepts in object-oriented programming like classes, objects, inheritance, encapsulation, and polymorphism. It also provides an example of a local class in ABAP with methods to retrieve and display data from database tables.
Object-oriented programming uses objects that contain data fields and methods to design applications. Key concepts include abstraction, encapsulation, inheritance, and polymorphism. A class defines shared attributes and behaviors that enable instances of that class to maintain state and behavior. An object is a runtime instance of a class that represents some entity like a person or place. Data encapsulation wraps data and code together, controlling access through public, private, and protected keywords. Inheritance allows classes to inherit attributes and behaviors from superclasses to create class hierarchies.
Object-oriented programming uses objects that contain data fields and methods to design applications. Key concepts include abstraction, encapsulation, inheritance, and polymorphism. A class defines shared attributes and behaviors that enable instances of that class to maintain state and behavior. An object is a runtime instance of a class that represents some entity like a person or place. Data encapsulation wraps data and code together, controlling access through public, private, and protected keywords. Inheritance allows classes to inherit attributes and behaviors from other classes in a hierarchy.
The document discusses object-oriented programming concepts in C++ including classes, objects, encapsulation, inheritance, polymorphism, and more. It provides examples of class definitions and accessing class members. Key points covered include:
- Classes are templates that define objects, while objects are instances of classes.
- Encapsulation involves wrapping data and functions together in a class. Inheritance allows classes to acquire properties from other classes.
- Polymorphism allows a method to perform different actions based on parameters. Message passing involves communication between objects.
- Structured programming divides a program into functions and data, while object-oriented programming divides it into objects that contain data and functions.
This document provides an overview of object-oriented programming (OOP). It discusses procedural programming and how it differs from OOP. The main features/principles of OOP are data abstraction, inheritance, encapsulation, and polymorphism. Advantages of OOP include promoting code reuse and flexibility through polymorphism. Key terms are defined, including class, object, properties, and methods. A class defines the blueprint for an object, while an object is an instance of a class that occupies memory.
The document discusses key concepts in object-oriented programming including objects, classes, encapsulation, abstraction, polymorphism, and inheritance. It provides definitions and examples of each concept. For objects, it describes how objects have an identity, state, and behavior. For classes, it explains that a class is a blueprint that defines common properties and behaviors for a collection of objects.
Object-oriented programming organizes software around data objects rather than functions. The key concepts are encapsulation, inheritance, and polymorphism. Encapsulation treats an object's data and methods as a single unit, inheritance creates class hierarchies where subclasses inherit attributes and behaviors from parent classes, and polymorphism allows the same method to work differently for different classes. The main building blocks are classes, which act as templates for objects, and methods, which define objects' behaviors.
This document discusses object-oriented concepts and modeling. It begins by listing three textbooks on these topics. It then provides an overview of object-oriented concepts like objects, classes, inheritance, polymorphism, and encapsulation. It describes the stages of object-oriented analysis, design and implementation. It discusses the three main models used in object-oriented modeling: class models, state models, and interaction models. Finally, it covers object-oriented themes like abstraction, encapsulation, and polymorphism and the purposes of modeling.
Object-oriented programming concepts organize software using objects that contain data and code. An object stores its state in fields and exposes behavior through methods. Encapsulating data within objects and requiring interaction through methods is known as data encapsulation. Classes define types of objects and act as blueprints, allowing the creation of multiple objects with similar characteristics. Inheritance allows new classes to inherit properties from existing classes. Polymorphism allows objects to take on multiple forms, while dynamic binding determines appropriate code to execute based on an object's type at runtime. Objects communicate by sending and receiving messages containing method names and parameters. Packages organize related classes and interfaces into logical groups.
The document provides an overview of object-oriented programming (OOP) concepts using PHP including classes, objects, properties, methods, encapsulation, inheritance, polymorphism, and magic methods. It defines key OOP terms like class, object, constructor, destructor, and visibility scopes. The document also discusses benefits of OOP like code reuse and data hiding.
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - WorksheetSritoma Majumder
Introduction
All the materials around us are made up of elements. These elements can be broadly divided into two major groups:
Metals
Non-Metals
Each group has its own unique physical and chemical properties. Let's understand them one by one.
Physical Properties
1. Appearance
Metals: Shiny (lustrous). Example: gold, silver, copper.
Non-metals: Dull appearance (except iodine, which is shiny).
2. Hardness
Metals: Generally hard. Example: iron.
Non-metals: Usually soft (except diamond, a form of carbon, which is very hard).
3. State
Metals: Mostly solids at room temperature (except mercury, which is a liquid).
Non-metals: Can be solids, liquids, or gases. Example: oxygen (gas), bromine (liquid), sulphur (solid).
4. Malleability
Metals: Can be hammered into thin sheets (malleable).
Non-metals: Not malleable. They break when hammered (brittle).
5. Ductility
Metals: Can be drawn into wires (ductile).
Non-metals: Not ductile.
6. Conductivity
Metals: Good conductors of heat and electricity.
Non-metals: Poor conductors (except graphite, which is a good conductor).
7. Sonorous Nature
Metals: Produce a ringing sound when struck.
Non-metals: Do not produce sound.
Chemical Properties
1. Reaction with Oxygen
Metals react with oxygen to form metal oxides.
These metal oxides are usually basic.
Non-metals react with oxygen to form non-metallic oxides.
These oxides are usually acidic.
2. Reaction with Water
Metals:
Some react vigorously (e.g., sodium).
Some react slowly (e.g., iron).
Some do not react at all (e.g., gold, silver).
Non-metals: Generally do not react with water.
3. Reaction with Acids
Metals react with acids to produce salt and hydrogen gas.
Non-metals: Do not react with acids.
4. Reaction with Bases
Some non-metals react with bases to form salts, but this is rare.
Metals generally do not react with bases directly (except amphoteric metals like aluminum and zinc).
Displacement Reaction
More reactive metals can displace less reactive metals from their salt solutions.
Uses of Metals
Iron: Making machines, tools, and buildings.
Aluminum: Used in aircraft, utensils.
Copper: Electrical wires.
Gold and Silver: Jewelry.
Zinc: Coating iron to prevent rusting (galvanization).
Uses of Non-Metals
Oxygen: Breathing.
Nitrogen: Fertilizers.
Chlorine: Water purification.
Carbon: Fuel (coal), steel-making (coke).
Iodine: Medicines.
Alloys
An alloy is a mixture of metals or a metal with a non-metal.
Alloys have improved properties like strength, resistance to rusting.
World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...larencebapu132
This is short and accurate description of World war-1 (1914-18)
It can give you the perfect factual conceptual clarity on the great war
Regards Simanchala Sarab
Student of BABed(ITEP, Secondary stage)in History at Guru Nanak Dev University Amritsar Punjab 🙏🙏
Ad
More Related Content
Similar to OOSD Lecture 1-1.pptx FOR ENGINEERING STUDENTS (20)
The document discusses object oriented programming concepts in ABAP, including:
1. Classes define objects and contain components like attributes and methods. Objects are instances of classes.
2. Classes can be declared globally or locally. Global classes are stored centrally while local classes are defined within a program.
3. Key object oriented programming concepts like inheritance, abstraction, encapsulation and polymorphism are explained with examples in ABAP.
4. An example program is provided to demonstrate creating a class to manage a bank account balance, with methods to set the balance, deposit amounts, and withdraw amounts.
This document provides an introduction to object-oriented programming (OOP) using Java. It defines key OOP concepts like classes, objects, encapsulation, inheritance and polymorphism. It explains the differences between procedural and object-oriented paradigms. Popular OOP languages like Java, C++, Smalltalk are listed, with examples of how classes and objects are used to represent real-world entities like vehicles. The advantages of OOP like code reusability and modular design are also summarized.
This document discusses object-oriented programming concepts in VB.NET, including:
- Classes define templates for objects with data and behaviors, while objects are instances of classes.
- Features like abstraction, encapsulation, and polymorphism are supported.
- Properties and methods represent object data and behaviors. Constructors and destructors manage object instantiation and cleanup.
- An example class defines properties and a constructor to initialize objects.
Object oriented programming concepts such as abstraction, encapsulation, inheritance and polymorphism are supported in .NET languages like C# and Visual Basic. Encapsulation groups related properties and methods into a single object. Inheritance allows new classes to be created from an existing class. Polymorphism allows multiple classes to be used interchangeably even if they implement properties or methods differently.
For someone starting with object oriented programming i.e. oops in c++
Helps to attains concepts in an easy manner with several code examples, error cases, self done questions and tabular comparison wherever possible
This document provides an introduction to object-oriented analysis and design (OOAD) using the Unified Process as an example iterative development process. It discusses OO concepts like objects, classes, attributes, methods, encapsulation, inheritance, polymorphism, and relationships. It also defines analysis as investigating requirements while design emphasizes a conceptual solution that fulfills requirements. Object-oriented analysis focuses on identifying real-world concepts as objects, while object-oriented design defines software objects and how they will collaborate.
The document discusses object orientation and compares procedural and object-oriented programming. It defines key concepts in object-oriented programming like classes, objects, inheritance, encapsulation, and polymorphism. It also provides an example of a local class in ABAP with methods to retrieve and display data from database tables.
Object-oriented programming uses objects that contain data fields and methods to design applications. Key concepts include abstraction, encapsulation, inheritance, and polymorphism. A class defines shared attributes and behaviors that enable instances of that class to maintain state and behavior. An object is a runtime instance of a class that represents some entity like a person or place. Data encapsulation wraps data and code together, controlling access through public, private, and protected keywords. Inheritance allows classes to inherit attributes and behaviors from superclasses to create class hierarchies.
Object-oriented programming uses objects that contain data fields and methods to design applications. Key concepts include abstraction, encapsulation, inheritance, and polymorphism. A class defines shared attributes and behaviors that enable instances of that class to maintain state and behavior. An object is a runtime instance of a class that represents some entity like a person or place. Data encapsulation wraps data and code together, controlling access through public, private, and protected keywords. Inheritance allows classes to inherit attributes and behaviors from other classes in a hierarchy.
The document discusses object-oriented programming concepts in C++ including classes, objects, encapsulation, inheritance, polymorphism, and more. It provides examples of class definitions and accessing class members. Key points covered include:
- Classes are templates that define objects, while objects are instances of classes.
- Encapsulation involves wrapping data and functions together in a class. Inheritance allows classes to acquire properties from other classes.
- Polymorphism allows a method to perform different actions based on parameters. Message passing involves communication between objects.
- Structured programming divides a program into functions and data, while object-oriented programming divides it into objects that contain data and functions.
This document provides an overview of object-oriented programming (OOP). It discusses procedural programming and how it differs from OOP. The main features/principles of OOP are data abstraction, inheritance, encapsulation, and polymorphism. Advantages of OOP include promoting code reuse and flexibility through polymorphism. Key terms are defined, including class, object, properties, and methods. A class defines the blueprint for an object, while an object is an instance of a class that occupies memory.
The document discusses key concepts in object-oriented programming including objects, classes, encapsulation, abstraction, polymorphism, and inheritance. It provides definitions and examples of each concept. For objects, it describes how objects have an identity, state, and behavior. For classes, it explains that a class is a blueprint that defines common properties and behaviors for a collection of objects.
Object-oriented programming organizes software around data objects rather than functions. The key concepts are encapsulation, inheritance, and polymorphism. Encapsulation treats an object's data and methods as a single unit, inheritance creates class hierarchies where subclasses inherit attributes and behaviors from parent classes, and polymorphism allows the same method to work differently for different classes. The main building blocks are classes, which act as templates for objects, and methods, which define objects' behaviors.
This document discusses object-oriented concepts and modeling. It begins by listing three textbooks on these topics. It then provides an overview of object-oriented concepts like objects, classes, inheritance, polymorphism, and encapsulation. It describes the stages of object-oriented analysis, design and implementation. It discusses the three main models used in object-oriented modeling: class models, state models, and interaction models. Finally, it covers object-oriented themes like abstraction, encapsulation, and polymorphism and the purposes of modeling.
Object-oriented programming concepts organize software using objects that contain data and code. An object stores its state in fields and exposes behavior through methods. Encapsulating data within objects and requiring interaction through methods is known as data encapsulation. Classes define types of objects and act as blueprints, allowing the creation of multiple objects with similar characteristics. Inheritance allows new classes to inherit properties from existing classes. Polymorphism allows objects to take on multiple forms, while dynamic binding determines appropriate code to execute based on an object's type at runtime. Objects communicate by sending and receiving messages containing method names and parameters. Packages organize related classes and interfaces into logical groups.
The document provides an overview of object-oriented programming (OOP) concepts using PHP including classes, objects, properties, methods, encapsulation, inheritance, polymorphism, and magic methods. It defines key OOP terms like class, object, constructor, destructor, and visibility scopes. The document also discusses benefits of OOP like code reuse and data hiding.
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - WorksheetSritoma Majumder
Introduction
All the materials around us are made up of elements. These elements can be broadly divided into two major groups:
Metals
Non-Metals
Each group has its own unique physical and chemical properties. Let's understand them one by one.
Physical Properties
1. Appearance
Metals: Shiny (lustrous). Example: gold, silver, copper.
Non-metals: Dull appearance (except iodine, which is shiny).
2. Hardness
Metals: Generally hard. Example: iron.
Non-metals: Usually soft (except diamond, a form of carbon, which is very hard).
3. State
Metals: Mostly solids at room temperature (except mercury, which is a liquid).
Non-metals: Can be solids, liquids, or gases. Example: oxygen (gas), bromine (liquid), sulphur (solid).
4. Malleability
Metals: Can be hammered into thin sheets (malleable).
Non-metals: Not malleable. They break when hammered (brittle).
5. Ductility
Metals: Can be drawn into wires (ductile).
Non-metals: Not ductile.
6. Conductivity
Metals: Good conductors of heat and electricity.
Non-metals: Poor conductors (except graphite, which is a good conductor).
7. Sonorous Nature
Metals: Produce a ringing sound when struck.
Non-metals: Do not produce sound.
Chemical Properties
1. Reaction with Oxygen
Metals react with oxygen to form metal oxides.
These metal oxides are usually basic.
Non-metals react with oxygen to form non-metallic oxides.
These oxides are usually acidic.
2. Reaction with Water
Metals:
Some react vigorously (e.g., sodium).
Some react slowly (e.g., iron).
Some do not react at all (e.g., gold, silver).
Non-metals: Generally do not react with water.
3. Reaction with Acids
Metals react with acids to produce salt and hydrogen gas.
Non-metals: Do not react with acids.
4. Reaction with Bases
Some non-metals react with bases to form salts, but this is rare.
Metals generally do not react with bases directly (except amphoteric metals like aluminum and zinc).
Displacement Reaction
More reactive metals can displace less reactive metals from their salt solutions.
Uses of Metals
Iron: Making machines, tools, and buildings.
Aluminum: Used in aircraft, utensils.
Copper: Electrical wires.
Gold and Silver: Jewelry.
Zinc: Coating iron to prevent rusting (galvanization).
Uses of Non-Metals
Oxygen: Breathing.
Nitrogen: Fertilizers.
Chlorine: Water purification.
Carbon: Fuel (coal), steel-making (coke).
Iodine: Medicines.
Alloys
An alloy is a mixture of metals or a metal with a non-metal.
Alloys have improved properties like strength, resistance to rusting.
World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...larencebapu132
This is short and accurate description of World war-1 (1914-18)
It can give you the perfect factual conceptual clarity on the great war
Regards Simanchala Sarab
Student of BABed(ITEP, Secondary stage)in History at Guru Nanak Dev University Amritsar Punjab 🙏🙏
A measles outbreak originating in West Texas has been linked to confirmed cases in New Mexico, with additional cases reported in Oklahoma and Kansas. The current case count is 795 from Texas, New Mexico, Oklahoma, and Kansas. 95 individuals have required hospitalization, and 3 deaths, 2 children in Texas and one adult in New Mexico. These fatalities mark the first measles-related deaths in the United States since 2015 and the first pediatric measles death since 2003.
The YSPH Virtual Medical Operations Center Briefs (VMOC) were created as a service-learning project by faculty and graduate students at the Yale School of Public Health in response to the 2010 Haiti Earthquake. Each year, the VMOC Briefs are produced by students enrolled in Environmental Health Science Course 581 - Public Health Emergencies: Disaster Planning and Response. These briefs compile diverse information sources – including status reports, maps, news articles, and web content– into a single, easily digestible document that can be widely shared and used interactively. Key features of this report include:
- Comprehensive Overview: Provides situation updates, maps, relevant news, and web resources.
- Accessibility: Designed for easy reading, wide distribution, and interactive use.
- Collaboration: The “unlocked" format enables other responders to share, copy, and adapt seamlessly. The students learn by doing, quickly discovering how and where to find critical information and presenting it in an easily understood manner.
How to Customize Your Financial Reports & Tax Reports With Odoo 17 AccountingCeline George
The Accounting module in Odoo 17 is a complete tool designed to manage all financial aspects of a business. Odoo offers a comprehensive set of tools for generating financial and tax reports, which are crucial for managing a company's finances and ensuring compliance with tax regulations.
Ultimate VMware 2V0-11.25 Exam Dumps for Exam SuccessMark Soia
Boost your chances of passing the 2V0-11.25 exam with CertsExpert reliable exam dumps. Prepare effectively and ace the VMware certification on your first try
Quality dumps. Trusted results. — Visit CertsExpert Now: https://www.certsexpert.com/2V0-11.25-pdf-questions.html
This chapter provides an in-depth overview of the viscosity of macromolecules, an essential concept in biophysics and medical sciences, especially in understanding fluid behavior like blood flow in the human body.
Key concepts covered include:
✅ Definition and Types of Viscosity: Dynamic vs. Kinematic viscosity, cohesion, and adhesion.
⚙️ Methods of Measuring Viscosity:
Rotary Viscometer
Vibrational Viscometer
Falling Object Method
Capillary Viscometer
🌡️ Factors Affecting Viscosity: Temperature, composition, flow rate.
🩺 Clinical Relevance: Impact of blood viscosity in cardiovascular health.
🌊 Fluid Dynamics: Laminar vs. turbulent flow, Reynolds number.
🔬 Extension Techniques:
Chromatography (adsorption, partition, TLC, etc.)
Electrophoresis (protein/DNA separation)
Sedimentation and Centrifugation methods.
How to manage Multiple Warehouses for multiple floors in odoo point of saleCeline George
The need for multiple warehouses and effective inventory management is crucial for companies aiming to optimize their operations, enhance customer satisfaction, and maintain a competitive edge.
Social Problem-Unemployment .pptx notes for Physiotherapy StudentsDrNidhiAgarwal
Unemployment is a major social problem, by which not only rural population have suffered but also urban population are suffered while they are literate having good qualification.The evil consequences like poverty, frustration, revolution
result in crimes and social disorganization. Therefore, it is
necessary that all efforts be made to have maximum.
employment facilities. The Government of India has already
announced that the question of payment of unemployment
allowance cannot be considered in India
As of Mid to April Ending, I am building a new Reiki-Yoga Series. No worries, they are free workshops. So far, I have 3 presentations so its a gradual process. If interested visit: https://www.slideshare.net/YogaPrincess
https://ldmchapels.weebly.com
Blessings and Happy Spring. We are hitting Mid Season.
GDGLSPGCOER - Git and GitHub Workshop.pptxazeenhodekar
This presentation covers the fundamentals of Git and version control in a practical, beginner-friendly way. Learn key commands, the Git data model, commit workflows, and how to collaborate effectively using Git — all explained with visuals, examples, and relatable humor.
*Metamorphosis* is a biological process where an animal undergoes a dramatic transformation from a juvenile or larval stage to a adult stage, often involving significant changes in form and structure. This process is commonly seen in insects, amphibians, and some other animals.
Exploring Substances:
Acidic, Basic, and
Neutral
Welcome to the fascinating world of acids and bases! Join siblings Ashwin and
Keerthi as they explore the colorful world of substances at their school's
National Science Day fair. Their adventure begins with a mysterious white paper
that reveals hidden messages when sprayed with a special liquid.
In this presentation, we'll discover how different substances can be classified as
acidic, basic, or neutral. We'll explore natural indicators like litmus, red rose
extract, and turmeric that help us identify these substances through color
changes. We'll also learn about neutralization reactions and their applications in
our daily lives.
by sandeep swamy
How to Set warnings for invoicing specific customers in odooCeline George
Odoo 16 offers a powerful platform for managing sales documents and invoicing efficiently. One of its standout features is the ability to set warnings and block messages for specific customers during the invoicing process.
Title: A Quick and Illustrated Guide to APA Style Referencing (7th Edition)
This visual and beginner-friendly guide simplifies the APA referencing style (7th edition) for academic writing. Designed especially for commerce students and research beginners, it includes:
✅ Real examples from original research papers
✅ Color-coded diagrams for clarity
✅ Key rules for in-text citation and reference list formatting
✅ Free citation tools like Mendeley & Zotero explained
Whether you're writing a college assignment, dissertation, or academic article, this guide will help you cite your sources correctly, confidently, and consistent.
Created by: Prof. Ishika Ghosh,
Faculty.
📩 For queries or feedback: [email protected]
1. Prepared By
Rajendra Kumar Rajouria
UCER Naini,Allahabad
Object Oriented System Design (KCS-054)
Lecture-1
2. INDEX
Introduction:
The meaning of Object Orientation,
object identity
Example
information hiding
Polymorphism
Generosity
Importance of modelling
Principles of modelling
Object oriented modelling
3. Object Oriented System Design
Course Outcome ( CO)
CO 1 Understand the application development and analyze the insights
of object oriented programming to implement application K2, K4
CO 2 Understand, analyze and apply the role of overall modeling
concepts (i.e. System, structural) K2, K3
CO 3 Understand, analyze and apply oops concepts (i.e. abstraction,
inheritance) K2, K3, K4
CO 4 Understand the basic concepts of C++ to implement the object
oriented concepts K2, K3
CO 5 To understand the object oriented approach to implement real
world problem. K2, K3
4. A Brief History
The object-oriented paradigm took its shape from the
initial concept of a new programming approach, while the
interest in design and analysis methods came much later.
The first object–oriented language was Simula (Simulation
of real systems) that was developed in 1960 by
researchers at the Norwegian Computing Center.
In 1970, Alan Kay and his research group at Xerox PARK
created a personal computer named Dynabook and the
first pure object-oriented programming language (OOPL) -
Smalltalk, for programming the Dynabook.
5. Object-Oriented Analysis
Grady Booch has defined OOA as,
“Object-oriented analysis is a method of analysis that examines requirements from the perspective of the classes and objects found in the vocabulary of the problem domain”.
6. In the 1980s, Grady Booch published a paper titled
Object Oriented Design that mainly presented a design
for the programming language, Ada. In the ensuing
editions, he extended his ideas to a complete object–
oriented design method.
In the 1990s, Coad incorporated behavioral ideas to
object-oriented methods.
7. The meaning of Object Orientation
Think of objects as real-life entities. For instance, a car can be an
object with properties like color, model, speed, and actions like
accelerating and braking. In OOP, we encapsulate these properties
and actions into a class entity. Classes serve as blueprints for
creating objects.
Object-oriented programming (OOP) is a computer programming model
that organizes software design around data, or objects, rather than
functions and logic. An object can be defined as a data field that
has unique attributes and behavior.
Once an object is known, it is labeled with a class of objects that
defines the kind of data it contains and any logic sequences that can
manipulate it. Each distinct logic sequence is known as a method.
Objects can communicate with well-defined interfaces called
messages.
8. The structure, or building blocks, of object-oriented programming
include the following:
Classes are user-defined data types that act as the blueprint for individual
objects, attributes and methods.
Objects are instances of a class created with specifically defined data.
Objects can correspond to real-world objects or an abstract entity. When
class is defined initially, the description is the only object that is defined.
Methods are functions that objects can perform. They are defined inside a
class that describe the behaviors of an object. Each method contained in class
definitions starts with a reference to an instance object. Additionally, the
subroutines contained in an object are called instance methods. Programmers
use methods for reusability or keeping functionality encapsulated inside one
object at a time.
Attributes represent the state of an object. In other words, they are the
characteristics that distinguish classes. Objects have data stored in the
attributes field. Class attributes belong to the class itself and are defined in
the class template.
9. Object identity
Object identity: An object retains its identity even if some or all of the
values of variables or definitions of methods change over time.
Object identity is a property of data that is created in the context of an
object data model, where an object is assigned a unique internal object
identifier.
Object identity is a stronger notion of identity than typically found in
programming languages or in data models not based on object orientation.
Several forms of identity: value: A data value is used for identity (e.g., the
primary key of a tuple in a relational database).
Object identity is typically implemented via a unique, system-generated OID.
The value of the OID is not visible to the external user, but is used internally
by the system to identify each object uniquely and to create and manage
inter-object references.
10. Class
A class represents a collection of objects having
same characteristic properties that exhibit
common behavior.
It gives the blueprint or description of the
objects that can be created from it.
Creation of an object as a member of a class is
called instantiation.
Thus, object is an instance of a class.
11. Encapsulation
Object-Oriented Programming (OOP) is commonly used to develop complex
software systems. It is a programming paradigm based on the concept of “objects”
that provides an organized approach to solving problems by breaking down a
system into smaller, more manageable objects. These objects can represent real-
world entities or abstract concepts.
Encapsulation is a key concept in OOP. This concept involves combining data and
the methods that operate on it into single unit, called as class. Encapsulation
creates a layer that protects data from accidental modification, enhances code
organization, and streamlines interaction between program components.
Consider a car. The car body contains the engine, transmission, and brakes. You
can interact with the car using its controls (steering wheel, accelerator, and brake
pedal), but you don’t need to understand how they function. This is similar to the
way encapsulation works in programming.
12. How Encapsulation Works
To achieve encapsulation, you typically:
Declare data members as private: This restricts direct
access to the data from outside the class.
Provide public methods (getters and setters): These
methods act as intermediaries, allowing controlled access
to the data. Getters retrieve data values, while setters
modify them.
Implement data validation: Within the setter methods,
you can validate data before assigning it to the object’s
properties, ensuring data integrity.
13. The Benefits of Encapsulation
Data Protection: By making data private, you prevent accidental
or intentional modification from outside the class, ensuring data
integrity.
Increased Security: Encapsulation helps protect sensitive
information by restricting access to it.
Code Reusability: Encapsulated classes often boast greater
reusability because they function as self-contained units with
clearly defined interfaces.
Improved Maintainability: Changes to the internal
implementation of a class are less likely to affect other parts of
the program due to encapsulation.
14. Two Important property of Encapsulation
Data Protection: Encapsulation protects the internal state
of an object by keeping its data members private. Access
to and modification of these data members is restricted to
the class’s public methods, ensuring controlled and secure
data manipulation.
Information Hiding: Encapsulation hides the internal
implementation details of a class from external code. Only
the public interface of the class is accessible, providing
abstraction and simplifying the usage of the class while
allowing the internal implementation to be modified
without impacting external code.
15. Features of Encapsulation
We can not access any function from the class directly. We need
an object to access that function that is using the member
variables of that class.
The function which we are making inside the class must use only
member variables, only then it is called encapsulation.
If we don’t make a function inside the class which is using the
member variable of the class then we don’t call it encapsulation.
Encapsulation improves readability, maintainability, and security
by grouping data and methods together.
It helps to control the modification of our data members.
16. How to Create Class in C++
class MyClass { // The class
public: // Access specifier
int myNum; // Attribute (int variable)
string myString; // Attribute (string
variable)
};
17. How to Create Object in C++
int main() {
MyClass myObj; // Create an object of MyClass
// Access attributes and set values
myObj.myNum = 15;
myObj.myString = "Some text";
// Print attribute values
cout << myObj.myNum << "n";
cout << myObj.myString;
return 0;
}
18. The constituents of a class are
A set of attributes for the objects that are to be
instantiated from the class.
Generally, different objects of a class have some
difference in the values of the attributes. Attributes are
often referred as class data.
A set of operations that portray the behavior of the
objects of the class. Operations are also referred as
functions or methods.
19. Example
Let us consider a simple class, Circle, that
represents the geometrical figure circle in a two–
dimensional space.
The attributes of this class can be identified as
follows −
x–coord, to denote x–coordinate of the center
y–coord, to denote y–coordinate of the center
a, to denote the radius of the circle
20. Some of its operations can be defined as follows −
findArea(), method to calculate area
findCircumference(), method to calculate
circumference
scale(), method to increase or decrease the
radius
21. During instantiation, values are assigned for at least
some of the attributes.
If we create an object my_circle, we can assign
values like x-coord : 2, y-coord : 3, and a : 4 to
depict its state.
Now, if the operation scale() is performed on
my_circle with a scaling factor of 2, the value of
the variable a will become 8.
This operation brings a change in the state of
my_circle, i.e., the object has exhibited certain
behavior.
22. Objects can be modelled according to the
needs of the application.
An object may have a physical existence, like a
customer, a car, etc.; or an intangible
conceptual existence, like a project, a process,
etc.