SE322 · TERM 252
Midterm 252
60:00
– / 20
SOFTWARE DESIGN AND ARCHITECTURE · INTERACTIVE EXAM

Midterm 252

The Term 252 midterm (15 Feb 2026), rebuilt so you can take it and get it graded right away. Every mistake comes with an explanation. Written answers go through a keyword detector that looks for the ideas the answer key expects. You can raise or lower that mark if it misreads you.

6 questions20 marks60 minutesCLO1 to CLO4Answers are saved in this browser until you reset
QUESTION 1 · CLO1

Multiple choice

3 marks

Each question is worth 0.5 marks.

QUESTION 2 · CLO2

Managing design influences

3 marks

How could “managing design influences/stakeholders” be a challenge for designers?

QUESTION 3 · CLO1

Software design processes

3 marks

List the software design processes, including the major and supporting activities, and explain each one.

QUESTION 4 · CLO3

The 4+1 View Model

3 marks

Fill in the table: pick the description, the stakeholders and the UML diagrams for each view. Each of the 15 cells is worth 0.2 marks. “Comm.” means communication diagram.

QUESTION 5 · CLO3

Airline itinerary system

6 marks

An airline wants a system that generates the best flight itinerary for a passenger. The Passenger App sends a trip request to the Trip Planning Service, which manages the whole planning process. It starts by creating an empty itinerary draft and storing it in the Draft Itinerary Record.

Inside the Trip Planning Service, multiple independent components repeatedly read and update the same shared itinerary draft until it becomes stable and final. The service works through three steps in order. For each step it retrieves the current draft, has a specialized component improve it, and saves the new version back to the draft record.

First, the Route Builder creates a list of all possible flight routes. Next, the Constraint Checker filters out routes that don’t meet the passenger’s requirements or the airline’s rules. Finally, the Best Option Selector picks the single best remaining route.

When the process is finished, the Trip Planning Service sends the completed itinerary back to the Passenger App to show the user.

A · 1 mark

Write the name of the most suitable architectural pattern for this system.

B · 1 mark

Based on the pattern you selected, identify the role of each component.

C · 3 marks

Build the component diagram. Tick every connection that belongs in it, with the correct provided and required interfaces. Wrong ticks cancel out correct ones.

Best Flight Itinerary · Component Diagram (Blackboard Pattern) requires Passenger App (Client) Trip Planning Service (Controller) ITripPlanningAPI provides requires Route Builder (Worker) Constraint Checker (Worker) Best Option Selector (Worker) invokes Draft Itinerary Record (Blackboard) provides IItineraryStore requires
D · 1 mark

Give a quality attribute scenario for availability in this airline system: source, stimulus, artifact, environment, response and response measure.

QUESTION 6 · CLO4

Pipe-and-filter sequence diagram

2 marks

A piece of software uses algorithms to work out who a person is automatically. Its architecture is pipe and filter.

1. It accesses videos (with audio) from YouTube.
2. It detects faces of individuals in the video (face detection decides whether a face is in the video).
3. It recognizes faces from the video (face recognition works out who the detected face belongs to).
4. Based on detection and recognition, it predicts the identity of the individuals in the video.

The names in bold are the lifelines of the sequence diagram.

Part 1 · 1 mark

Place the lifelines from left to right in the order the data flows.

Part 2 · 1 mark

Tick every statement that is true of the correct sequence diagram.

access videos detects faces recognizes faces predicts the identity 1: video + audio stream 1.1: detect faces 1.2: detected faces 1.2.1: recognize faces 1.2.2: recognized faces 1.2.2.1: predict identity