Counted from the questions in the past papers listed on this site. Repeated = how many times the topic came in those papers.
Object Oriented Software Engineering important questions with answers
Each answer starts with the short answer. Then come the points to write, a diagram and an exam tip. The questions under each topic are copied from the RGPV papers.
Q1. Rational Unified Process: meaning, life cycle and phases, objectives, compared with traditional methods
Asked 2 times in 2022, 2025 · Unit 2
From the papers
“What is the Rational Unified Process (RUP), and what are its primary objectives? Discuss how RUP differs from traditional software development methodologies.” (Jun 2025)
“What do you mean by RUP? With a neat diagram, explain RUP software life cycle.” (May 2022)
The short answer
The Rational Unified Process (RUP) is an iterative software development process framework created by Rational Software (now IBM). It is use case driven, architecture centric and iterative and incremental. Its life cycle has four phases (Inception, Elaboration, Construction, Transition). Each phase is made of iterations and ends in a milestone, while nine workflows (disciplines) run across all phases with changing effort.
Write these points
Phases of the RUP life cycle
Phase
Goal
Milestone at the end
Inception
Business case, scope, key use cases, rough cost and risk
Life Cycle Objectives (LCO)
Elaboration
Stable architecture, most use cases detailed, major risks removed
Deliver high-quality software that meets user needs, on a predictable schedule and budget.
Attack the biggest risks early through iterations.
Build a sound architecture before full construction.
Give every team member clear roles, activities and artifacts.
RUP compared with traditional (waterfall) methods
Point
Waterfall
RUP
Flow
One pass: requirements, design, code, test
Many iterations, each a mini project
Risk
Found late, during testing
Found and reduced early
Change
Costly once a phase is closed
Expected and managed
Working software
Only at the end
After every iteration
Driven by
Documents
Use cases and architecture
RUP on a college ERP project (12 months).
Inception, 1 month: business case and 10 key use cases; LCO approved.
Elaboration, 3 months, 2 iterations: architecture with login, fees and timetable modules proven; LCA reached.
Construction, 6 months, 4 iterations: one module set per iteration, tested each time; beta at IOC.
Transition, 2 months: rollout to departments, training, fixes; product release.
Real-life example
Building a house floor by floor, checking each floor with the owner before the next, is how RUP works. Waterfall builds the whole house and shows it only at the end.
Figure: RUP phases, workflows and milestones
Same or opposite: RUP and the waterfall model
Point
RUP
Waterfall
Same or opposite
Development
Iterative
Sequential
Opposite
Has requirements, design, coding and testing work
Yes
Yes
Same
Risk handling
Early
Late
Opposite
Feedback from users
Every iteration
At the end
Opposite
Exam tip. Define RUP with its three key features. Draw the phases by workflows diagram, give each phase's goal and milestone, then compare with waterfall.
“What are the best practices recommended by RUP? Provide examples of how these practices can improve project outcomes and enhance team collaboration.” (Jun 2025)
“What roles are defined within the RUP framework, and what are the responsibilities associated with each role? How do these roles contribute to the successful execution of a project?” (Jun 2025)
“What are the various work flows used in RUP? Explain them.” (May 2022)
The short answer
RUP organizes work as nine workflows (disciplines): six core engineering workflows and three supporting ones. It is built on six best practices learned from successful projects. Work is assigned through roles: a role is a set of responsibilities (a person may play several roles).
Write these points
Workflows
Core: Business modeling, Requirements, Analysis and design, Implementation, Test, Deployment.
Supporting: Configuration and change management, Project management, Environment (tools and process for the team).
Each workflow has activities, roles and artifacts (use case model, design model, test cases).
Manage requirements: use cases capture and trace what users need.
Use component-based architectures: reusable, replaceable parts.
Model visually (UML): a shared picture for the whole team.
Continuously verify quality: test in every iteration, not only at the end.
Control changes: version control and change requests.
Main roles
Role
Responsibility
Project manager
Plans iterations, assigns work, tracks risk
System analyst
Gathers requirements, writes use cases
Software architect
Defines the architecture and key design decisions
Designer and implementer
Design classes and write and unit test code
Test designer and tester
Plan, write and run tests
Configuration manager
Versions, builds and change requests
Process engineer
Tailors RUP for the project
Best practices improving a project.
Without iteration, a team found after 9 months that the payment gateway could not handle load.
With iterative development, the architect built and load tested the payment path in month 2 (Elaboration).
Visual models let the analyst and the developers agree on the order flow in one meeting.
Change control logged 40 change requests; each was assessed for cost before acceptance, so the schedule held.
Real-life example
A cricket team has roles: captain, bowlers, batsmen, wicketkeeper. Each knows its job. Practice sessions (best practices) make the team win more often.
Figure: RUP best practices
Same or opposite: core and supporting workflows
Point
Core workflows
Supporting workflows
Same or opposite
Examples
Requirements, design, test
Project management, configuration
Opposite
Run across all four phases
Yes
Yes
Same
Produce
The product itself
The conditions to build it
Opposite
Count
Six
Three
Opposite
Exam tip. List the six core and three supporting workflows. Write the six best practices with one line each and a roles table, then an example of how practices help.
Q3. Object oriented paradigm: objects, principles of OO design, inheritance and its types
Asked 2 times in 2022, 2025 · Unit 1
From the papers
“What is the object-oriented paradigm? Discuss its significance in software development and how it differs from procedural programming approaches.” (Jun 2025)
“Explain the concept of inheritance in OOP. How does it promote code reusability and what are the different types of inheritance (single, multiple, hierarchical, etc.)? Provide examples.” (Jun 2025)
“What is an object? What are the principles of an object oriented design? Explain.” (May 2022)
The short answer
The object oriented paradigm builds software from objects: units that combine data (attributes) and behaviour (methods). An object has state, behaviour and identity. It is an instance of a class. Procedural programming organizes a program as functions working on shared data. OO organizes it as interacting objects, which makes large systems easier to change and reuse.
Write these points
Principles of object oriented design
Abstraction: show the essential features, hide the details.
Encapsulation: keep data and methods together; hide data behind an interface.
Inheritance: a subclass reuses and extends a superclass (is-a).
Polymorphism: one interface, many forms (overriding, overloading).
Modularity and hierarchy: loosely coupled modules; class and part hierarchies.
Design rules: SOLID principles, high cohesion, low coupling.
Inheritance and its types
Type
Shape
Example
Single
B from A
Car from Vehicle
Multilevel
C from B from A
SportsCar from Car from Vehicle
Hierarchical
B and C from A
Car and Bike from Vehicle
Multiple
C from A and B
FlyingCar from Car and Aircraft (C++, or interfaces in Java)
Hybrid
A mix
Combination of the above
Reusability: common code is written once in the parent; children add only what differs.
OO compared with procedural
Point
Procedural
Object oriented
Unit
Function
Object and class
Data
Shared, global
Encapsulated
Reuse
Copying functions
Inheritance and composition
Change
Ripples through code
Local to a class
Example
C
Java, C++, Python
Inheritance in a bank.
class Account { balance; deposit(); withdraw(); }
class SavingsAccount extends Account { rate; addInterest(); }
class CurrentAccount extends Account { overdraft; withdraw() overridden to allow overdraft }
deposit() is written once and reused by both; the overridden withdraw() shows polymorphism.
Real-life example
A mobile phone is an object: it has state (battery 60%), behaviour (call, message) and identity (its IMEI). You use its buttons without knowing its circuits: encapsulation.
Figure: principles of object orientation
Same or opposite: procedural and object oriented programming
Point
Procedural
Object oriented
Same or opposite
Organizes code around
Functions
Objects
Opposite
Can solve any computable problem
Yes
Yes
Same
Data protection
Low
High (encapsulation)
Opposite
Reuse
Limited
Inheritance, composition
Opposite
Exam tip. Define object with state, behaviour and identity. List the OO principles, the inheritance types table with examples and the procedural versus OO table.
“Explain the different types of relationships in UML, such as association, aggregation, composition, inheritance and dependency. How do these relationships help in modeling the interactions between objects?” (Jun 2025)
“Write short note: Notations.” (May 2022)
“Write short note: Stereotypes.” (May 2022)
The short answer
UML diagrams are drawn with standard notations for things (class, object, use case, component, node, note) and relationships that connect them. Stereotypes extend UML by giving an element a new, project-specific meaning, written in guillemets such as «interface». These three together let any team read any UML diagram.
Write these points
Notations
Class: a box with three parts: name, attributes (- private, + public, # protected), operations.
Object: underlined name, such as s1 : Student.
Use case: an ellipse; actor: a stick figure; component: a box with the component icon; node: a 3-D box; note: a folded corner box.
Multiplicity: 1, 0..1, *, 1..* written at the ends of an association.
Can have their own icon; tools such as Rational Rose apply them as profiles.
Relationships in a college system.
A College is composed of Departments (composition: closing the college removes its departments).
A Department aggregates Teachers (a teacher can move to another department).
Student is associated with Course with multiplicity * to 1..*.
RegistrationForm is a «boundary» class, RegistrationManager «control», Course «entity».
Real-life example
Road signs are a notation everyone understands. UML notations work the same way: a filled diamond means the same thing in every company.
Figure: UML relationship notations
Same or opposite: aggregation and composition
Point
Aggregation
Composition
Same or opposite
Part life
Independent
Ends with the whole
Opposite
Is a whole and part relationship
Yes
Yes
Same
Diamond
Hollow
Filled
Opposite
Example
Team and Player
Body and Heart
Opposite
Exam tip. Write the class box and other notations, the six relationships table with symbols, then define stereotypes with «boundary», «control» and «entity».
“What is the Unified Modeling Language (UML), and what purpose does it serve in software development? Discuss its importance in facilitating communication among stakeholders in a project.” (Jun 2025)
“Explain the importance of modeling and its principles.” (May 2022)
The short answer
A model is a simplified picture of reality that helps us understand a system before we build it. We model because we cannot understand a complex system as a whole. The Unified Modeling Language (UML) is the standard visual language (from the OMG, by Booch, Rumbaugh and Jacobson) to visualize, specify, construct and document the artifacts of a software system.
Write these points
Importance of modeling
Helps visualize the system as it is or as we want it.
Specifies structure and behaviour precisely.
Gives a template to guide construction.
Documents decisions for maintenance and new members.
Finds errors cheaply on paper rather than in code.
Four principles of modeling
The choice of models shapes how a problem is attacked and solved.
Every model can be expressed at different levels of precision.
The best models are connected to reality.
No single model is enough: a system needs a set of nearly independent views.
Behavioural: use case, activity, state machine; interaction diagrams (sequence, communication, timing, interaction overview).
Stakeholders read use case diagrams; developers read class and sequence diagrams; operations staff read deployment diagrams.
One shared notation removes misunderstanding between clients, analysts, designers and testers.
UML improving communication.
A client says, "A student can take many courses."
The analyst draws Student 1..* to * Course and shows it in the meeting.
The client points out that a student may take at most 6 courses; the multiplicity becomes 0..6.
The error is fixed in minutes instead of after coding and testing.
Real-life example
An architect shows a house plan and a 3-D model before building. UML is the plan and model for software.
Figure: UML diagram types
Same or opposite: structural and behavioural UML diagrams
Point
Structural
Behavioural
Same or opposite
Shows
What the system is
What the system does
Opposite
Part of UML
Yes
Yes
Same
Examples
Class, component
Sequence, state, activity
Opposite
Changes with time
No (static)
Yes (dynamic)
Opposite
Exam tip. Define model and UML with its four purposes. Write the importance, the four principles of modeling and the diagram types, then show how UML helps stakeholders talk.
Q6. Conventional and object oriented design approaches
Asked 2 times in 2022, 2025 · Unit 4
From the papers
“Compare and contrast the conventional design approach with the Object-Oriented (OO) design approach. What are the key differences in their philosophies, processes and outcomes?” (Jun 2025)
“Differentiate Conventional vs OO design approach.” (May 2022)
The short answer
Conventional (structured) design decomposes a system by function: data flow diagrams become a hierarchy of modules (structure chart). Data is kept separately. Object oriented design decomposes it into objects that hold both data and behaviour, built from the classes found in analysis. The philosophies, processes and outcomes therefore differ.
Conventional process: DFD of the system, transform or transaction analysis, structure chart, module specification.
OO process: use cases, identify classes (CRC cards), define relationships, interaction diagrams, state charts, refine classes, map to components.
OO design uses the same concepts as OO analysis, so there is no translation gap between analysis and design.
Outcome of OO: easier maintenance and reuse; cost is a learning curve and sometimes more classes to manage.
A library system designed both ways.
Conventional: modules IssueBook, ReturnBook, CalculateFine all read and write a shared books file.
Changing the fine rule means checking every module that touches the book record.
OO: classes Book, Member, Loan; Loan has calculateFine(); Book knows its status.
Changing the fine rule changes only Loan.calculateFine().
Real-life example
Organizing a kitchen by actions (a cutting area, a cooking area) is conventional design. Organizing it by appliances that each do their own job is OO design.
Figure: steps of object oriented design
Same or opposite: conventional and OO design
Point
Conventional
Object oriented
Same or opposite
Decomposition
By function
By object
Opposite
Aims at a modular design
Yes
Yes
Same
Main diagram
Structure chart
Class diagram
Opposite
Reuse
Low
High
Opposite
Exam tip. Give the comparison table of at least eight points, then the steps of each design process and a short example such as a library.
Q7. Interaction diagrams (sequence and collaboration) and activity diagrams
Asked 2 times in 2022, 2025 · Unit 4
From the papers
“What are interaction diagrams in UML, and how do they contribute to behavioral modeling? Discuss the different types of interaction diagrams (sequence and collaboration diagrams) and their significance in representing object interactions.” (Jun 2025)
“What are Activity Diagrams in UML? How is it different from Interaction diagrams? Explain with example.” (May 2022)
The short answer
Interaction diagrams show how a set of objects work together by sending messages to carry out one use case or scenario. UML has two main ones: the sequence diagram (time order of messages) and the collaboration (communication) diagram (links between objects, with numbered messages). The activity diagram is a flowchart of activities and decisions, showing the flow of control rather than messages between objects.
Write these points
Sequence and collaboration diagrams
Sequence: objects across the top, lifelines down the page, arrows for messages in time order, activation boxes, return arrows; good for timing.
Collaboration: objects anywhere, links between them, messages numbered 1, 1.1, 2; good for structure of interaction.
Both show the same information: tools convert one into the other.
Use: detail a use case, find the methods each class needs, check the design.
Activity diagrams
Elements: initial node, action (rounded box), decision diamond with guards, fork and join bars (parallel), swimlanes, final node.
Use: business processes, workflow of a use case, algorithm of an operation.
Point
Activity diagram
Interaction diagram
Focus
Flow of activities and decisions
Messages between objects
Shows objects
Optional (swimlanes)
Always
Parallelism
Fork and join
Not natural
Best for
Process and workflow
One scenario in detail
Student registering for a course (sequence).
1: Student enters details on :RegistrationForm.
2: The form calls register() on :RegistrationManager, which calls 3: checkSeat() on :Course.
4: The course replies that a seat is free; 5: addStudent() adds the student.
6 and 7: a confirmation returns to the form and the student sees success. The activity diagram of the same use case would show decisions (seat free? fees paid?) instead.
Real-life example
A cricket commentary describes ball by ball who did what: a sequence diagram. The plan of the innings drawn on a board is an activity diagram.
Figure: sequence diagram for course registration
Same or opposite: sequence and collaboration diagrams
Point
Sequence
Collaboration
Same or opposite
Emphasis
Time order
Object links
Opposite
Is an interaction diagram
Yes
Yes
Same
Layout
Lifelines down the page
Objects in a network
Opposite
Message order shown by
Position
Numbers
Opposite
Exam tip. Define interaction diagrams, then explain sequence and collaboration with their elements. Give activity diagram elements and the comparison table. Draw the registration sequence.
Q8. Components: component and class, component diagrams
Asked 2 times in 2022, 2025 · Unit 4
From the papers
“Explain the purpose of component diagrams in object-oriented design. How do component diagrams illustrate the organization and dependencies of components in a system?” (Jun 2025)
“Define component. What are the differences between components and classes? How are component and interface related?” (May 2022)
The short answer
A component is a modular, replaceable part of a system that encapsulates its implementation and offers its services only through interfaces, for example a DLL, JAR file or web service. An interface is a named set of operations. A component provides some interfaces (it implements them) and requires others (it uses them). A component diagram shows components, their interfaces and their dependencies.
Write these points
Components compared with classes
Point
Class
Component
Level
Logical (design)
Physical (implementation, deployable)
Contains
Attributes and operations
One or more classes
Access
Through its public operations
Only through interfaces
Replaceable
Usually not independently
Yes, if interfaces stay the same
Shown in
Class diagram
Component diagram
Component diagrams
Notation: a box with «component» or the component icon; provided interface as a ball (lollipop); required interface as a socket.
Dependencies (dashed arrows) show which component needs which.
Ports and assembly connectors join a required socket to a provided ball.
Purpose: show the physical organization, plan builds and releases, find the effect of a change, support reuse and team division.
Online shop components.
Web UI requires IOrder; Order Service provides IOrder.
Order Service requires IPayment from Payment Service and uses the Inventory DB.
The payment provider changes: a new Payment Service that still provides IPayment is dropped in.
Web UI and Order Service do not change at all: that is the value of interfaces.
Real-life example
A phone charger works with any socket of the right shape. The socket is the interface; the charger is a component that can be swapped for another brand.
Figure: component diagram with interfaces
Same or opposite: component and class
Point
Component
Class
Same or opposite
Nature
Physical, deployable
Logical
Opposite
Encapsulates behaviour
Yes
Yes
Same
Access
Through interfaces only
Through public methods
Opposite
Size
Contains classes
Single unit
Opposite
Exam tip. Define component and interface with provided and required interfaces. Give the component versus class table, then the diagram notation and purpose with a shop example.
“Define design patterns in the context of software development. Why are they important, and how do they contribute to more maintainable and scalable software systems?” (Jun 2025)
“What is meant by design pattern? How it is different from object-oriented modeling?” (May 2022)
The short answer
A design pattern is a proven, named solution to a problem that keeps recurring in software design, described so it can be reused in many situations. The idea came from the architect Christopher Alexander; the Gang of Four (Gamma, Helm, Johnson, Vlissides, 1994) catalogued 23 patterns. Each pattern has a name, the problem, the solution (classes and collaborations) and the consequences.
Reuse of expert experience; no need to reinvent solutions.
A shared vocabulary: "use an Observer here" says a lot in few words.
Loose coupling and programming to interfaces make code maintainable and easier to extend (scalable).
Fewer design errors; easier code reviews and documentation.
Design pattern compared with OO modeling
OO modeling describes this system: its classes, relationships and behaviour (UML diagrams).
A design pattern is a general, reusable solution template, applied inside many models.
Patterns sit at a higher level than one model; a model may contain several patterns.
Patterns are described in text with UML; they are not finished designs or code.
Observer pattern in a score app.
Problem: when a cricket score changes, the TV screen, mobile app and website must all update.
Solution: Score (subject) keeps a list of observers and calls notify() on change; each display implements update().
Adding a new smartwatch display means writing one new observer class; Score does not change.
Consequence: loose coupling, but many observers can slow notifications.
Real-life example
Tailors use standard patterns for a shirt instead of designing each from scratch. Software design patterns are the same proven templates.
Figure: categories of design patterns
Same or opposite: design pattern and OO model
Point
Design pattern
OO model
Same or opposite
Scope
General, reusable
One specific system
Opposite
Uses classes and objects
Yes
Yes
Same
Form
Name, problem, solution, consequences
UML diagrams of the system
Opposite
Example
Observer
Library class diagram
Opposite
Exam tip. Define design pattern with its four elements and the GoF. Give the three categories with examples, why they help maintainability, the difference from OO modeling and one pattern in detail.
Q10. Object oriented testing: strategies, test cases, unit testing of classes, test plan
Asked 2 times in 2022, 2025 · Unit 5
From the papers
“Discuss various testing strategies specifically designed for object-oriented software. How do these strategies differ from traditional testing methods, and what are the advantages of using them?” (Jun 2025)
“Explain the importance of unit testing in the context of object-oriented programming. What practices can be implemented to ensure comprehensive unit testing of classes and methods?” (Jun 2025)
“What are the different strategies and test cases used for Object Oriented Software process?” (May 2022)
“What is a Test plan? Explain in detail the guidelines to be followed in developing a test plan.” (May 2022)
The short answer
Object oriented testing must handle encapsulation, inheritance and polymorphism, so the unit of testing is the class, not a single function. Testing widens from classes to clusters of collaborating classes, then the whole system. A test plan documents what will be tested, how, by whom and when.
Write these points
Testing strategies for OO software
Unit (class) testing: test each operation and the state behaviour of a class; methods cannot be tested apart from their object's state.
Integration testing: thread-based (classes for one input or event), use-based (independent classes first, then dependent ones), cluster testing.
Validation and system testing: use case based, black box tests against requirements; acceptance, performance and security tests.
Test case methods: fault-based, scenario-based, random tests on operation sequences, partition testing (state, attribute, category), inheritance and polymorphism tests (retest inherited methods in each subclass).
How OO testing differs and its advantages
Traditional: unit = function, integration top-down or bottom-up by call hierarchy. OO: unit = class, integration by threads, use or clusters.
Advantages: tests follow use cases, so they match user needs; classes are reused with their tests; regression testing is easier.
Unit testing practices: a test class per class (JUnit, pytest), test every public method with normal, boundary and error inputs, use mocks for collaborators, run tests automatically on every build, measure coverage.
Test plan and guidelines
Identifier, scope, features to be tested and not tested.
Approach and test levels; pass and fail criteria; entry and exit criteria.
Test deliverables, environment, schedule, roles and staffing.
Risks and contingencies; approvals.
Guidelines: base it on requirements, keep it reviewed and updated, make every test traceable and repeatable.
Unit testing an Account class.
Test 1: deposit(500) on a new account; expect balance 500.
Test 2: withdraw(800) when balance is 500; expect InsufficientFunds.
Test 3: boundary: withdraw(500) leaves balance 0.
Inheritance test: rerun all tests on SavingsAccount, since it overrides withdraw().
Real-life example
Before a cricket match each player practises alone (unit testing), then the batting pair practises running (integration), then a practice match is played (system testing).
Figure: OO testing strategy
Same or opposite: traditional and OO testing
Point
Traditional
Object oriented
Same or opposite
Unit tested
Function or module
Class
Opposite
Has unit, integration and system levels
Yes
Yes
Same
Integration
Top-down or bottom-up
Thread, use or cluster based
Opposite
Extra concerns
None
Inheritance, polymorphism, state
Opposite
Exam tip. Explain class testing, the three integration strategies and validation. Give the test case design methods, unit testing practices with an example, then the test plan contents.
Q11. State chart diagrams: course registration system, payroll system design
Asked 2 times in 2022, 2025 · Unit 4
From the papers
“Discuss the design of a payroll system using object-oriented principles. What are the primary classes involved, and how would you represent the system's behavior through state chart and activity diagrams?” (Jun 2025)
“Compose the state chart diagram for Course and Registration System.” (May 2022)
The short answer
A state chart (state machine) diagram shows the states an object passes through during its life, the events that cause transitions and the actions taken. It is drawn for classes with important time-dependent behaviour. Notation: rounded boxes for states, arrows labelled event [guard] / action, a filled circle for the start and a ringed circle for the end.
Polymorphism: each subclass overrides calculatePay(); PayrollSystem loops over all Employees.
State chart of a Payslip: Created → Calculated (calculate) → Approved (approve [no errors]) → Paid (transfer to bank) → Archived; Calculated → Created on reject.
Activity diagram of a pay run: collect time cards → compute gross pay → apply deductions (fork: tax and PF in parallel, join) → generate payslips → transfer salary.
Tracing the course offering.
Start: count = 0, Open.
Nine students add: count = 9, still Open. The tenth add has guard count = 9, so the course becomes Full.
One student drops: back to Open with 9.
At the deadline count = 9 ≥ 3, so closeRegistration moves it to Closed and then to the end state.
Real-life example
A railway ticket has states: Waiting list, RAC, Confirmed, Cancelled. Events such as a cancellation by someone else move it between states.
Figure: state chart of a course offering
Same or opposite: state chart and activity diagram
Point
State chart
Activity diagram
Same or opposite
Focus
States of one object
Flow of activities
Opposite
Is a behavioural UML diagram
Yes
Yes
Same
Arrows triggered by
Events
Completion of an activity
Opposite
Example
CourseOffering states
Payroll run
Opposite
Exam tip. Give the notation with event [guard] / action. Draw the course offering state chart, then list payroll classes, the payslip states and the pay run activities.
Q12. Requirement analysis; use case, actor and flow of events
Asked 2 times in 2022, 2025 · Unit 3
From the papers
“What is requirement analysis in the context of software development? Discuss the techniques used in requirement analysis and how they contribute to identifying and documenting the needs of stakeholders.” (Jun 2025)
“Explain the following with an example: Use case, Actor, Flow of events.” (May 2022)
The short answer
Requirement analysis finds, analyzes, documents and validates what the stakeholders need from the system: functional requirements (what it must do) and non-functional requirements (performance, security, usability). In OO analysis these are captured mainly as use cases: a use case is a sequence of actions the system performs that gives a result of value to an actor. Its flow of events describes the steps.
Write these points
Techniques of requirement analysis
Interviews, questionnaires, workshops (JAD) and brainstorming.
Observation and study of existing documents and systems.
Prototyping to confirm what users really want.
Use case modeling and scenarios; the result is a Software Requirements Specification (SRS) that is reviewed and traced.
Use case, actor and flow of events
Actor: a role outside the system that interacts with it: a person, another system or a device (Student, Bank system).
Use case: an ellipse with a verb phrase (Register for Course). Relationships «include» (always used) and «extend» (optional).
Flow of events: precondition, basic (main) flow, alternative flows, exception flows, postcondition.
Use cases drive design and testing in RUP.
Use case: Withdraw Cash.
Actor: Customer (primary), Bank system (secondary). Precondition: card is valid.
Alternative flow at step 4: balance too low, show message, return to step 3.
Exception: wrong PIN three times, card retained. Postcondition: account debited.
Real-life example
A tailor asks how the customer will wear a suit: to work, to a wedding, travelling. Those uses are the use cases; the customer is the actor.
Figure: requirement analysis process
Same or opposite: functional and non-functional requirements
Point
Functional
Non-functional
Same or opposite
Describes
What the system does
How well it does it
Opposite
Recorded in the SRS
Yes
Yes
Same
Example
Register for a course
Response in 2 seconds
Opposite
Captured mainly by
Use cases
Supplementary specification
Opposite
Exam tip. Define requirement analysis and its types, list the techniques, then define actor, use case and flow of events with a full example including alternative flows.
“What is a CRC card? How do you design it? Explain in detail.” (May 2022)
The short answer
A CRC card is an index card (about 4 × 6 inches) used to find and design classes. It has three parts: the Class name at the top, its Responsibilities (what it knows and does) on the left. Its Collaborators (other classes it needs to fulfil those responsibilities) go on the right. Kent Beck and Ward Cunningham introduced it in 1989 as a simple, team-based design aid.
Write these points
How to design CRC cards
Read the requirements or use cases; pick candidate classes from the nouns.
Write one card per class with its name.
Add responsibilities from the verbs: what the class must know and do.
For each responsibility, list the classes it must ask for help: the collaborators.
Role-play scenarios: team members hold cards and pass the flow along; missing or overloaded responsibilities show up.
Refine: split overloaded cards, remove unused ones, group cards into subsystems; then draw the class diagram.
Why CRC cards help
Cheap and fast; easy to change by rewriting a card.
Encourage thinking in objects instead of functions.
Involve the whole team, including users.
Limit the size of a class: if the card is full, the class does too much.
Cards for course registration.
Course: knows code, title, enrolled students; adds and drops students; checks seats. Collaborators: Student, Registrar, Schedule, Professor.
Student: knows name and roll number, its courses; requests registration. Collaborators: Course, Registrar.
Registrar: validates eligibility and fees. Collaborators: Student, Course, Accounts.
Role-play "register for a full course" shows that Course needs a waitlist responsibility, so it is added.
Real-life example
Students planning a college fest write each committee's duties and whom it must work with on a chit. CRC cards are those chits for classes.
Figure: a CRC card
Same or opposite: CRC card and class diagram
Point
CRC card
Class diagram
Same or opposite
Form
Index card
UML diagram
Opposite
Describes classes
Yes
Yes
Same
Detail
Responsibilities and collaborators
Attributes, operations, relationships
Opposite
Stage
Early analysis
Detailed design
Opposite
Exam tip. Define CRC with the three parts and draw a card. Write the six steps including role-play and the advantages, with a registration example.
Q14. Correctness and consistency of OOA and OOD models
Asked 1 time in 2022 · Unit 5
From the papers
“How Correctness and consistency of OOA and OOD models are made?” (May 2022)
The short answer
Before testing code, the OOA and OOD models themselves are tested, because an error in a model spreads into many classes. Two checks are made: correctness (does the model match the real problem domain and the requirements?) and consistency (do the parts of the model agree with each other?). These are done by reviews and inspections.
Write these points
Correctness
Syntactic correctness: UML symbols and conventions used properly.
Semantic correctness: every class, attribute and relationship reflects the real world.
Domain experts review the model; class names and responsibilities must make sense to them.
Every requirement and use case must be traceable to model elements.
Consistency checks
Review the CRC cards and the class diagram: every collaborator on a card must be a class with a matching responsibility.
Check that each responsibility given to a class is actually defined in it (no orphan responsibilities).
Invert connections: if A collaborates with B, check that B supports what A asks for.
Check that widely requested responsibilities are not spread over many classes; group them.
Check that interaction diagrams only send messages that exist as operations; state charts only use events that exist.
OOD checks: subsystems and their interfaces agree with the analysis; object design matches class definitions.
Finding an inconsistency.
The sequence diagram shows Registrar calling course.addToWaitlist().
The Course class in the class diagram has no addToWaitlist() operation.
The review records the defect; the designer adds the operation and a waitlist attribute.
Fixing it in the model costs minutes; finding it in system testing would cost days.
Real-life example
Before printing a building plan, the architect checks that the floor plan and the electrical plan agree on where the walls are. Model consistency checks do the same.
Figure: reviewing OOA and OOD models
Same or opposite: correctness and consistency
Point
Correctness
Consistency
Same or opposite
Question asked
Does the model match reality?
Do the model's parts agree?
Opposite
Checked by reviews before coding
Yes
Yes
Same
Checked against
Requirements and domain
Other diagrams and cards
Opposite
Example defect
Wrong multiplicity
Missing operation
Opposite
Exam tip. Define correctness (syntactic and semantic) and consistency. List the CRC based consistency steps and the OOD checks, with an example defect.
Q15. Software development life cycle and its phases
Asked 1 time in 2025 · Unit 1
From the papers
“What is the Software Development Life Cycle (SDLC), and why is it important in software engineering? Describe the different phases of SDLC and their significance in delivering a quality software product.” (Jun 2025)
The short answer
The Software Development Life Cycle (SDLC) is the series of phases a software product goes through from idea to retirement. It gives a planned, controlled way to build software so that it is delivered on time, within budget and with good quality. Models such as waterfall, spiral, iterative (RUP) and agile arrange these phases in different ways.
Write these points
Phases and their significance
Phase
Work done
Why it matters
Feasibility and planning
Scope, cost, schedule, risk
Avoids projects that cannot succeed
Requirements analysis
Gather and document needs (SRS)
Builds the right product
Design
Architecture, classes, database, interfaces
Blueprint that guides coding
Implementation
Write and unit test code
Turns design into a working product
Testing
Integration, system, acceptance tests
Finds defects before users do
Deployment
Install, train, go live
Users get value
Maintenance
Fix, adapt, improve
Keeps it useful; often 60% or more of total cost
Importance: clear goals and deliverables for every phase; better estimates; early defect detection; documentation and control.
Cost of fixing a defect rises sharply with each later phase.
Choosing the right model depends on how stable the requirements are.
Each phase has entry and exit criteria and reviews.
Cost of a late defect.
A wrong tax rule costs about ₹1,000 to fix in requirements (change one line of the SRS).
In design it costs about ₹5,000; in coding about ₹10,000.
Found in testing: about ₹50,000; after release: over ₹1,00,000 with patches and user complaints.
This is why SDLC stresses reviews in early phases.
Real-life example
Building a house follows steps: plan, design, build, inspect, hand over, repair. Skipping the design step gives a house nobody wants to live in.
Figure: SDLC phases
Same or opposite: SDLC and RUP
Point
SDLC (classic)
RUP
Same or opposite
Shape
Phases in order
Phases with iterations
Opposite
Covers requirements to deployment
Yes
Yes
Same
Feedback
Late
Every iteration
Opposite
Best for
Stable requirements
Changing requirements
Opposite
Exam tip. Define SDLC and give the phases table with the significance of each. Add why it is important with the cost-of-defect example.
Object Oriented Software Engineering (CS-802 D) is an elective in Semester 8 of RGPV B.Tech CSE. It shows how software is analysed, designed and tested using objects and UML. Its five units cover object oriented basics, the Rational Unified Process (RUP), UML and analysis, design, and testing. Draw the UML diagrams for a small system as you study.
This unit reviews the object oriented paradigm and its basic concepts, the software development life cycle and the model architectures. Be able to explain the life cycle stages in order.
Unit 2: Introduction to RUP
Here you study the Rational Unified Process: symptoms in software development and their root causes, the best practices of RUP, its life cycle, the 4+1 view model and the workflows. Learn the 4+1 views.
Unit 3: Introduction to UML and object oriented analysis
This unit introduces UML notation, relationships and stereotypes, and tools such as Rational Rose. It then covers object oriented analysis compared with conventional analysis: requirements, use case diagrams, activity diagrams and the analysis class model. Draw a use case diagram for an ATM.
Unit 4: Object oriented design
The unit covers object oriented against conventional design, CRC cards, class diagrams, behavioural models (interaction and state chart diagrams) and implementation diagrams (component and deployment), with case studies such as an ATM, payroll and course registration. Draw a class diagram for one case study.
Unit 5: Object oriented testing
The last unit covers checking the correctness and consistency of analysis and design models, testing strategies and test cases for object oriented software, project management, Rational tool mentors, and an introduction to design patterns. Learn two design patterns with an example each.
Units follow the RGPV scheme and syllabus, B.Tech Computer Science and Engineering, Semester 8 (AICTE flexible curriculum, w.e.f. Jan 2021). For the full topic list of each unit, open the Object Oriented Software Engineering notes.
What are the most important topics in Object Oriented Software Engineering?
By how often they were asked in the papers on this site: Rational Unified Process: meaning, life cycle and phases, objectives, compared with traditional methods (2 times); RUP workflows, best practices and roles (2 times); Object oriented paradigm: objects, principles of OO design, inheritance and its types (2 times); UML relationships, notations and stereotypes (2 times); Importance of modeling; UML and its purpose (2 times).
How were these Object Oriented Software Engineering important questions chosen?
Each topic was counted from the questions in the past papers listed on this site (2022-2025). Repeated is the number of times the topic came. The counts come from keyword matching and the answers are not teacher-reviewed, so use them together with your syllabus.
Is there a PDF of Object Oriented Software Engineering important questions with answers?
Yes. The Paperwala Imp Question & Answer PDF for Object Oriented Software Engineering is free to download from this page.
The 15 most repeated topics of Object Oriented Software Engineering (CS-802-D) for RGPV B.Tech CSE semester 8, counted from the previous year papers on this site.