Department of Computing Advanced Object Oriented Modeling COMP 30006 SPRING 2017 Individual Assignment
Department of Computing Advanced Object Oriented Modeling COMP 30006 SPRING 2017 Individual Assignment
1
Table of Contents
Introduction .......................................................................... Error! Bookmark not defined.
Task 2…………………………………………………………………………………
Use Case
Diagram…………………………………………………………………………….4
Use-case
description………………………………………………………………………..5
Task 3………………………………………………………………………………..
Use-case templet description 1 ............................................................................................5
Use-case templet description 2 ............................................................................................7
Task 4…………………………………………………………………………………..
Class Diagram ……………………………………………………………………………8
Class Diagram
Description…………………………………………………………………..9
Task 5………………………………………………………………………………….
Sequence Diagram .............................................................................................................10
Sequence Diagram
Description…………………………………………………………….11
Task 6……………………………………………………………………………….
OO Method .........................................................................................................12,13,14,15
Conclusion…………………………………………………………………………16
References……………………………………………………………………….. Error!
Bookmark not defined.
2
Introduction:
In this assignment, I will use my knowledge and understanding to design use case
diagrams, class diagrams and sequence diagrams by using StarUML to design this
diagrams. For Muscat University Examination System. I need 2 weeks to do this
assignment. This assignment is dived into 5 tasks the first task is to do work proposal.
The second task is to design use case diagram, the third task is to create use-case
description for any two of use case. The fourth task is for design class diagram, the fifth
task is for design sequence diagram the last task is to identify OO methods that related to
the scenario. The tools that I will be used during this assignment, I use my laptop which
is a basic tool. Also, I use a Microsoft Word, And Star UML program.
3
4
Task 2: Use case diagram
System
<<include>>
Get results
record proof
Invigilators
Student
pass the assessments associated
check proof
sent list of their nearest venues
<<include>>
<<include>>
<<include>>
register pick the attend
<<include>>
check scripts number-Student
5
Use case description:
A use case diagram is defined and it described what happened in the system. In the use
case diagram, I will explain the system for Muscat University for examination how it
works and also I will show the relation between the operations and actor.
There are various actors in the system:
Task 3:
6
Use-case templet description 1
Stakeholders and Interests: This use case is for register for examination Use Case
Type:
So the student can register to do exam.
External detail
Brief Description: This uses case begins when the student register he
should bring proof to do exam.
7
Use case Name: Apply for mitigation ID: 3A40
High
Stakeholders and Interests: This use case is for apply for mitigation So that Use Case
they can attend the next iteration of the examination, without financial penalty. Type:
External
detail
Brief Description: This uses case starts if the student not attend the exam.
And he Want to Upload Medical Certificate in the system.
8
budget script
1
Course
*
+Course id: String Invigilators -
Modules +CourseName: String
Examination *
+courseTime: Inteeger +id: String
+Module Code: String 1 +name: character
+Id: String * +Fees: Flate
+Modul name: String +email: String
+Exam Date: date 0..1 +modul time: int
+Exam time: Inteeger 1 +View Course()
+remove course() +check proof()
+Course code: String +registe modul()
+create course() +send scripts()
+fees: flate +get time()
* +Invigilators student()
+get exam()
+prepare exam paper()
+check copies() * 1
+show reuslt()
have attend
1..*
* check prof
Proof
1..* 1
+ID: string
Student-
assessment 1 +Date: date
* bring proof
+Name: character
+Ass_Id: String * +get proof()
+Id: String
+Module name: String HAVE +check proof()
+Email: String
+grade: flate +bring proof()
1 1 -get ruslt()
+get assessment() +register()
+do exam() +confirmed pick the attend() 1
register for exam
+pass the assessments() *
1
apply for mitigation
Register
* +Student id: String
+Student Name: Character
+Exam code: String
mitigation
+get student name()
+get student id()
+get exame code()
SiCK
9
The class diagram is easier than it looks. These are simple diagrams that describe the
structure of the system by modeling classes operations, attributes, and the relationships
between the objects.
In this scenario, there are 12 classes. Each class has several attributes and operations. The
class that I founded it show did below the diagram. There are different relationships
between classes to communicate with them:
10
Sequence diagrams model object collaboration based on time series.
The administration officer enter to the system he have to book venues for the student to enter the
exam the student send list of venue and the Administration Officer will pick wich one will
attended ounce’s the confirmed the administration officer will make booking and allocate how
many people(invigilators ) required for the examination? Then the system will send the email to
invigilator about the class room.
: Administration Officer
4 : login successful()
5 : confirmed booking()
7 : Booking venues()
11
Actor System Response
Administration Officer System open home page(login
Enter to the system by using his user successfully)
name and password.
Student send list of their nearest venues Pick which one they will attend.
Task 6: OO Method
12
The OO method that I have choosing is (Use case driven) for many reasons which
including: is the primary modeling tools that define the behavior of the system. In the use
case, which explains how users interact with the system and perform operations and
Activity information like making a reservation and searching for Information. The use
case is inherently simple. Because it only focus business processes at the same time so
when you developing models it will be much easier. A use case is a function in the
system that brings valuable results to users Use case capture the functional requirements
I chose this method because it perfectly fits with Muscat University for examination
system. It also has wide compatibility with each other. The use case is inherently simple.
Because its focus on business processes only at one time
Use cases are very suitable for a variety of reasons, such as requirements capture,
analysis, design, and implementation for several reasons.
It means creating a user manual first then writing code. This practice is tailored to
the needs of the user, not the user who enhances the basic concepts required by
the system.
13
How does the use case drive the process?
• Acquire requirements
• Requirement process goals
• Use case is a requirement deliverable
A. Used by customer
B. Used by developers
Also, use case provide input for
• Search and specify classes, subsystems, and interfaces
• Search and designate test cases
• Plan development iterations and system integration.
14
Requirements Driven Flow-Down
15
Use-Case Driven Flow-Down
16
Conclusion
At the end when doing this assignment I learn many things I learn how to draw class, use
case, and sequence Diagrams and I learn the different between the relationships: include,
extends, aggregation, association and Generalization also I know what the different
between OO method. And how to Identify OO Method.
References
informit. 2017. Use Case Driven. [ONLINE] Available at:
http://www.informit.com/articles/article.aspx?p=24671&seqNum=4. [Accessed 18 May
2017].
acm. 2017. Why use case driven approach?. [ONLINE] Available
at: http://dl.acm.org/citation.cfm?id=1354041. [Accessed 18 May 2017].
slideshare. 2017. A use case-driven iterative method. [ONLINE] Available
at: https://pt.slideshare.net/MarshallXMa/esip-s2013x-magcissessionv1. [Accessed 20
May 2017].
slideshare. 2017. Unified Process. [ONLINE] Available
at: https://pt.slideshare.net/MarshallXMa/esip-s2013x-magcissessionv1. [Accessed 20
May 2017].
slideshare. 2017. Unified Process. [ONLINE] Available
at: https://pt.slideshare.net/MarshallXMa/esip-s2013x-magcissessionv1. [Accessed 20
May 2017].
slideshare. 2017. Unified Process. [ONLINE] Available
at: https://pt.slideshare.net/MarshallXMa/esip-s2013x-magcissessionv1. [Accessed 20
May 2017].
17