NOORUL ISLAM COLLEGE OF ENGINEERING, KUMARACOIL
CS 1402 – OBJECT ORIENTED ANALYSIS AND DESIGN
TWO MARK AND SIXTEEN MARK Q & A
Part - A Questions and Answers
1. Write about the traditional development methodologies?
Most traditional development methodologies are either algorithm centric or
a. Algorithm-centric methodology
◊ You think of an algorithm that can accomplish the task, and then
build data structures for that algorithm to use.
b. Data- centric methodology
◊ You think how to structure the data, and then build the algorithm
around that structure.
2. Define objects.
Object is a real- world entity, identifiably separate from its surroundings, has a
well defined set of attributes and a well-defined set of procedures or methods.
Properties (or attributes) describe the state (data) of an object. Methods
(procedures) define its behavior. Object means a combination of data and logic
that represents some real-world entity.
(E.g.) Car is an object
Color, manufacturer, cost, owner etc are attributes.
Drive it, lock it, tow it, carry passengers in it are all methods.
3. Give a brief note on object behavior
Object behavior is described in methods or procedures. Behavior denotes the
collection of methods that abstractly describes what an object is capable of doing.
Each procedure defines and describes a particular behavior of an object. Methods
encapsulate the behavior of the object. Objects take responsibility for their own
4. What do you mean by information hiding?
Information hiding is the principle of concealing the internal data and
procedures of an object and providing an interface to each object and providing an
interface to each object in such a way as to reveal as little as possible about its
An object is often said to encapsulate the date and a program.
◊ Per-class protection.
o Class methods can access any object of that class and not just the