CS204 Sophomore Software Engineering II
Midterm Exam Review (Qns & Ans)
2025
1. What is the primary objective of software architecture design
in engineering?
A. Enhancing user interface aesthetics
B. Ensuring scalability, maintainability, and reliability of the
system
C. Reducing the amount of documentation required for the
project
D. Eliminating coding errors during early phases
ANS: B. Ensuring scalability, maintainability, and reliability
of the system
Rationale: Software architecture establishes the foundation for
system scalability, reliability, and future adaptability.
©2025
,2. Which software development methodology focuses on risk
assessment at each iteration of the development cycle?
A. Agile
B. Spiral
C. Waterfall
D. Scrum
ANS: B. Spiral
Rationale: The Spiral model incorporates risk evaluation at
every phase, combining iterative and systematic approaches.
3. What is the primary purpose of Continuous Integration (CI) in
software development?
A. Enhancing graphic design for applications
B. Regularly merging code changes and automating testing
C. Designing complex user interfaces
D. Creating static prototypes for user validation
ANS: B. Regularly merging code changes and automating
testing
Rationale: CI ensures frequent integration of code changes
while identifying errors early through automated testing.
4. Which metric is commonly used to evaluate software quality?
©2025
, A. Code execution speed
B. Cyclomatic complexity
C. Color scheme of the interface
D. Size of the database
ANS: B. Cyclomatic complexity
Rationale: Cyclomatic complexity measures the number of
linearly independent paths through source code, reflecting code
maintainability.
5. What is the benefit of employing microservices in software
systems?
A. Centralized architecture for code management
B. Enhanced modularity, scalability, and independent
deployment of components
C. Reduced need for testing individual modules
D. Eliminated need for software documentation
ANS: B. Enhanced modularity, scalability, and independent
deployment of components
Rationale: Microservices divide applications into modular
components that operate independently.
---
©2025
, Fill-in-the-Blank Questions
6. The process of identifying and mitigating risks during
software development is known as ________.
ANS: Risk management
Rationale: Risk management minimizes potential disruptions
and ensures project stability.
7. In software engineering, the ________ phase involves
transitioning the completed software into production
environments.
ANS: Deployment
Rationale: Deployment focuses on delivering the software to
end-users.
8. The term ________ refers to the ability of a software system
to recover gracefully from errors or failures.
ANS: Fault tolerance
Rationale: Fault tolerance ensures system reliability by
handling unexpected disruptions effectively.
9. ________ testing ensures individual modules of a system
interact correctly with one another.
©2025
Midterm Exam Review (Qns & Ans)
2025
1. What is the primary objective of software architecture design
in engineering?
A. Enhancing user interface aesthetics
B. Ensuring scalability, maintainability, and reliability of the
system
C. Reducing the amount of documentation required for the
project
D. Eliminating coding errors during early phases
ANS: B. Ensuring scalability, maintainability, and reliability
of the system
Rationale: Software architecture establishes the foundation for
system scalability, reliability, and future adaptability.
©2025
,2. Which software development methodology focuses on risk
assessment at each iteration of the development cycle?
A. Agile
B. Spiral
C. Waterfall
D. Scrum
ANS: B. Spiral
Rationale: The Spiral model incorporates risk evaluation at
every phase, combining iterative and systematic approaches.
3. What is the primary purpose of Continuous Integration (CI) in
software development?
A. Enhancing graphic design for applications
B. Regularly merging code changes and automating testing
C. Designing complex user interfaces
D. Creating static prototypes for user validation
ANS: B. Regularly merging code changes and automating
testing
Rationale: CI ensures frequent integration of code changes
while identifying errors early through automated testing.
4. Which metric is commonly used to evaluate software quality?
©2025
, A. Code execution speed
B. Cyclomatic complexity
C. Color scheme of the interface
D. Size of the database
ANS: B. Cyclomatic complexity
Rationale: Cyclomatic complexity measures the number of
linearly independent paths through source code, reflecting code
maintainability.
5. What is the benefit of employing microservices in software
systems?
A. Centralized architecture for code management
B. Enhanced modularity, scalability, and independent
deployment of components
C. Reduced need for testing individual modules
D. Eliminated need for software documentation
ANS: B. Enhanced modularity, scalability, and independent
deployment of components
Rationale: Microservices divide applications into modular
components that operate independently.
---
©2025
, Fill-in-the-Blank Questions
6. The process of identifying and mitigating risks during
software development is known as ________.
ANS: Risk management
Rationale: Risk management minimizes potential disruptions
and ensures project stability.
7. In software engineering, the ________ phase involves
transitioning the completed software into production
environments.
ANS: Deployment
Rationale: Deployment focuses on delivering the software to
end-users.
8. The term ________ refers to the ability of a software system
to recover gracefully from errors or failures.
ANS: Fault tolerance
Rationale: Fault tolerance ensures system reliability by
handling unexpected disruptions effectively.
9. ________ testing ensures individual modules of a system
interact correctly with one another.
©2025