wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

MidtermExam-SoftwareDesign-MakScie

Total questions: 100

Worksheet time: 50mins

Name
Class
Date
1.

A banking system project requires precise documentation and strict approval at each phase before moving forward. Which SDLC model is most appropriate?

a)

Agile

b)

Waterfall

c)

Spiral

d)

Prototype

2.

Your team is building an AI-based chatbot. The client is unsure of exact requirements and wants to see frequent demos. Which SDLC model suits best?

a)

Incremental

b)

Waterfall

c)

Agile Scrum

d)

V-Model

3.

In the Spiral model, what is the main focus of each cycle?

a)

Testing

b)

Risk analysis

c)

Documentation

d)

Maintenance

4.

A medical device software project emphasizes validation after each phase to ensure compliance. Which model is suitable?

a)

V-Model

b)

Agile

c)

Prototype

d)

Incremental

5.

The main drawback of Waterfall in dynamic projects is:

a)

Too much testing

b)

Lack of flexibility in requirement changes

c)

No documentation

d)

Too many iterations

6.

A startup wants to release an app in phases: login feature first, payments later. Which model fits?

a)

Incremental

b)

Waterfall

c)

Spiral

d)

V-Model

7.

Which SDLC phase defines “What to build” instead of “How to build”?

a)

Design

b)

Requirements gathering

c)

Implementation

d)

Testing

8.

During SDLC maintenance, the main activity is:

a)

Requirement analysis

b)

Bug fixing and updates

c)

Prototyping

d)

Feasibility study

9.

A project team uses sprints, backlogs, and daily standups. Which methodology is being applied?

a)

RAD

b)

Agile Scrum

c)

Waterfall

d)

V-Model

10.

Which SDLC model is best for projects with high security and critical systems like defense?

a)

Waterfall

b)

V-Model

c)

Spiral

d)

Agile

11.

RAD emphasizes:

a)

Quick prototyping

b)

Complete documentation

c)

Formal approvals

d)

Risk analysis

12.

Which phase involves converting design into actual code?

a)

Design phase

b)

Implementation phase

c)

Testing phase

d)

Maintenance phase

13.

A government tender project has rigid contracts and cannot change scope midway. Which SDLC is most suitable?

a)

Waterfall

b)

Agile

c)

Spiral

d)

Prototype

14.

What is the key activity in SDLC testing phase?

a)

Debugging

b)

Verifying against requirements

c)

Risk identification

d)

Designing architecture

15.

Which SDLC model reduces time-to-market with partial deliveries?

a)

Incremental

b)

Waterfall

c)

Spiral

d)

V-Model

16.

A hospital management system must allow patients to book appointments online. This is a:

a)

Non-functional requirement

b)

Functional requirement

c)

Constraint

d)

Business rule

17.

“The system should respond within 2 seconds for 95% of queries.” This is:

a)

Functional requirement

b)

Non-functional requirement

c)

User story

18.

Which of the following is NOT a functional requirement?

a)

Login authentication

b)

Generating reports

c)

Encryption of data in transit

d)

Uploading documents

19.

Scalability is an example of:

a)

Functional requirement

b)

Non-functional requirement

c)

Business logic

d)

Use case

20.

A mobile app must support both iOS and Android. This is a:

a)

Platform requirement

b)

Functional requirement

c)

Business requirement

d)

Non-functional requirement

21.

“The system should allow the admin to deactivate users.” This is:

a)

Functional

b)

Non-functional

c)

Constraint

d)

Quality attribute

22.

Reliability and availability requirements are categorized as:

a)

Functional

b)

Non-functional

c)

User stories

d)

Business processes

23.

A system must comply with GDPR laws. This is:

a)

Non-functional requirement

b)

Functional requirement

c)

Business process

24.

“The system shall generate invoices in PDF format.” This is:

a)

Functional

b)

Non-functional

c)

Design constraint

d)

Performance requirement

25.

Which requirement describes “how well” a system performs?

a)

Functional

b)

Non-functional

c)

Business rule

d)

Constraint

26.

The requirement “system uptime must be 99.9%” is an example of:

a)

Performance

b)

Availability

c)

Functional

d)

Security

27.

Which type of requirement specifies encryption, authentication, and authorization?

a)

Functional

b)

Security (non-functional)

c)

Business

d)

Process

28.

“System must process 10,000 transactions per second.” This is:

a)

Functional

b)

Performance (non-functional)

c)

Usability

d)

Availability

29.

The requirement “users must be able to reset their passwords” is:

a)

Functional

b)

Non-functional

c)

Constraint

30.

Which requirement type usually drives system architecture?

a)

Functional

b)

Non-functional

c)

Business

d)

Stakeholder

31.

In a library management system, “Borrow Book” is connected to “Search Book” with an «include» relationship. What does this mean?

a)

Borrow Book is optional

b)

Search Book is always part of Borrow Book

c)

Borrow Book cannot exist without Search Book

d)

Search Book is independent

32.

In an ATM system, “Withdraw Cash” extends “Authenticate User.” What does «extend» imply?

a)

Authentication is optional

b)

Withdrawal depends on successful authentication

c)

Authentication is triggered only sometimes

d)

Withdraw Cash is always performed

33.

Who is typically represented as an actor in a use case diagram?

a)

End users and external systems

b)

Only end users

c)

Only administrators

d)

Classes

34.

In an e-commerce system, “Process Payment” is a use case. Which actor is most likely associated?

a)

Database

b)

Customer

c)

Payment Gateway

d)

Both b and c

35.

Which relationship is used when one use case always requires another?

(a)  

36.

A use case diagram helps primarily in:

a)

Showing code flow

b)

Capturing functional requirements

c)

Modeling database tables

d)

Describing non-functional requirements

37.

In an online exam system, “Take Exam” generalizes “Practice Test” and “Final Exam.” What does this mean?

a)

Take Exam includes both

b)

Both are specialized forms of Take Exam

c)

Both are optional

d)

Practice Test depends on Final Exam

38.

Which of the following is NOT represented in a use case diagram?

a)

Actors

b)

System boundary

c)

Data flow between classes

d)

Use cases

39.

An airline system use case “Book Ticket” involves both “Customer” and “Agent” actors. What is this called?

a)

Extend relationship

b)

Multiple actors association

c)

Inheritance of actors

d)

Include relationship

40.

The main purpose of a use case diagram is to:

a)

Show sequence of operations

b)

Represent functional interactions with external entities

c)

Model system state changes

d)

Capture class attributes

41.

In a class diagram, which symbol indicates inheritance?

a)

Solid line with arrowhead

b)

Dotted line with open arrow

c)

Solid line with hollow triangle

d)

Dotted line with circle

42.

A “Car” class inherits from “Vehicle.” Which relationship exists?

a)

Composition

b)

Aggregation

c)

Generalization

d)

Dependency

43.

If “Department” contains “Professors” but professors can exist independently, this is:

a)

Composition

b)

Aggregation

c)

Association

d)

Dependency

44.

In a banking system, “Account” class cannot exist without “Customer.” This is:

a)

Aggregation

b)

Composition

c)

Generalization

d)

Dependency

45.

Multiplicity “1..*” between Customer and Orders means:

a)

One customer can place many orders

b)

One order belongs to many customers

c)

Each order belongs to one customer only

d)

Both a and c

46.

A dotted line with arrow in class diagrams represents:

a)

Dependency

b)

Inheritance

c)

Aggregation

47.

Attributes in class diagrams represent:

a)

Methods of a class

b)

Data members of a class

c)

Actors of the system

d)

System boundaries

48.

Methods are represented in class diagrams by:

a)

Operations

b)

Associations

c)

Dependencies

d)

States

49.

If “Teacher” and “Course” are connected with a line, it means:

a)

Association

b)

Aggregation

c)

Composition

d)

Inheritance

50.

In UML, visibility “-” before an attribute means:

a)

Public

b)

Private

c)

Protected

d)

Static

51.

In a sequence diagram, vertical dashed lines represent:

a)

Messages

b)

Lifelines

c)

Actors

d)

Use cases

52.

In a sequence diagram, synchronous messages are drawn as:

a)

Solid line with filled arrow

b)

Dotted line with open arrow

c)

Solid line with open arrow

53.

The activation bar in sequence diagrams represents:

a)

Lifeline end

b)

Execution of an operation

c)

System state

d)

Looping

54.

Which diagram best represents order of method calls?

a)

Class diagram

b)

Sequence diagram

c)

Activity diagram

d)

State diagram

55.

A sequence diagram for ATM withdrawal shows “ATM → Bank: Validate PIN.” This means:

a)

ATM validates

b)

Bank validates

c)

ATM and Bank validate together

d)

PIN is ignored

56.

In a sequence diagram, return messages are shown by:

a)

Dotted lines

b)

Solid lines

c)

Triangular arrows

d)

None

57.

Which symbol is used for loops in a sequence diagram?

a)

alt

b)

loop

c)

par

d)

ref

58.

Which UML element is NOT in sequence diagrams?

a)

Lifelines

b)

Activation boxes

c)

Use cases

59.

Sequence diagrams are most useful for:

a)

Database schema

b)

Describing runtime interactions

c)

Defining system requirements

d)

Showing inheritance

60.

An online shopping sequence: Customer → System: Add to Cart → System → Payment Gateway. This depicts:

a)

Collaboration between classes

b)

Function decomposition

c)

State transitions

d)

Aggregation

61.

In an activity diagram, a filled circle represents:

a)

Decision point

b)

Start of workflow

c)

End of workflow

d)

Synchronization bar

62.

In an online shopping activity diagram, a diamond shape is used to:

a)

Merge actions

b)

Represent decision branching

c)

Synchronize activities

d)

Show end state

63.

Which symbol represents concurrent activities?

a)

Diamond

b)

Fork/join bar

c)

State box

d)

Lifeline

64.

Which of the following cannot be shown in activity diagrams?

a)

a) Parallel flows

b)

b) Object flows

c)

c) Method calls order

65.

Swimlanes in activity diagrams indicate:

a)

Order of messages

b)

Responsibility of actors/departments

c)

Data storage

d)

Return paths

66.

In a railway booking activity diagram, “Confirm Ticket” comes after “Payment Successful.” This is:

a)

Parallel flow

b)

Sequential flow

c)

State transition

d)

Inheritance

67.

The final state in activity diagrams is represented by:

a)

Open circle

b)

Filled circle with outer ring

c)

Diamond

d)

Rectangle

68.

An activity diagram for login has two decisions: (valid credentials → success; invalid → retry). What is this?

a)

Fork

b)

Merge/decision

c)

Join

d)

State

69.

Which diagram is most useful for modeling workflows?

a)

Activity diagram

b)

Sequence diagram

c)

Class diagram

d)

Use case diagram

70.

Activity diagrams are best used in:

a)

Modeling dynamic behavior of workflows

b)

Defining static structure

71.

In a state diagram, transitions are triggered by:

a)

Actors

b)

Events

c)

Classes

d)

Attributes

72.

In an order system, states are: “Placed → Paid → Shipped.” These represent:

a)

Workflow activities

b)

Object lifecycle states

c)

User roles

d)

Functional requirements

73.

Which symbol denotes the start of a state diagram?

a)

Diamond

b)

Filled circle

c)

Hollow circle

d)

Rectangle

74.

The main purpose of state diagrams is:

a)

Represent functional requirements

b)

Show behavior of an object over time

c)

Show class relationships

d)

Model workflows

75.

In an ATM system, states include: “Idle,” “Authenticating,” “Processing,” “Dispensing Cash.” These represent:

a)

Activities

b)

States in object lifecycle

c)

Class attributes

d)

Use cases

76.

Transition arrows in state diagrams indicate:

(a)  

77.

Guard conditions in state diagrams are used to:

a)

Decide transitions based on conditions

b)

End workflows

c)

Represent parallelism

d)

Identify classes

78.

Which is NOT represented in state diagrams?

a)

States

b)

Transitions

c)

Activities

d)

Associations between classes

79.

In an elevator system, state “Moving Up” changes to “Idle” when destination is reached. This is:

a)

Composition

b)

Transition

c)

Inheritance

d)

Dependency

80.

State diagrams are most useful when modeling:

a)

User stories

b)

Object lifecycle

c)

Database schema

d)

Business rules

81.

The Single Responsibility Principle (SRP) means:

a)

A class should have one reason to change

b)

A class should handle multiple functionalities

c)

Classes should be highly coupled

d)

Inheritance should be avoided

82.

In an HR system, a class “Employee” handles payroll, attendance, and reporting. This violates:

a)

Single Responsibility Principle

b)

Open/Closed Principle

c)

Inheritance Principle

d)

Encapsulation Principle

83.

The Open/Closed Principle (OCP) states:

a)

Software entities should be closed for extension but open for modification

b)

Open for extension but closed for modification

c)

Always closed for modification

d)

Always open for changes

84.

Adding new payment methods (PayPal, GCash) without modifying existing code but extending classes follows:

a)

OCP

b)

SRP

c)

ISP

d)

DIP

85.

The Liskov Substitution Principle (LSP) ensures:

a)

Derived classes must be substitutable for base classes

b)

Derived classes must override all methods

c)

Base classes cannot inherit

d)

Subclasses should not extend base functionality

86.

If “Rectangle” and “Square” violate LSP due to different area logic, what’s the issue?

a)

ISP

b)

SRP

c)

LSP

d)

OCP

87.

The Interface Segregation Principle (ISP) states:

a)

Clients should depend on large interfaces

b)

Clients should not be forced to depend on methods they don’t use

c)

Interfaces must always be abstract

d)

Interfaces must be implemented fully

88.

A “Printer” interface with methods print(), scan(), fax() is problematic for basic printers. This violates:

a)

SRP

b)

OCP

c)

ISP

d)

DIP

89.

The Dependency Inversion Principle (DIP) promotes:

a)

High-level modules depend on low-level modules

b)

Low-level modules depend on high-level modules

c)

Depend on abstractions, not concrete implementations

d)

Avoid inheritance

90.

In an order system, if OrderService depends directly on MySQLDatabase, this violates:

a)

DIP

b)

LSP

c)

ISP

d)

SRP

91.

Which principle helps reduce tight coupling?

a)

SRP

b)

DIP

c)

ISP

d)

OCP

92.

Which principle ensures system flexibility for new features?

a)

SRP

b)

OCP

c)

ISP

d)

DIP

93.

A class that sends email and SMS notifications separately instead of combining them follows:

(a)  

94.

If subclasses change base class behavior unexpectedly, which principle is broken?

a)

LSP

b)

ISP

c)

OCP

d)

SRP

95.

Large “God classes” that do everything break:

a)

SRP

b)

OCP

c)

DIP

d)

ISP

96.

Splitting interfaces into smaller, role-specific ones demonstrates:

a)

DIP

b)

ISP

c)

OCP

d)

LSP

97.

Which principle is directly supported by Dependency Injection?

a)

SRP

b)

OCP

c)

DIP

d)

ISP

98.

Designing classes that can be easily tested by replacing dependencies with mocks is an application of:

a)

DIP

b)

OCP

c)

SRP

d)

ISP

99.

Extending a logging system to support new formats without altering existing logging class is:

a)

OCP

b)

SRP

c)

ISP

d)

DIP

100.

Collectively, SOLID principles mainly focus on:

a)

Performance optimization

b)

Maintainable and scalable design

c)

Database efficiency

d)

Faster execution