Presentation is loading. Please wait.

Presentation is loading. Please wait.

Examples of Final Exam Questions

Similar presentations


Presentation on theme: "Examples of Final Exam Questions"— Presentation transcript:

1 Examples of Final Exam Questions
SEG3101 Examples of Final Exam Questions Daniel Amyot, University of Ottawa Based on material from: S. Somé 2008, D. Amyot 2008, G. Mussbacher 2009, G.v. Bochmann 2010

2 Requirements Writing and Quality Measurement
The following requirements about a library system are non- functional requirements stated in an unverifiable way. For each, indicate the quality attribute considered and rewrite it so that it is verifiable (make up some suitable details). The System shall respond to users in a timely manner. The System shall provide a good throughput. The System shall be easy to learn to use.

3 UCM Modeling You are asked to model the following business process using a single UCM diagram. Pay attention to the syntax, the use of the right components, and the right allocation of responsibilities to components. A summary of the UCM notation is available at the end of the exam. The Metasearch Engine for Systematic Literature Reviews (MESLiR) is a system that allows a student to do complex queries on three search engines (Google, Springer and Xplore) and to obtain the combined results. When a search query has been prepared by a student, MESLiR validates the query and returns an error message to the student if the query is syntactically invalid. If it is valid, the query is simultaneously executed on the three search engines. MESLiR then combines the obtained results. Finally, MESLiR presents the results to the student while at the same time keeping a local copy of the results in its database.

4 Requirements Prioritization
A simple costs/values approach for requirements prioritizing is not sufficient in practice for various reasons. Which of the following suggestions is not a possible improvement of a simple costs/values approach? Adding criteria for the ease of use at the organizational level and ease of implementation at the technical level Using pairwise comparisons and clustering requirements as services/features Adding estimates for benefits, penalties, implementation costs and technical risks Not considering requirement interdependencies Adding criteria for value as seen by customers and value as seen by the business

5 Requirements Prioritization
In the Analytic Hierarchy Process (AHP) requirements prioritization approach, it is suggested to apply pairwise comparison to clusters of connected requirements such as features rather than simple requirements. Briefly explain why.

6 Requirements Negotiation
During this term, you worked on defining requirements for a Metasearch Engine for Systematic Literature Reviews. Provide responses to the following questions in the context of this project. Give two examples of stakeholders with conflicting requirements. For each example, briefly explain the potential conflict. Describe how you would handle negotiation to resolve conflicting requirements.

7 Requirements Negotiation
Circle which of the following assertions (about the responsibilities of requirements analysts) does not apply to requirements negotiation: You must arrive at an agreement on a set of coherent requirements which satisfies all stakeholders as much as possible. You must detect when user requirements are inconsistent. You must avoid involving managers in the negotiations. You must evaluate the importance of inconsistent requirements for each involved stakeholder. You must convince all the stakeholders to understand the essential requirements from the point of view of the others stakeholders.

8 Requirements Validation and Verification
Inspection is an effective technique for requirements verification and validation. Briefly explain the importance of checklists for requirements inspection. Which type of analysis would you use with DOORS to discover which tests (in a test module) need to be re- examined following a requirement modification (in a requirements module)?

9 Requirements Management
A requirement may have different status (states) in a Requirements Management System. Complete the following simple state machine (there are no events or actions on transitions) describing the lifecycle of a requirement in a Requirements Management System. You must have at least 6 statuses (states).

10 Traceability It is advised to define several types of links in order to establish precise traceability relations in a Requirements Management System. Supplement the following table by defining 4 types of links and indicating the types of source and target objects (user requirement, system requirement, test, a part of a UML/URN model, etc.) of these links. Link Type Source Object Type Target Object Type

11 Features Interactions
Suppose a UCM model where a dynamic stub contains 3 features described as plug-ins: A, B, and C. A Default plug-in is also included. As in assignment #2, it is possible to subscribe to each of these features. This is represented using Boolean variables subA, subB and subC. An attempt was made to solve an interaction problem between the features by giving the user the possibility to state preferences using two Boolean variables Pref1 and Pref2. Show (with a counter-example) that the following situation is incorrect. Selection Policy: (!subA && !subB && !subC)  Select Default subA && ( (!subB && !subC) || (Pref1 && Pref2) )  Select A subB && ( (!subA && !subC) || (!Pref1 && Pref2) )  Select B subC && ( (!subB && !subA) || (Pref1 && !Pref2) )  Select C !subA, subB, subC, Pref1, Pref2  nothing selected

12 Requirements Modeling
URN includes two types of diagrams (GRL and UCM) for various modeling tasks. Briefly describe what each of the following URN diagrams could be used for in the context of requirements specification. GRL Diagrams: UCM Diagrams:

13 UML State Machine The Ebooking System is an automated check-in system to be used in airports to speed-up passenger check-in with little assistance from agents. A passenger willing to check-in for a flight must enter a reservation number. If there is a reservation with the given number, the booked flight is displayed to the passenger on a touch screen and the passenger is presented with a button to CONFIRM and a button to request a CHANGE. If the reservation can not be found, an error message is displayed and the passenger is asked to enter another reservation number. If the passenger chooses to confirm by pressing the CONFIRM button, the system asks whether or not the passenger has any baggage to check, and if the customer presses NO, then the system prints and ejects a boarding pass which the customer can then take to the departure gate. If the passenger pressed YES (has baggage to be checked in), the system asks for the number of baggage pieces. After the passenger has indicated the number of pieces, the system prints and ejects a boarding pass, as well as the required number of luggage slips. The system also displays a message asking the passenger to proceed immediately to a check-in agent who will handle the baggage. If the passenger wishes to make a change to the reservation, he or she presses the CHANGE button on the screen, the system displays the reservation details and the details for the next available flight to the same destination and asks if the customer wishes to change to the following flight. The customer again has the option of CONFIRMing or CHANGing to the next flight. In either case, the same procedure as before applies once more. Whenever a boarding pass or luggage slips have been printed and the customer has not taken them from the machine within 15 seconds, the machine sounds an alarm until the documents are taken by the customer. A CANCEL button is displayed all the time after the check-in process has started. The passenger can choose to cancel checking-in by pressing this button. In that case, the system should return to asking for a reservation number.

14

15 RE in Different Software Development Processes
Rational Unified Process (RUP) and eXtreme Programming (XP) promote two different approaches for requirements engineering. What are two main differences between RUP and XP regarding requirements engineering? What are two advantages of RUP over XP regarding requirements engineering? What are two advantages of XP over RUP regarding requirements engineering?


Download ppt "Examples of Final Exam Questions"

Similar presentations


Ads by Google