Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 4 out of 39 pages
Exam (elaborations)

CS-D480 ITSW 3151 Software Design & QA Comprehensive OA 2025 (With Solns

Document preview thumbnail
Preview 4 out of 39 pages

CS-D480 ITSW 3151 Software Design & QA Comprehensive OA 2025 (With SolnsCS-D480 ITSW 3151 Software Design & QA Comprehensive OA 2025 (With SolnsCS-D480 ITSW 3151 Software Design & QA Comprehensive OA 2025 (With Solns

Content preview

CS – D480 ITSW 3151 Software Design & Quality
Assurance

Comprehensive Objective Assessment (Qns &
Ans)

2025
Question 1 (Multiple Choice)
Question:
Which design pattern is primarily used to decouple an abstraction
from its implementation so that both can vary independently?
A) Observer
B) Bridge
C) Decorator
D) Strategy


Correct ANS:

©2025

,B) Bridge


Rationale:
The Bridge pattern separates the abstraction from its
implementation, allowing both to evolve independently. This
decoupling is crucial in creating flexible and scalable software
designs.


---


Question 2 (Multiple Choice)
Question:
In object-oriented design, violating which principle can lead to a
subclass that fails to substitute its superclass without altering
program behavior?
A) Interface Segregation Principle
B) Liskov Substitution Principle
C) Dependency Inversion Principle
D) Single Responsibility Principle


Correct ANS:
B) Liskov Substitution Principle
©2025

, Rationale:
The Liskov Substitution Principle (LSP) insists that subclasses
must be fully substitutable for their base classes. A breach of this
principle indicates that the subclass does not adhere to the
contract defined by the superclass, resulting in potential design
flaws.


---


Question 3 (Fill in the Blank)
Question:
The principle that advises keeping a module focused on a single
task, thereby reducing complexity, is known as the ______
Principle.


Correct ANS:
Single Responsibility


Rationale:
The Single Responsibility Principle (SRP) is one of the SOLID
principles, ensuring that a class or module has only one reason to
change, which promotes better maintainability and cohesive code
design.
©2025

, ---


Question 4 (True/False)
Question:
Refactoring code can improve internal software quality without
altering its external behavior.


Correct ANS:
True


Rationale:
Refactoring is the process of restructuring existing code while
preserving its functionality. This practice enhances readability,
maintainability, and performance without affecting how the
software behaves externally.


---


Question 5 (Multiple Response)
Question:


©2025

Document information

Uploaded on
May 3, 2025
Number of pages
39
Written in
2024/2025
Type
Exam (elaborations)
Contains
Unknown
$18.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

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.
EmilioOchieng
4.1
(24)
Sold
148
Followers
17
Items
4032
Last sold
3 months ago


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

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions