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.
Multiple choice
3 marksEach question is worth 0.5 marks.
Managing design influences
3 marksHow could “managing design influences/stakeholders” be a challenge for designers?
Software design processes
3 marksList the software design processes, including the major and supporting activities, and explain each one.
The 4+1 View Model
3 marksFill 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.
Airline itinerary system
6 marksAn 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.
Write the name of the most suitable architectural pattern for this system.
Based on the pattern you selected, identify the role of each component.
Build the component diagram. Tick every connection that belongs in it, with the correct provided and required interfaces. Wrong ticks cancel out correct ones.
Give a quality attribute scenario for availability in this airline system: source, stimulus, artifact, environment, response and response measure.
Pipe-and-filter sequence diagram
2 marksA 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.
Place the lifelines from left to right in the order the data flows.
Tick every statement that is true of the correct sequence diagram.