wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Midterm Examination 1 (Software Design)

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.

What is the primary role of software architecture?

a)

Writing code

b)

Managing databases

c)

Graphic design

d)

Ensuring system scalability

2.

Which architectural style involves an intermediate application server layer between the client and the server?

a)

Three-Tier Architecture

b)

Service-Oriented Architecture (SOA)

c)

Two-Tier Architecture

d)

Client-Server Model with RESTful APIs

3.

What does the Model-View-Controller (MVC) pattern separate an application into?

a)

Data and business logic, user interface elements, and user input

b)

Data storage, business logic, and UI

c)

Client-side and server-side components

d)

Database and API access

4.

Which architectural pattern provides a centralized storage and retrieval interface for data access operations?

a)

Repository Pattern

b)

Publish-Subscribe

c)

Data Access Object (DAO)

d)

Request-Response

5.

What is the purpose of the Proxy Pattern in client-server systems?

a)

Implementing caching

b)

Enhancing scalability

c)

Controlling access to another object

d)

Handling user input

6.

Which architectural style organizes services around business domains for alignment with business structure?

a)

API Gateway

b)

Event-Driven Architecture

c)

Containerization

d)

Decomposition by Domain

7.

What does the Bulkhead Pattern aim to prevent in a system?

a)

Cascading failures

b)

Data loss

c)

Security breaches

d)

Performance issues

8.

Which strategy involves deploying the system across multiple geographic regions for high availability?

a)

Load Balancing

b)

Auto-scaling

c)

Horizontal Scaling

d)

Geographic Redundancy

9.

What is the purpose of employing asynchronous communication and processing in system architecture?

a)

Improving response times

b)

Enhancing user experience

c)

Reducing costs

d)

Increasing security

10.

Which pattern separates read and write operations to optimize performance in microservices?

a)

CQRS (Command Query Responsibility Segregation)

b)

Saga Pattern

c)

Event Sourcing

d)

API Gateway

11.

What does the Immutable Infrastructure strategy treat infrastructure as?

a)

A flexible resource

b)

A constant variable

c)

A temporary solution

d)

Code

12.

Which architectural style encapsulates data storage, business logic, and UI within each service?

a)

CQRS (Command Query Responsibility Segregation)

b)

Serverless Architecture

c)

Database per Service

d)

Self-Contained Systems (SCS)

13.

What is the purpose of the Graceful Degradation design principle?

a)

Optimizing resource allocation

b)

Maintaining consistent environments

c)

Handling failures under high load

d)

Ensuring system security

14.

Which pattern incrementally migrates monolithic applications to microservices?

a)

Bulkhead Pattern

b)

Externalized Configuration

c)

Continuous Monitoring and Optimization

d)

Strangler Pattern

15.

What is the goal of Chaos Engineering in system design?

a)

Identifying weaknesses and vulnerabilities

b)

Ensuring system compliance

c)

Optimizing resource usage

d)

Enhancing user experience