26-Nov-22 OOAD 5
Research Paper (G) (10 %)
Project (G) (15 %)
Labs/Tutorials (I) (10 %)
Date & Time Nature
1. Mid Sem Test 90
25% TBA Closed Book
35% TBA Open Book
40% 28/12 AN Partly Closed
Digression: OO Concepts-Objects
Objects: Anything that has a state and exhibits behavior.
Real world objects: Bicycle, student, course, dog, university,….
Software objects: Model real-world or abstract objects (e.g. a
Methods: Procedures through which objects communicate
amongst themselves. Example: Bicycle: brake, park. Dog: bark,
eat. Student: register, study.
Attributes: Variables that hold state information. Bicycle: speed,
color, owner. Dog:name, breed. Student: name, ID.
Digression: OO Concepts-Class
Class: Prototype for all objects of a certain kind. Student,
animal, university, shape, etc.
Objects: Created from a class. For example: s1, s2 are objects
from class Student.
Inheritence: A class inherits attributes and methods from its
super class. This allows hierarchical organization of classes.
Interface: A contract between a class and its users. A class
implements an interface (methods and attributes).
BITS and Purdue are objects from class University. myCircle
and mySquare are objects from class Shape.
What is Analysis and Design?
Analysis - investigation of the problem (what);
Design - conceptual solution to fulfill the requirements
(how); how will the system do what it is intended to do.
What does the system do?
Investigation of the problem.
What (conceptual) solution will full the requirements