Sie sind auf Seite 1von 4

SAS93 – Software modeling (UML) Student Id: .......................

SAS93 – Software modeling (UML) Duration: 1 hour 30 minutes


January, the 16th, 2014

• Use of personal notes, lecture slides and all related exercises are authorised;
• Electronic devices are forbidden;
• Marking scheme is supplied for information only;
• The exam subject is on both sides of this page. It must be joined with your examination papers.

1 Multiple choice questions (5 points)


Each correct answer will capitalize 0.5 points. For some questions, several choices may be correct.
You can directly answer on the exam sheet.

1. In the UML wording, inheritance is called:


2 Composition 2 Aggregation
2 Generalisation 2 Extension

2. In UML, a diagram showing sequences of actions is called:


2 Activity diagram 2 Communication diagram
2 Sequence diagram 2 Deployment diagram

3. In UML, a diagram emphasising exchanges of messages between objects is called:


2 Activity diagram 2 Communication diagram
2 Sequence diagram 2 Deployment diagram

4. In UML, a diagram describing the technical infrastructure that supports an information system is
called:
2 Activity diagram 2 Communication diagram
2 Sequence diagram 2 Deployment diagram

5. In the use case diagram, a conditional relationship between two use cases is annotated by the
stereotype:
2 extend 2 depend 2 include 2 condition

6. In the activity diagram, a choice between several branches is represented by:


2 A diamond 2 A thin black bar
2 A black circle 2 A box with rounded corners

7. Which events are represented in the sequence diagrams that we cannot find in communication
diagrams ?
2 Synchronous messages between objects 2 Asynchronous messages between objects
2 Object destruction 2 Message ordering

1
Widget Button PistonEngine Cylinder
(a) (b)

Figure 1: UML diagrams extracts

8. Considering Fig. 1, from which UML diagram are these extracts from ?
2 Communication diagram 2 Class diagram
2 Use case diagram 2 Deployment diagram

9. Considering Fig. 1(a), multiplicities associated to Widget are:


2 0..* 2 1..* 2 1..1 2 irrelevant

10. Considering Fig. 1(b), multiplicities associated to Cylinder are:


2 0..* 2 1..* 2 1..1 2 irrelevant

2 Specific questions on lecture track (4 points)


1. According to you, what are the advantages of using inheritance when programming? Why is it
important for software industry?
2. According to the 4+1 view model, what should be the main focus when designing and building
software? Why?

3 Case study (11 points)


International scientific conferences offer to researcher the opportunity to publish, communicate and
exchange information regarding their work.
Such conferences usually have a program committee whose role is to decide which papers should be
published based on the assessment of the quality of the research work.
When a researcher wants to publish an article in such a conference, he has to submit the paper to the
program committee. Then, the committee proposes to several well-known researchers of the field to
review and assess the quality of the article. Once reviews are made, they are collected by the program
committee. Then the final decision concerning the acceptance of the article is made. The results of
this whole process are then sent back to the researcher who submitted the article.
Articles are often a collective work and are signed by several researchers (usually 3 to 4) who may
be affiliated to different institutions. One of the co-authors (usually the one who has submitted the
article) is considered as the corresponding author. Moreover, conferences may accept several article
formats: posters (very short articles up to 2 pages), short articles (up to 4 pages) or long articles (up
to 8 pages). Each researcher may submit several different articles and reviewers may also assess the
quality of several articles.
Members of the program committee dispatch the articles to reviewers and then make the final decision
concerning an article.

Our main goal, in this case study, is to design an information system that will automate the submission
and assessment processes. It means that the articles should be transmitted numerically (using pdf or
word formats for example) and that the corresponding author has to authenticate himself. The main
submission interface will be a web site. Moreover, automated notification messages are sent by email
to keep informed program committee members, reviewers and authors at each step of the review

2
process. The final information system should then at least use a web server, a database server and an
email server.

Questions:
1. Draw the use case diagram of the information system. (2 points)
2. Draw the activity diagram corresponding to the following process (3 points):

• The reviewer logs in;


• The system checks credentials (email/password);
• The system proposes a list of papers to review;
• The reviewer chooses one paper in particular;
• If the paper has already been reviewed by the reviewer, then a form with his previous review is
displayed. Otherwise, a blank form appears;
• The reviewer fills in the form and submit it;
• Once the review is submitted, email copies are sent to the reviewer and program committee
members.

3. Fig. 2 shows an extract of a class diagram related to the information system (4 points).

• Complete this diagram with multiplicities;

• Complete the relationship between Article and Reviewer using an association class. This last
one should be documented in an appropriate manner;

• According to you, what should be the nature of the relationship between Author and Article
(aggregation or composition)? In a few words, justify your answer and promote, if necessary,
the diamond in a filled diamond;

• According to you, what should be the nature of the relationship between CommitteeMember
and Article (aggregation or composition)? In a few words, justify your answer and promote, if
necessary, the diamond in a filled diamond;

• Classes Author, Reviewer and CommitteeMember have members with common names and uses.
Modify the class diagram in order to factorise common behaviours.

4. Draw the deployment diagram related to this information system. (2 points)

3
Reviewer
–id:Integer
–firstname:String
–lastname:String
–password:String
Author –email:String
–id:Integer Article
–firstname:String –id:Integer
–lastname:String –title:String
–password:String –contactID:Integer
–email:String –accepted:boolean
–affiliation:String CommitteeMember
–id:Integer
–firstname:String
–lastname:String
–password:String
Poster LongArticle ShortArticle –email:String

Figure 2: Class diagram of the information system