Professional Documents
Culture Documents
Dormitory Management System Final
Dormitory Management System Final
DORMITORY
MANAGEMENT SYSTEM
GROUP MEMBERS ID NUMBER
MTU-DMS 1
CHAPTER ONE
1. Introduction
Technology is spreading its wing in almost every walks of human life activities. Now a day
it is better if every activity is done using new technology in order to fulfill the need of human
being, Organization, Enterprise etc. As today’s world there are many organizations and each
organizations needs to be preferable, computable and work on fastest way in order to satisfy
users interest etc. i.e. they should have facilitate their activities in computerized way.
Many developing countries are in a good position to exploit the opportunity of
technology revolution and advance human development. The information and communication
technology provide new resource materials for expanding communication.
In fact the second half of 20th century has wittiness the global phenomena of an
information explosion. The development in communication technology has made it possible for
millions of people to have fast access to vast information presented in several forms. Today
computer and other electronic device increasingly communicate and interact directly with other
devices over a variety of network such as internet. The internet provides individuals and small
business centers for the ability to communicate inexpensively.
Hence, developing the system using technology has a tremendous effect for organizations
and offices; which is in our case the Mizan-Tepi University Online dormitory management
system (MTUODMS). Currently, the system ismanual based; due to this the students and
proctors faces some problems Because of this, we are initiating to develop our project on
dormitory system in order to minimize the problem by using computerized system.
1.1Organizational background
Mizan-Tepi University is one of the Universities in Ethiopia which is found in south- west
region. It is located at Mizan-Teferi, where the main campus is, and Tepi town 565kms &
578kms respectively at southwest of Addis Ababa, in the deep and unique natural and
campuses. The enormous potentialities and gifted natural resources of the southwest, those
MTU-DMS 2
exist in and around Mizan & Tepi towns offers among other things, a huge opportunity to
The University started teaching and learning in 2006 by sharing building for University
administration offices from Mizan Agriculture technical and vocational college by admitting
few regular students in college of social science and humanities at Mizan Campus. By the
time the university started its operation, there were only 215 students attending their first
degree classes. Among this number of students, for the first time, 138 students had
graduated colorfully in July 2008/09.In the past eight years, the university has shown a
significant change in increasing the students’ enrollment to 6709 in regular program and
3684 students in continuing and summer programs. The attractiveness of the building that is
commensurate with wonderful natural resources made the university paradise and due to this
it is highly comfortable for teaching and learning process. As the university is located at the
south western part of the country, where different nations, nationalities and people are living
together peacefully by respecting each other, thus, realizing what we call peaceful co-
existence.
Vision
Mizan-Tepi University aspires to be the leading higher educational institution being center
of excellence in education and research in areas of natural resources and cultural value
Mission
Mizan-Tepi University has a mission of supporting the development endeavors of the people
by tackling the insistent problems by utilizing natural resources and cultural values, through
MTU-DMS 3
inculcating scientific knowledge and skills relevant to the country and assuring quality
education.
Core Values Pursuit of truth and freedom of expression of truth; Institutional reputability
and rule of law; Justice and fairness; A culture of fighting corruption; Quality and speedy
In the University there are different management activities were performed. Among those the
main service which provides the university to the student is Students’ Dormitory Management
can be taken as an example. In this process there is a problem associated with the Dormitory
Management. So we the project team members were initiated for this project to identify and
analyze those problems and to put possible solutions.
MTU-DMS 4
1.3Objective of the project
1.3.1General Objectives
The main objective of this project is to develop a new Web Based Dormitory Management
System which solves the above mentioned problems with the existing system. This is achieved
by designing a web based application program that will change the actual manual processing into
a computerized environment.
1.3.2Specific Objectives
In order to achieve the main objective, we have the following specific objectives:
Developing user friendly interface.
To keep the overall records associated with the dormitory and student information in a
permanent database.
To minimize the work load of the employees(proctors).
To assign the dorm to the students without any fault.
MTU-DMS 5
Students: the students can view their dormitory information easily and timely.
Proctors and other administrative officials: they can access dormitory and related
information easily.
University: the university gets better audience.
MTU-DMS 6
1.7.1 Operational Feasibility
The system to be developed will provide accurate, active, secured service and decreases labor of
workers and also it is not limited to particular groups or body. And also it is plat form
independent i.e. it run’s in all operating system.
MTU-DMS 7
= 75,000.00Birr
1.8Methodology
1.8.1 Fact finding techniques
The data collection instruments used to gather accurate information about the existing system
and the requirements for the new system. Interviews and questionnaires were administered to
Stakeholders like Students, Proctors and Dormitory management officer to collect user
requirements. Observation of the current existing system was done at the Dormitory management
office in order to find out how the existing system functions, the problems encountered and how
they can be solved by the new computerized system.
To get a precise data, the team member has used the following data collection techniques.
Those are: -
MTU-DMS 8
A. Interview: - to get the basic information and background information about the existing
management system, the team members has interviewedtheproctorsand some students
about the services that are given to them, and the problems associated with that
environment.
B. Direct observation: even though interview is very important to gather information,
direct observation is simple and we project team members physically observe information
that cannot maintain from the interview or others and also it is important if they are
unable to communicate with others because of the difficulties they have to the language.
C. Questionnaires: since proctors as well as higher officials of proctors have work load
they cannot able to answer/give information what we ask. So we prepare some sample
questions to get précised information.
D. Existing document:Toget more information about the project we use earlier documents
that help us to develop the project. During the analysis of documents, we give a special
consideration to those documents which can bring more features to the project.
MTU-DMS 9
1.8.3 Tools used in the project
While developing the project starts from the documentation to the implementation we use the
following case tools:
Activities Tools
Documentation MS word 2007,2010
Design Rational Rose, Microsoft Visio 2007,Visual
paradigm for UML standard design
Editing Paint, Macro media flash
8,Adobe.Photoshop.CS4
Script languages PHP, JavaScript, CSS, HTML
Web server Apache Xamp server
Data base Server Mysql database
June 19-
Mar17-
June 20
Activities
20-
Nov 02-
Dec 25-
May 15
Nov 16
Dec 20
Feb 17
Apr 5
Apr 8-
Nov
Project Proposal
Requirement Analysis
Design
Implementation & Coding
Testing
project Defense
MTU-DMS 10
1.9.2Cost schedule
1.9.2.1 Hardware cost
MTU-DMS 11
1.10Project Team Organization
DebreBerhan University Online Dormitory Management System
MTU-DMS 12
CHAPTER TWO
DESCRIPTION OF THE EXISTING SYSTEM
2.1 Introduction
This chapter describes the existing system, players in the existing system general work flow of
MTU dormitory management. In addition to this the business rule is identified, report generated
in the existing system, alternative solutions suggested to overcome existing system, finally the
proposed system (functional and non-functional requirement).
MTU-DMS 13
Generating allocation report: based the dormitory allocation the allocation report is
prepared and posted for student when they arrive at the campus after annual break.
Managing and controlling dormitory materials: at the beginning and end of each year,
dormitory materials are recorded and controlled whether they are functioning properly or
not, then appropriate measure is taken.
Controlling student’s discipline: In addition to the above functionalities student’s
discipline measures are controlled and recorded, whether they use the dormitory materials
properly or not, and whether they act and perform things as per the dormitory rules and
regulations.
MTU-DMS 14
2.5Work flows in the existing system
To overcome or improve this manual (partial) operation the team comes up with a new
Dormitory Management System entitled MTUODMS. This new system is a Web based
application that enables the users to access the services given by the system through the Internet.
The proposed system operates in the following manner. Normally the student information
is taken from the registrar bureau. The registrar bureau have centralized database. Then the
student dormitory officers can access that database. After getting all the required information the
system will feedinto our back end database based on their year (batch), department, faculty and
sex. After doing this the system will generate the allocation report which contains dormitory
information like student’s name, id number, dorm number, and block number. This report will be
released online for the student so that they can access this information by entering
his/heridentification numberor registration number on the webpage provided by the system just
by sitting where ever they are.
MTU-DMS 15
2.7 Business Rules in the existing system
A business rule is effectively an operating principle or polices that must be fulfilled and
obligated in order the system will function properly and effectively. It often pertain to access
control issues, business calculations, or operating polices and principles of the organization
(Ambler, 2001).
BR1: Only one dorm is assigned for six students, and those students should live in the dorm
which belongs to him/her.
BR2:Students should not change their dorm without the permission of the proctor with sufficient
reason.
BR3:Students are allocated in such a way that male students are not allocated with female
students.
BR4:Proctors should not assign one student in more than one dorm.
BR5:Proctors should not use student’s personal information for other purposes.
BR6:Buildings should be arranged before the allocation.
BR7:After the allocation reports should be prepared by proctors for students’ i.e. for posting.
MTU-DMS 16
Fig 2.1 Student dormitory allocation form
MTU-DMS 17
2.9 Problems in the existing system
The manual (partial) dormitory management system is disposed to various problems.
These problems can be seen from the following perspectives like performance, information,
economic, control, efficiency and services given by the existing system to the users.
The performance of any system is required to show to meet the needs of users of that
system. The current system’s performance is weak. This is due to the following reasons: -
first the acceptable quantity rate is relatively high i.e. the time required from initiation to
completion of a particular task is relatively high. For example during arrangement of
buildings for the allocation it may take a week or more due to its manual operation. Second is
the acceptable response time for a particular task is large.
Information- the main input for the current system is student record and records of different
dormitory materials which enable the system to rearrange students and buildings for the
allocation. Based on this the system rearranges and allocates dorms for students at the
beginning each academic year and generates the allocation report which may be viewed by
the students as well as the management. The other data that is stored is record of materials
associated with the dormitory. The system manipulates and manages all of these and other
records manually on papers.
Controlling- since all the records associated with the manual system are recorded and
stored manually the security that the system provide for the privacy of this records is not
good. The system shouldn’t provide sufficient protection for access and manipulation of the
records associated with the system.
Services- the main users of the current system are students and the management itself. The
services given to users are not flexible, reliable and expandable i.e. the users must there in
the campus to get the services given by the system. Those services given by the system are
limited to a particular area.
MTU-DMS 18
2.10 Practices to be preserved from existing system
Even if the existing system is manual system as it has weakness it also has some strong side that
we need to be preserved are:
MTU-DMS 19
2.12.2 Non-functional requirement
i. User Interface
This works as an interface between the user and the system by properly guiding the user how
to use it and perform operations. Proctors can change the data in the MTUODMS based on their
privilege, whereas, students can only view their dorm information and they can give comment.
Any sort of training is not required for using the system. It is important that the system is easy to
learn. The input device is given to keyboard and the output is viewed on the monitor.
ii. Quality Issue
Information in database should be as much as possible correct and updated in each semester.
iii. Security Issue
This system provides an access to an authorized user by giving account for each and every
special function. Students can view their dorm information by using their identification card
number and/or registration number, and give comment without any validation.
iv. Error Handling
Our system handles the errors in a very efficient manner. It can tolerate to wrong inputs and
prompts the users to correct the inputs. It gives notifications as and when required, guiding the
users to properly utilize it.
v. Performance characteristic
Performance requirements are concerned with quantifiable attributes of the system such as
System should quickly respond for user request that is system must immediately display the
needed service along with their allocation details after he/she insert needed information to view.
MTU-DMS 20
CHAPTER THREE
ANALYSIS DELIVERABLES OF THE NEW SYSTEM
3.1 Introduction
As we mentioned in the above section, in this project, the team members used an object
oriented system development methodology which incorporates two principal phases. In this
chapter, what the team will do is the object oriented analysis (OOA).
Use case: describes a sequence of actions that provides something of measurable value to
an actor and is drawn as a horizontal ellipse.
System boundary: indicates the scope of the system project. Anything within the box
represent functionalities in side in scope.
System
MTU-DMS 21
3.2.1 Actor identification
In the use cases an actor interact with the system to perform a piece of meaningful work
that helps them to achieve a goal and has access to define their overall role in the system and the
scope of their action. Depending on the above explanation actors in this system are the
following:
Student: The students view his/ her dormitory information online and submit comment.
Proctor: The proctor can assign student and generate report.
Proctor manager: search, generate report and change password.
Administrator: The administrator manages the overall system.
MTU-DMS 22
Fig 3.1 Use case diagram for the proposed system
MTU-DMS 23
3.2.3 Use case Description
Use case name: Login
Use case Id: UC01
Description: To authenticate the user
Actor: Administrator, proctor manager, proctor and student.
Precondition: The user must be registered on the system
Flow of action:
Actor action
Step1: User wants to login
Step2: Select the login link
Step4: Fill user name and password
System response
Step3:The system displays the login form
Step5: Validate user name and password.
Step6:The system displays the appropriate page.
Step7: Use case ends.
Alternative course of action(If the username and password or student identification number is
incorrect)
The system displays incorrect user name and password message.
The system redirects to go step 4 i.e.to enter the username and password
Use case ends.
Post condition: The authenticated person gets the appropriate page.
MTU-DMS 24
Step1:The administrator log to his/her page.
Step2:The administrator click on User Account link.
Step4:The administrator click create account link.
Step6:The administrator fills the form and submits it.
System Response:
Step3:The system displays the option as create account and remove account.
Step5:The system displays the registration form.
Step5:The system displays succeed information as the account is created.
Step6: Use case ends.
Alternative course of action: (if the account is already exist)
The system display error message that user is already exist.
The system redirects to go to step 6.
Use case ends.
Post condition: the account will be created.
MTU-DMS 25
The system display error message and give a chance to retype.
Go to step 5
Use case ends.
Post condition: The user sends comment to the system.
MTU-DMS 26
Flow of action:
Actor action:
Step1:Proctor manager log to his/her page.
Step2:Proctor manager click on view comment link.
Step4: Proctor manager starts to view the comments.
System response:
Step3: The system reorders the comments according to the time of delivery
Step5:Use case ends
Post condition: The proctor manager views the submitted comments.
MTU-DMS 27
Use Case Name: Register Block
Use case Id: UC07
Description: The user can register blocks information (including proctors) into the data base
Flow of action:
Actor action:
Step1:The proctor manager log to his/her page.
Step2:The proctor manager selects the register block link.
Step4:The proctor manager fills the required fields.
System response
Step3: The system will display the registration form.
Step5: The system validates the input data.
Step6:The system displays the successful notification.
Step7:Use case ends.
Alternative course of action (the system validate the entered data if it is not correct)
The system displays incorrect entered data message.
The system redirects to go step 4i.e.to fill the data again.
Use case ends
Post condition: The block registered.
Actor: Proctor
Flow of action:
MTU-DMS 28
Actor action:
Step1:The proctor log to his/her page.
Step2:The proctor selects the register room link.
Step4: The proctor fills the required fields.
System response
Step3: The system will display the registration form.
Step5: The system validates the input data.
Step6: The system displays the successful notification.
Step7: Use case ends.
Post condition: The room registered.
Alternative course of action (the system validate the entered data is not correct)
The system displays incorrect entered data message.
The system redirects to go step 4i.e.to fill the data again.
Use case ends.
MTU-DMS 29
Go to step 3
Use case end
Post condition: The user gets the information.
MTU-DMS 30
Actor action:
Step1:The proctor must log to his/her page
Step2: The proctor select Allocate student link
Step4:The proctor selects and fills the required fields and clicks on save button.
System response:
Step3:The system displays the form with the options such as block no, room no.
Step5: The system validates the entered values.
Step6: Use case ends
Post condition: The Student will be assigned.
Alternative course of action: (the system verify information is not correctly)
The system displays error message as invalid value
Go to step4
In this project, there are five sub system decompositions. These are:
1. Assignation Subsystem
Assign Student
2. Report Subsystem
Assignation report
Block and Room report
Comment report
3. Comment and Information Subsystem
Give comment and Message of current issues (may be for the system).
MTU-DMS 31
View student dorm information
4. Fetch record
Fetch record from centralized database
5. User Account Subsystem
Create Account
Remove Account
Class diagram is static model that shows the classes and the relationships among classes that
remain constant over the time. Class is the main building block of class diagram, which stores
and manages information in the system. In the phase of conceptual class modeling we just create
or classes ad their interrelationship.
MTU-DMS 32
Fig 3.2Analysis level of Class Diagram
MTU-DMS 33
3.5 Sequence diagram
The sequence diagram is used primarily to show the interactions between objects in the
sequential order that those interactions occur. However, an organization's business staff can find
sequence diagrams useful to communicate how the business currently works by showing how
various business objects interact. Besides documenting an organization's current affairs, a
business-level sequence diagram can be used as a requirements document to communicate
requirements for a future system implementation. During the requirements phase of a project,
analysts can take use cases to the next level by providing a more formal level of refinement.
When that occurs, use cases are often refined into one or more sequence diagrams.
The main purpose of a sequence diagram is to define event sequences that result in some desired
outcome. The focus is less on messages themselves and more on the order in which messages
occur; nevertheless, most sequence diagrams will communicate what messages are sent between
a system's objects as well as the order in which they occur.
MTU-DMS 34
Sequence
Diagram For
Login Use Case Home Page Login Link Login Form Validator Database
: User
MTU-DMS 35
Sequence
Diagram for View
Dorm Use case View DormInfo View DormInfo Validator Database
: Student
Link Form
User(Student)
Action: 1.Select View Dorm link()
1.Select view
Dorm link.
3.Fill his or her 2.Display the form()
identification
number or
registration 3.Fill Student Id or Registration number()
number.
System
Response: 4.Submit()
2.The system 5.Validate()
displays the
form.
4.The system
6.Retype()
validate the
entered data. 7.Continue()
5.If the 8.Check()
identification or
registration
number is exist
display the dorm
information, if
not display 9.Display dorm information()
as"The number
is not exist".
MTU-DMS 36
Fig 3.5 Sequence diagram for Register block
MTU-DMS 37
Sequence
Diagram For Administrator User Account Create Account Create Account Controller Database
: Administrator
Create Account Page Link Form Link
Use case
1.Login to admin page()
User
(Administrator)
Action: 2.Select link()
1.User Login to 3.Select the link()
admin page.
2.Select user
account link. 4.Display the account form()
3.select create
account link. 5.Fill the form()
5.Fill the account
form
System Response: 6.Create Account()
4.Display the 7.Validate()
account form.
6.Validate the
entered data.
7.Display response 8.Try again()
9.Continue()
10.Check()
11.Display Response()
MTU-DMS 38
Sequence
Diagram For Administrator User Account Remove Account Remove Controller Database
Remove : Administrator
Page Link Link Account Form
Account Use
case
User 1.Login to admin page()
(Administrator)
Action: 2.Select link()
1.User Login to
admin page.
3.Select the link()
2.Select user
account link.
3.select remove 4.Display the account form()
account link.
5.Fill the account
form 5.Fill the form()
System Response:
4.Display the
account form. 6.Remove Account()
7.Validate()
6.Validate the
entered data.
7.Display response 8.Try again()
10.Check()
9.Continue()
11.Display Response()
MTU-DMS 39
Sequence
Diagram for AdminPage Search Link Search Form Search Database
search record : Administrator
Validator
1.Log to the page()
User(Proctor
Manager) 2.Select the link()
Action:
1.Log to the
proctor 3.Display the Search Form()
manager.
2.Select the 4.Fill the form()
link.
4.Fill the search
form. 5.Submit()
System 6.Validate()
Response:
3.Display the
search form.
5.Validate the 7.Try again()
input data.
6.If the input 8.Continue()
data is exist in 9.Check()
the database
diplay the result
if not Display as
Doesn't exist
10.Display Response()
MTU-DMS 40
Sequence
Diagram for Admin Update Update Update Database
: Administrator
Upda... Page Record Link Record Form Validator
11.Save Changes()
MTU-DMS 41
Sequence
View StudentInfo View Studentnfo Validator Database
Diagram for : Proctor, Proctor
Link Form
View Manager
StudentInfo
Use case 1.Select View Student Info link()
User(Proctor,
Proctor
Manager) 2.Display the form()
Action:
1.Select view
Student Info 3.Fill the required criteria()
link.
3.Fill all the
required fields
to view 4.Submit()
5.Validate()
System
Response:
2.The system
6.Retype()
displays the
7.Continue()
form.
4.The system 8.Check()
validates the
entered value.
5.If the input
value is corect 10.Display detail dorm information()
display the the
detailed
information if
not diplay error
message to
reenter
MTU-DMS 42
Proctor,
Proctor
Proctor,Proctor Report Link Report Form Validator Database
manager : Proctor,Proctor
Manager manager Page
Proctor, 1.Log to the page()
proctor
manager 2.Select report link()
Action:
1.Log to the
page.
2.select 3.Display report form()
report link
4.The user fill
the required 4.The user fill the required fields()
fields
System 5.Submit()
Response: 6.Validate()
3.Display
report form.
5.Validate the
input values 7.Try again()
6.If the input 8.Continue()
value correct 9.Check()
display the
response
unless display
error
10.Display Response()
message
MTU-DMS 43
3.6 Activity diagram
Activity diagram is another important diagram in UML to describe dynamic aspects of the
system. Activity diagram is basically a flow chart to represent the flow form one activity to
another activity. The activity can be described as an operation of the system. So the control flow
is drawn from one operation to another. This flow can be sequential, branched or concurrent.
Activity diagrams deals with all type of flow control by using different elements like fork, join
etc.
User(Administrator,Proctor Manager,Proctor)
Incorrect
MTU-DMS 44
Student
Enter ID
no/Registration no
No
MTU-DMS 45
Administrator
Select Search
Record Link
No
Display Searched
Yes
Found ? Information
MTU-DMS 46
Administrator
Select Update
Record Link
Invalid
Save Changes
Valid
Validate
MTU-DMS 47
Proctor,Proctor Manager
Log to the
page
Select the
report link
No
Yes Display
Found?
Response
MTU-DMS 48
CHAPTER FOUR
4.1 Introduction
System design is the transformation of the analysis model into a system design model. Up to now
we were in the problem domain. System design is the first part to get into the solution domain in
a software development. This chapter focuses on transforming the analysis model into the design
model that takes into account the non-functional requirements and constraints described in the
problem statement and requirement analysis sections discussed earlier.
The purpose of designing is to show the direction how the system is built and to obtain clear and
enough information needed to drive the actual implementation of the system. It is based on
understanding of the model the software built on. The objectives of design are to model the
system with high quality. Implementing of high quality system depend on the nature of design
created by the designer. If one wants to change to the system after it has been put in to operation
depends on the quality of the system design. So if the system is design effetely, it will be easy to
make changes to it.
The objectives of design are to model the system with high quality. The design goals are derived
from non-functional requirements that means non-functional requirement is the description of the
feature characteristics and attribute of the system as well as any constraints that may limit the
boundary of the proposed solution.
Design goals describe the qualities of the system that the developers should consider.
MTU-DMS 49
Security: MTUODMS system should be secured, i.e., not allow other users or unauthorized
users to access data that has no the right to access it.
Modifiability: MTUODMS system should be modifiable for further modification and
enhancement of the application.
Performance: - The system should respond fast with high throughput, i.e. it should perform
the task quickly possible as possible such as allocating students and proctors, viewing
student and dormitory information etc.
Cost: The system should be developed with minimum cost possible. In reality there is
always trade-offs or disadvantages and therefore from its previous experience the University
prefers to invest more on development cost than maintenance cost to minimize bugs which
may appear at the later stage.
End User Criteria: - The system should have simple and understandable graphical user
Interface such as forms and buttons, which have descriptive names. It should give reliable
response for each user request at least before the session expires. All the interfaces, forms
and buttons are written or designed in a simple language or common language so that the
user can access it without any difficult.
The class diagram is a static diagram. It represents the static view of an application. Class
diagram is not only used for visualizing, describing and documenting different aspects of a
system but also for constructing executable code of the software application.
The class diagram describes the attributes and operations of a class and also the constraints
imposed on the system. The classes diagrams are widely used in the modeling of object oriented
systems because they are the only UML diagrams which can be mapped directly with object
oriented languages.
The class diagram shows a collection of classes, interfaces, associations, collaborations and
constraints. It is also known as a structural diagram.
MTU-DMS 50
Fig 4.1 Class Diagram Design
MTU-DMS 51
4.3 Collaboration diagram
The UML Collaboration diagram is used to model how objects involved in a scenario interact,
with each object instantiating a particular class in the system. Objects are connected by links,
each link representing an instance of an association between the respective classes involved. The
link shows messages sent between the objects, and the type of message passed.
: User
9: Check()
8:Continue()
4: Fill The Username and Password() 6:
Validate()
MTU-DMS 52
1: Select the link()
Register Block
Link
Registration
4: Submit() Form
9: Display Response()
6: Try again()
5:Validate() 8:Check()
7: Continue()
Validator Database
MTU-DMS 53
1: Select View Dorm link()
View Dorm
Link
: Student
4:Submit()
5:Validate()
2: Display the form()
3: Validator
7:Continue()
Fill Student Id or Registration number() 8:Check()
6: Retype()
View Dorm Databas
Form e
9:Display dorm information()
MTU-DMS 54
1:Login to admin page() 2:Select link()
Administrator User Account
Page Link
: Administrator
4: 6: Create Account()
Display the account form()
Database
MTU-DMS 55
1: Login to admin page() 2:Select link()
Administrator User Account
Page Link
: Administrator
5:
Fill the form()
Remove Account
6: Remove Account() Link
Remove Account
Form
11:
Display Response()
8: Try again()
7:Validate() 10:Check()
9:Continue()
Controlle Databas
r e
MTU-DMS 56
1:Log to the page() 2: Select the link()
AdminPage Search
Link
: Administrator
5: Submit()
6:Validate()
3:Display the Search Form()
Search
Validator
Search Database
Form
10: Display Response()
MTU-DMS 57
1:Log to the page() 2: Select the link()
Admin Update Record
Page Link
: Administrator
5: Submit()
6:Validate()
3: Display update record form()
Update
4: Fill the update record form() Validator
8:Continue()
9:Check()
7: Try again()
11:Save Changes()
Update Record Database
Form
10:Try again()
MTU-DMS 58
1: Log to the page() 2:Select report link()
Proctor,Proctor Report
manager Page Link
: Proctor,Proctor
Manager
5:Submit()
6:Validate()
3: Display report form()
8:Continue()
9:Check()
7:Try again()
Report Database
Form
10: Display Response()
MTU-DMS 59
4.4 State chart diagram
A state chart diagram is a view of a state machine that models the changing behavior of a state.
State chart diagrams show the various states that an object goes through, as well as the events
that cause a transition from one state to another.
The common model elements that state chart diagrams contain are:
States
Start and end states
Transitions
A state represents a condition during the life of an object during which it satisfies some condition
or waits for some event. Start and end states represent the beginning or ending of a process.
MTU-DMS 60
Initial State
Idle State
Activate
Home
Page
Select
Login
Link
Fill
Login
Form
Incorrect
Verify Correct Confirm
Login
Display Appropriate
Page
Logout
Final state
MTU-DMS 61
initial State Idle
activate
Home
Page
select
View DormInfo
Link
fill
Search
form
Doesn't exist
Check exist Confirm
Search
Display Dorm
Information
final state
MTU-DMS 62
initial State
Idle
activate
Home
Page
Log to
the page
select
Register Block
fill
Registration
Form
Incorre ct
Validate Correct Confirm
Register
Display Successfull
message
final state
MTU-DMS 63
initial State Idle
activate
Home
Page
select
Select Report
Link
select
Select
Report Type
Displayed
final state
MTU-DMS 64
initial State
Idle
activate
Home
Page
select
Select
Comme nt Link
fill
Comme nt
Form
Incorrect
Validate Correct Confirm
Comme nt
Display Successfull
message
final state
MTU-DMS 65
4.5 Data base design
Database design is the process of producing a detailed data model of a database. This logical
data model contains all the needed logical and physical design choices and physical storage
parameters needed to generate a design in a Data Definition Language, which can then be used to
create a database. A fully attributed data model contains detailed attributes for each entity. The
term database design can be used to describe many different parts of the design of an overall
database system. Principally, and most correctly, it can be thought of as the logical design of the
base data structures used to store the data.
MTU-DMS 66
CHAPTER FIVE
5.1 Introduction
In this phase the overall procedures, activities and methods of execution during the
implementation phase of the project are included. This step takes much time when compared
with other steps of the project competence. The following subtopics are discussed in this phase.
These are component diagram, deployment diagram, and persistence diagram and user interface
prototype of the project. The source code or script of the project is included in the next part of
the project.
Component diagram is a special kind of diagram in UML. The purpose is also different from all
other diagrams discussed so far. It does not describe the functionality of the system but it
describes the components used to make those functionalities.
So from that point component diagrams are used to visualize the physical components in a
system. These components are libraries, packages, files etc.
Component diagrams can also be described as a static implementation view of a system. Static
implementation represents the organization of the components at a particular moment.
A single component diagram cannot represent the entire system but a collection of diagrams are
used to represent the whole.
MTU-DMS 67
Fig 5.1 Component Diagram
The Name Deployment itself describes the purpose of the diagram. Deployment diagrams are
used for describing the hardware components where software components are deployed.
Component diagrams and deployment diagrams are closely related.
Component diagrams are used to describe the components and deployment diagrams shows how
they are deployed in hardware.
UML is mainly designed to focus on software artifacts of a system. But these two diagrams are
special diagrams used to focus on software components and hardware components.
So most of the UML diagrams are used to handle logical components but deployment diagrams
are made to focus on hardware topology of a system. Deployment diagrams are used by the
system engineers.
MTU-DMS 68
Fig 5.2 Deployment Diagram
MTU-DMS 69
5.4 Persistence diagram
Persistence modeling is used to communicate the design of the database, usually the data base to
both the users and the developers. It is also used to describe the persistence data aspect of the
system. The following diagram indicates the persistence diagram of the system.
MTU-DMS 70
5.5 User Interface
In this system users will communicate with it through the following user interfaces.
I. Home Page: This form contains some links which lead it to the concerned page, and if the
user has an account he/she will directly go to concerned page by entering their username and
password. In case for the students the system requires ID no.
II. Log In form:-this form found immediately following the home page. Home page appears as
the site on which the system is deployed is opened. Only proctor and proctor manager will
have their own password. Those forms appeared using password and user name will not
accessible by other persons except for those who have privilege.
III. View Dorm: This is view dorm page in this page the student he/she can view their dorm by
entering their Identification card or their registration number
IV. Create Account: this is creating account page in this page the administrator create accounts
for the user (proctor, proctor manager).
V. Assign Dorm:This is student assign page in this page after the proctor login into the login
page then after the proctor assign students accordingly assign the dorm.
MTU-DMS 71
CHAPTER SIX
PROTOTYPE DEVELOPMENT
The physical design specification created by the designers is turned in to working computer code
by the programmer using Php, HTML, Java script and Css.
<?php
if (isset($_POST['submitlogin'])){
$username=$_POST['username'];
$password=$_POST['password'];
$result = mysql_query($sql);
$rowCheck = mysql_num_rows($result);
$row=mysql_fetch_array($result);
$status=$row['status'];
if($row['level']==1){
if($status==1)
{$_SESSION['user_id']=$row['user_id'];
}else if($row['level']==2){
if($status==1)
$_SESSION['user_id']=$row['user_id'];
else
echo' <p align="center"><font color="red" size="2"><img src="img/error.png"> Your
Account is not active Please contact the system Admin </font></p>';
$_SESSION['user_id']=$row['user_id'];
}else{
else if($row['level']==3){
if($status==1){
$_SESSION['user_id']=$row['user_id'];
}else {
}}else {
echo'<br>';
mysql_close($conn);
?>
MTU-DMS 73
Sample code for View Dorm:
<?php
if (isset($_POST['submitlogin'])){
$idno=$_POST['idno'];
$rowCheck = mysql_num_rows($view);
if($rowCheck<1)
else
{while($row = mysql_fetch_array($view))
{$fname=$row['fname'];
$lname=$row['lname'];
$dorm=$row['roomno'];
$block=$row['block_no'];
echo"</font></table>";
?>
MTU-DMS 74
Sample code for Assign Student:
<?php
if(isset($_POST['save']))
$block=$_POST['block'];
$dorm=$_POST['nodorm'];
$sex=$_POST['sex'];
$batch=$_POST['batch'];
$fac=$_POST['faculty'];
$aa="it";
$sum=0;
for($i=1;$i<=$dorm;$i++)
for($j=$sum; $j<=$sum+9;$j++)
$f=$j+1;
$result = mysql_query("SELECT * FROM registrar where sex='$sex' AND batch='$batch' AND faculty='$fac'
AND no='$f'");
while($row = mysql_fetch_array($result))
$r1=$row[1];
$r2=$row[2];
$r3=$row[3];
$r4=$row[4];
MTU-DMS 75
$sql=mysql_query("INSERT INTO students
(fname,lname,stud_id,sex,batch,faculty,department,block,dorm)
VALUES
('$r1','$r2','$r3','$r4','$_POST[batch]','$_POST[faculty]','$aa','$_POST[block]','$i')");
}}
$sum=$sum+9;
if (!$sql)
else
mysql_close($conn);
?>
MTU-DMS 76
CHAPTER SEVEN
7.2 Recommendation
While doing this system the team members has faced different challenges. But by the
cooperation of all the group members and the advisor the team is now able to reach to the final
result. I.e. all the group members strongly fight these challenge and take the turn to the front.
So now all the group members strongly recommend the department that for the coming students,
it has to provide them with better service than the present in better hard ware, guaranteed
software’s, giving orientations how to proceed, offering guest to provide them with more
experienced work, support morally, manually, forming good relation with students, giving
students description of each phases and so on. So that it will get what it expects from its students
and satisfy with them.
MTU-DMS 77
7.3 Appendix
References
To do the system starting from the requirement analysis to the implementation the team members
were used the following materials:
Books
Essentials of System analysis and design(in analysis and design phase)
Websites
www.tutorialspoint.com/index.html
www.w3schools.com/index.php
http://www.ibm.com/developerworks/rational/library/3101.html
MTU-DMS 78
MTU-DMS 79