Assignment 1 Oose
Assignment 1 Oose
Q2: Define what an object is in the context of object-oriented programming. Explain how
classes are used to define objects. Describe the concept of a class hierarchy and provide an
example illustrating a simple class hierarchy with inheritance.
Q4: Explain the different types of object relationships in OOP: associations, aggregations,
and containment. Provide examples for each type of relationship. How do these relationships
help in modeling real-world scenarios effectively?
Q5: Define object persistence and explain its importance in software development. What are
meta-classes? How are they used in object-oriented systems? Provide a brief example or
scenario where meta-classes can be useful.
Q6: Describe the software development process using an object-oriented approach with a
focus on a use-case driven methodology. Outline the key steps involved in this approach from
requirements gathering to implementation. How does this methodology ensure that user needs
are met effectively?