100% tevredenheidsgarantie Direct beschikbaar na je betaling Lees online óf als PDF Geen vaste maandelijkse kosten 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

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

Beoordeling
-
Verkocht
-
Pagina's
42
Cijfer
A+
Geüpload op
03-05-2025
Geschreven 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)

Instelling
Vak

Voorbeeld van de inhoud

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

Geschreven voor

Instelling
Vak

Documentinformatie

Geüpload op
3 mei 2025
Aantal pagina's
42
Geschreven in
2024/2025
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
Bankart Chamberlain College of Nursing
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
155
Lid sinds
2 jaar
Aantal volgers
31
Documenten
4537
Laatst verkocht
2 dagen geleden

3,6

22 beoordelingen

5
9
4
1
3
9
2
1
1
2

Populaire documenten

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Veelgestelde vragen