Oops 1
Oops 1
Oops 1
A. K. SIROMONI
STCET
Lecture on BASICS of OOP
A.K.SIROMONI (AIML) 2
PRODUCT , PROJECT AND PROGRAM
A. K. Siromoni ( STCET) 3
SOFTWARE ENGINEERING
A. K. Siromoni ( STCET) 4
PRODUCT , PROJECT AND PROGRAM
REQUIREMENT : PRODUCT
P
PROBLEM SOLUTION
FEASIBILITY STUDY PRODUCT R
O
REQIREMENT ANALYSIS ACCEPTANCE TESTING
J
DESIGN SYSTEM TESTING
E
IMPLEMENTATION INTEGRATION TESTING C
(CODING) UNIT TESTING
T
A. K. Siromoni ( STCET) 5
OBJECT ORIENTATION VS PROCEDURAL APPROACH
• IN OBJECT ORIENTED APPRACH , THE MAIN AIM IS WHO ( THE OBJECT )
CAN SOLVE THE PROBLEM
A. K. Siromoni ( STCET) 6
OBJECT ORIENTED ANALYSIS :
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.
REFERENCE : OBJECT ORIENTED ANALYSIS AND DESIGN WITH APPLICATIONS, SECOND EDITION,
ADDITION – WESLEY , BY GRADY BOOCH
A. K. Siromoni ( STCET) 7
ANALYSIS AND DESIGN:
DEFINITION OF SOME KEYWORDS
A. K. Siromoni ( STCET) 8
ANALYSIS AND DESIGN:
DEFINITION OF SOME KEYWORDS
Entity : A thing with distinct and independent existence.
State The state of an object encompasses all of the (usually static) properties of
the object plus the current (usually dynamic) values of each of these properties.
The state of an object represents the cumulative results of its behavior.
Concrete State : The state where behavior of an object / objects remain same
from start to end of a sequence of an event.
Concrete Class : A concrete class is a class that has an implementation for all of
its methods with no abstract methods.
Concrete Invariant : A set of properties remains same through out the state of
the object.
A. K. Siromoni ( STCET) 9
ANALYSIS AND DESIGN:
DEFINITION OF SOME KEYWORDS
Abstract State : The State which virtually exists but not exist actually for an
object in state change sequence .
Behavior : Behavior is how an object acts and reacts, in terms of its state
changes and message passing.
A. K. Siromoni ( STCET) 10
ANALYSIS AND DESIGN:
DEFINITION OF SOME KEYWORDS
Data Dictionary / Metadata : Data dictionary means all information about data
and relations used in the database.
EXAMPLE
Problem : A TOLL BOOTH OPENS AT 8AM AND CLOSES AT 8 PM . EVERY CAR CROSSES
THE TOLL BOOTH HAS TO PAY ₹ 1.00 . IF ANY CAR DOES NOT PAY, THE CAR NUMBER
IS NOTED. CREATE A SOFTWARE PRODUCT TO GENERATE REPORTS FOR
A. K. Siromoni ( STCET) 12