100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

IT 414 Object Oriented Design Comprehensive Final Exam 2025 (With Solns)

Rating
-
Sold
-
Pages
42
Grade
A+
Uploaded on
03-05-2025
Written in
2024/2025

IT 414 Object Oriented Design Comprehensive Final Exam 2025 (With Solns)IT 414 Object Oriented Design Comprehensive Final Exam 2025 (With Solns)IT 414 Object Oriented Design Comprehensive Final Exam 2025 (With Solns)












Whoops! We can’t load your doc right now. Try again or contact support.

Document information

Uploaded on
May 3, 2025
Number of pages
42
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

IT 414 Object Oriented Design

Comprehensive Final Exam (Qns & Ans)

2025


Question 1 (Multiple Choice)
Question:
Which design principle states that a class should have only one
reason to change?
A) Open/Closed Principle
B) Single Responsibility Principle
C) Liskov Substitution Principle
D) Dependency Inversion Principle


Correct ANS:
B) Single Responsibility Principle

©2025

, Rationale:
The Single Responsibility Principle (SRP) is a core concept in
object-oriented design that dictates a class should have only one
responsibility. This minimizes coupling and eases maintenance by
ensuring that changes in one part of the system affect only a
single class.


---


Question 2 (Fill in the Blank)
Question:
The process of injecting dependencies into an object rather than
having the object construct them internally is known as
________ .


Correct ANS:
dependency injection


Rationale:
Dependency injection (DI) decouples the creation of an object’s
dependencies from its behavior, promoting modularity and
testability. DI is a key pattern for achieving loosely coupled
architectures.


©2025

,---


Question 3 (True/False)
Question:
True/False: The Liskov Substitution Principle requires that
objects of a subclass should never extend the functionality of their
superclass.


Correct ANS:
False


Rationale:
The Liskov Substitution Principle (LSP) requires that objects of a
subclass can replace objects of the superclass without altering the
desirable properties of the program. It does not prevent a subclass
from extending functionality as long as the extension does not
violate the expected behavior defined by the superclass.


---


Question 4 (Multiple Response)
Question:

©2025

, Select all patterns that belong to the creational category in object-
oriented design:
A) Singleton
B) Factory Method
C) Observer
D) Builder
E) Prototype


Correct ANS:
A) Singleton, B) Factory Method, D) Builder, E) Prototype


Rationale:
Creational design patterns (Singleton, Factory Method, Builder,
and Prototype) are concerned with object creation mechanisms
that increase flexibility and reuse. Observer is a behavioral pattern
used for communication between objects.


---


Question 5 (Multiple Choice)
Question:


©2025

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Bankart Chamberlain College of Nursing
View profile
Follow You need to be logged in order to follow users or courses
Sold
142
Member since
2 year
Number of followers
31
Documents
4502
Last sold
4 days ago

3.6

21 reviews

5
9
4
0
3
9
2
1
1
2

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions