0% found this document useful (0 votes)
14 views2 pages

Ca Oom - Uml Uijp-Ii

this is a CA for level2 software engineering students

Uploaded by

Tony
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views2 pages

Ca Oom - Uml Uijp-Ii

this is a CA for level2 software engineering students

Uploaded by

Tony
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

JOHN-PAUL II INTERNATIONAL UNIVERSITY

HIGHER INSTITUTE OF BAFANG


DEPARTMENT OF COMPUTER ENGINEERING
Object Oriented Modelling (OOM) - UML
Continuous Assessment (30 marks)
Time allowed: 2 hours
Section A

1.What does UML stand for? C) A stick figure


D) A diamond
A) Unified Modeling Language
B) Universal Modeling Language
5. What relationship does the "<<include>>"
C) Uniform Modeling Language
notation signify in use case diagrams?
D) Unified Meta Language
A) A use case must be executed
independently
2. Which of the following is NOT one of the
B) A use case is a specialized version of
main types of UML diagrams?
another use case
A) Structural diagrams
C) A common portion of multiple use
B) Behavioral diagrams
cases is included in another use case
C) Temporal diagrams
D) A use case can optionally extend
D) Interaction diagrams
another use case
3. What is the primary purpose of a use
6. Which of the following best describes
case diagram?
aggregation in UML?
A) To show the internal structure of the
A) A strong relationship where the
system
lifetime of the contained object depends on
B) To model the dynamic behavior of the
the container
system
B) A relationship where one object is part
C) To represent interactions between
of another, but both can exist
actors and the system
independently
D) To define the relationships between
C) A relationship where one object cannot
classes
exist without the other
D) A relationship that indicates a
4. In UML, which symbol represents an
sequence of interactions
actor?
A) A rectangle
B) An ellipse
7. What does a sequence diagram primarily 9. What does multiplicity in UML class
show? diagrams indicate?
A) The static structure of the system A) The type of relationships between
B) The interactions between objects in a classes
time-ordered sequence B) The visibility of attributes and methods
C) The relationships between classes C) The number of instances of one class
D) The components of the system that can be associated with instances of
another class
8. In a class diagram, what does the bottom D) The inheritance hierarchy of classes
compartment of a class box typically
contain? 10. Which diagram would you use to model
A) The class name the flow of control in a system?
B) The attributes of the class A) Use case diagram
C) The methods of the class B) Sequence diagram
D) The relationships of the class C) Class diagram
D) Activity diagram

Section B (20 marks)

1) A library system is used by Students and Faculty. The Library contains Books and Journals.
Books can be issued to both the Students and Faculty. Journals can only be issued to the Faculty.
Books and journals can only be issued by the Librarian. The deputy-Librarian is in charge of
receiving the Returned Books and Journals. The accountant is responsible for receiving the fine
for over-due books. Fine is charged only to students and not to the Faculty.
a) Identify the Actors in the systems and their use case (5 marks)
b) Draw a Use case Diagram (5marks)

2) A company consists of Departments. Departments are located in one or more offices. One office
act as headquarter. Each department has a manager who is recruited from the set of employees.
Draw a class diagram which consist of all classes in the system, their attributes, relationships and
cardinalities. (10 marks)

You might also like