2023 - Midterm 1 Solution - Spring - SE
2023 - Midterm 1 Solution - Spring - SE
4) The software systems that have inextensible designs, convoluted code, poor or nonexistent
documentation, and poorly managed change history but are difficult to abandon because they are
indispensable to business are knows as
a. Embedded systems
b. Legacy systems
c. Open source systems
Department of Computer Science Page 1 of 5
d. Engineering systems
5) Errors introduced in which of the following software lifecycle phases are most costly to fix if discovered
after release of the software?
a. Requirements gathering
b. Design
c. Coding
d. Unit testing
e. Integration testing
Requirements F / NF
2. The system shall be available at all times, with as little downtime as possible for NF
maintenance or updates.
4. The system shall display available flights, together with information such as departure F
and arrival timings, layover duration, and ticket price.
5. The systems shall provide flight status updates, including delays and cancellations. F
6. The system shall protect sensitive client data and maintain the security of all NF
transactions.
7. The system shall provide a booking confirmation with a reservation number and NF
itinerary within an hour of booking.
10. The system shall allow the managers to modify reservation rules. F
Question 3 (Marks = 5)
Label each of the following requirements as Testable (T) or Not-Testable (NT). If a requirement is NT, rewrite
it to make it testable.
The system shall always correctly identify the 90% people in the input image. T / NT
The system shall correctly identify the 90% people in the input image 95% of the times.
The system shall have 0% down time during the working hours (9 AM to 5 PM) in the 5 working days of a
week.
The system shall use the hardware economically to save the memory. T / NT
The system shall not use more than 0.5 GB RAM during its execution.
a. A client asked a software house to develop an application which enables its users to schedule the day,
manage daily tasks, to-do list etc. Though client is not pretty sure about the exact look and feel of the
software product but he is very conscious about the product’s graphics and interface. The client is ready
to provide feedback on the work done and can provide this feedback once or twice a week.
Process Model:________Prototyping________________________
Reason (s):
b. Police department of Punjab is looking for a system based on Artificial intelligence techniques to control
the traffic signals. It shall auto detect the direction from which an ambulance is coming and set that
specific signal to green and facilitate the continuous movement of ambulance. To get the credit quickly,
the government wants the system developed in the next 3, 4 months. The government is ready to spend
money on project development including hiring of human resources for 4 months. A software company
ABC took the project and started working on it. The initial work shows that the resultant system shall
have 7 subsystems and development work on the subsystems can be started from very beginning
without affecting the development of the other subsystems.
Process Model:____________RAD_______________
Reason (s):
- The 7 subsystems can be developed in parallel
- The complete system is required within 90 to 120 days (3 to 4 months)
- Human resources can be arranged as the government is ready to pay against their employment for 4
months
- Requirements are pretty much known and an initial analysis has already divided the system
functionalities into modules
Based on the above description, list 3 functional and 2 non-functional requirements for the software system
to be developed for GolfLabs. All requirements should be written in standard format with hierarchical
numbering. All requirements should be testable.
Functional Requirements:
1. The system shall generate a swing analysis report (SAR) after processing the submitted video.
1.1. The system shall use the swing analysis rules to generate the SAR
1.2. The system shall allow the coaches to enter the analysis rules to the system
2. The system shall present the SAR to the coaches for review
3. The system shall allow the coaches to annotate the SARs
4. The system shall allow the coaches to review and approve/disapprove SARs
5. The system shall allow the players to view the approved SARs
6. The system shall complete the swing analysis and generate the report within 6 hours of HD recording
7. The system shall have minimum 80% swing projection accuracy in more than 90% of the cases