Mock Exam of M363

Mock Exam of M363

MTA

Mock Exam of M363

Part One: [15 marks]

Answer the following Multiple Choice Questions (15 MCQ) [1 mark each]

Please circle the appropriate answer beside each question.

  1. A software characteristic that is related to ease of use is called:

a.Maintainability

b.Malleability

c.Flexibility

  1. The activity where requirements are categorized and prioritized, and examined for their properties of consistency, completeness and non-ambiguity is called:

a.Elicitation

b.Gathering

c.Analysis and negotiation

d.Validation

  1. Special requirements that come about because of people involved in the product’s development and operation:
  1. Cultural and political
  2. Performance
  3. Maintainability
  4. Operational
  1. A system ………………………… distinguishes between the internal and external components of a system
  1. Boundaries
  2. Interface
  3. Use cases
  4. Actors
  1. Which diagram demonstrated who does what in a system?

a.Activity

b.Use case

c.Class

d.Object

  1. ……..………………. illustrates that an instance of the more specific element can be used in place of the more general element.

a.Generalization

b.Specialization

c.Substitutability

  1. The exclude stereotype is related to which part of the use case?

a.Pre-condition

b.Post-condition

c.Main success scenarios

d.Alternative scenarios

  1. ……………………. Causes transitions in an activity diagram

a.Synchronization bar

b.Event

c.Completion of an activity

d.Guard

  1. In a car rental company, “renting a car” is one of the ……………of the business:

a. Constraintsb. Rulesc. domainsd. Processes

  1. A ………… is an association, in which both of its ends terminate on the same class.

a. link b. qualified association c. recursive association d. derived association

………

…………

…..

Part Two: [15 marks]

Answer the following short Questions (5 Questions) [3 mark each]

  1. What is a legacy system?

Legacy systems are characterized by being:
-Large
-Critical to the business;
-Have been changed a number of times since their inception;
-Difficult to understand because of either a lack of documentation about their
-Difficult to maintain because of the above factors
  1. Explain the relation between partitioning and projection

We divide large problems into a number of mutually independent sub problems known as partitions. These partitions usually slightly overlap in the sense that they are related to each other using common elements. This is called partitioning.

  1. ---
  2. ---
  3. ---

Part Three: [30 marks]

Answer the following Questions (2 Questions)

Question One: [10 marks]:

(i)[10 marks]

Assume that a university allows its students to do online quizzes, draw an activity diagram for this process if you know that:

  1. The student should sign in with a special password before doing the quiz
  2. The quiz has 2 parts, and the student could solve any part before the other
  3. When the student finishes the 2 parts, he/she should press the submit button
  4. If a student fails on the quiz, he/she could solve a bonus question to help him/her

.

Question2 [20 marks]

(i)
[10 marks]

Use the class diagram in figure above to answer the following questions:

(a)How many classes are there? Nominate them. 5 classes: Club; Member; AssociateMember; PlayingMember; Team

(b)What kinds of relationship between classes are there?

  • Is-a relationship between Member and AssociateMember, PlayingMember
  • Has-a relationship between Club and Member; Between PlayingMember and Team; between Team and Member.

(c)How will you update the diagram to reflect the fact that a member could not be both the coach and the captain for a particular Team. Constraint in Team class:

self.captain > self.coach

(d)Use your English language to interpret the association between Club-Member; Member-AssociateMember and PalyingMember.

Club-Member: each club has zero or more members. And each member could join at most one club.

Member-its cubclasses: A member could be an associate member or a playing member.

(i)[10 marks]

Use a given scenario to answer the questions:

1-Determine the actors and the use cases of the system.

2-Draw a use case diagram.