0% found this document useful (0 votes)
182 views3 pages

CS508 Midterm Exam 2017 Solution

Here are the activity diagrams for the remaining use cases: Activity diagram for use case "airways staff informs passengers" [START] Broadcast boarding information on TV and radio [END] Activity diagram for use case "airways staff opens gates" [START] Open business/first class boarding gate 45 minutes before take-off Open economy class boarding gate 30 minutes before take-off [END] Activity diagram for use case "airways staff closes gates" [START] Close boarding gates 10 minutes before take-off [END] Activity diagram for use case "airways staff checks passports and tickets" [START] Check
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
182 views3 pages

CS508 Midterm Exam 2017 Solution

Here are the activity diagrams for the remaining use cases: Activity diagram for use case "airways staff informs passengers" [START] Broadcast boarding information on TV and radio [END] Activity diagram for use case "airways staff opens gates" [START] Open business/first class boarding gate 45 minutes before take-off Open economy class boarding gate 30 minutes before take-off [END] Activity diagram for use case "airways staff closes gates" [START] Close boarding gates 10 minutes before take-off [END] Activity diagram for use case "airways staff checks passports and tickets" [START] Check
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

CS508 Midterm Exam 2017/2018

Q-01 (1 mark): Which of the following statements describes work that is not part of the (core)
work of a software engineer? Answer choice:

A: To understand the problem domain of a software system to-be-developed

B: To define/evolve the architecture of a software system

C: To design and develop program code

D: To invent a new programming language

Q-02 (1 mark): For which of the following requirements engineering activities is the UML
notation the least suitable/useful? Answer choice:

A: Requirements gathering/elicitation

B: Requirements analysis

C: Requirements specification

D: Requirements validation (e.g., consistency checking)

Q-03 (1 mark): Which of the following statements about UML class diagrams is not correct.
Answer choice:

A: A class has the following elements: name, list of attributes, list of operations

B: Aggregation is a specific type of inheritance relationship

C: Composition describes a whole/part relationship

D: A superclass and its subclasses describe a generalization relationship

Q-04 (1 mark): Which of the following statements about use case descriptions is not correct
Answer choice:

A: A participating actor is an actor who helps achieve the goals of the initiating actor

B: An alternate flow describes exceptions from or extensions to the normal interaction scenario

C: A use case diagram is a graphical representation of a use case description

D: Preconditions describe the state of the system before the start of the interaction
scenario

Q-05 (1 mark): Why is requirements elicitation difficult? Answer choice:

A: Because there doesn’t exist a suitable UML notation for requirements elicitation

B: Because it is difficult to identify the relevant stakeholders, and, once identified, the
stakeholders have difficulties describing what they want/need

C: Because requirements can change over time


D: Because stakeholders don’t understand use cases

Q2. you should model an aircraft boarding system by using UML UseCase diagram. The
following are the requirements on the system.

• 45 minutes before take-off, one channel is opened in the boarding gate for the business / 1st
class passengers. These passengers are informed by broadcasting by both airport TV and radio

• 30 minutes before take-off, an economy class channel is opened. and notify the boarding
message to the economy class passengers by using both airport TV and radio. Meanwhile, keep
the business / 1st class channel open

• If all of the business / 1st class passengers, who have already checked in their luggage, finish
the boarding, that channel should be opened for the economy class passengers as well

• The passengers’ tickets and passports should be controlled, both in 1st / business class
channel and economy class channel. If there is something wrong, the problem should be solved
without stopping boarding for the other passengers

• The number of passengers should never exceed the capacity of aircraft

• It is allowed to disembarking during the boarding

• Before the gate is closed and the aircraft takes off, passengers who have already checked in
the luggage but not shown up at the boarding gate 15 minutes before take-off should be called
for by broadcasting by both airport TV and radio

• The boarding gate should be closed 10 minutes before take-off.

• There are no set numbers; passengers are allowed aboard on a first-come-firstserved basis.

a) Your task is to create a use case diagram with at least two actors (passenger, airways
staff), you just need to describe who does what. No text description is needed, only a
use case diagram (with descriptive names of the use cases).
b) Please Draw the activity diagram for each use case.

ID User stories
St-1 As a 1st class passenger, I start boarding 45 minutes before take-off
St-2 As an economy passenger, I start boarding 30 minutes before take-off
St-3 As a 1st class passenger, I show my passport and ticket to be checked
St-4 As an economy passenger, I show my passport and ticket to be checked
St-5 As an airways staff, I inform passengers with information by broadcasting by ( tv
and radio)
St-6 As an airways staff, I open the gates
St-7 As an airways staff, I close the gates
St-8 As an airways staff, I check passports and tickets.
St-9 As an airways staff, I solve the passengers’ problems.
St-10 As an airways staff, I allow passengers to start boarding.
Use case diagram

Start boarding Activity diagram for “passenger”

Complete the rest of activity diagrams “activity diagram for each use case.

You might also like