You are on page 1of 69

COLLEGE OF NATURAL AND COMPUTATIONAL SCIENCE

DEPARTEMENT OF COMPUTER SCIENCE

Project Proposal for : Online Examination System

Submitted to Department of Computer Science, in Partial fulfillment for the


requirement of the Degree of Bachelor Science in Computer Science.

_______________________

Prepared by Id No

1. Bereket Elias……………………….....0110
2.Molla Birlie……………………............0129
3.Dhaba Birhanu………………………….0117
4.Zerfie Asfaw………………………......0143
5.Adisse Kasahun……………………......0103

May 2013

Debark, Ethiopia
Advisors’ Name Signature Date
1. ________________________________ _________ _______
2. ________________________________ _________ ________

APPROVED BY
Examining Board Signature Date

1.________________________________ _________ _______

2.________________________________ _________ _______

3.________________________________ __________ _______

Debark University-Computer Science iv


List of Table
Table 1-1 Team composition of the project...........................................................................................9
Table 1-2 Cost Estimation...................................................................................................................12
Table 1-3 Software tool's.....................................................................................................................15
Table 2-1 Table that shows detailed descriptions of major User Interfaces.........................................24
Table 3-1 The scenario or use case description of the Manage Account use case................................27
Table 3-2 The scenario or use case description of the Manage Institute use case................................28
Table 3-3 The scenario or use case description of the Manage Department use case..........................29
Table 3-4 The scenario or use case description of the Manage Course use case..................................30
Table 3-5 The scenario or use case description of the Manage User use case.....................................31
Table 3-6 The scenario or use case description of the Check_Question use case................................32
Table 3-7 The scenario or use case description of the Login use case.................................................33
Table 3-8 The scenario or use case description of the Manage Question use case...............................34
Table 3-9 The scenario or use case description of the Read_Question use case..................................35
Table 3-10 The scenario or use case description of the See Result use case........................................36
Table 3-11 The scenario or use case description of the Submit Answer use case................................37
Table 3-12 The scenario or use case description of the Change Pass use case.....................................38

Debark University-Computer Science v


List of figures
Figure 1-1 The diagram of project schedule by Gantt chart.................................................................16
Figure 2-1 User interface for online examination system....................................................................23
Figure 3-1 user interface of online examination system......................................................................26
Figure 3-2 The sequence diagram of login in the system.....................................................................39
Figure 3-3 The sequence diagram of Manage Account in the system..................................................40
Figure 3-4 The sequence diagram of Manage Institute in the system..................................................40
Figure 3-5 The sequence diagram of Manage Department in the system.............................................41
Figure 3-6 The sequence diagram of Manage User in the system.......................................................41
Figure 3-7 The sequence diagram of Manage Course in the system....................................................42
Figure 3-8 The sequence diagram of Mange Question and Check Question in the system..................42
Figure 3-9 The sequence diagram of Take Exam in the system..........................................................43
Figure 3-10 The sequence diagram of See Result in the system..........................................................43
Figure 3-11 Activity diagram that shows activities of the Instructor...................................................44
Figure 3-12 Activity diagram that shows activities of the Instructor...................................................45
Figure3-13 Activity diagram that shows activities of the Student.......................................................46
Figure 3-14 Activity diagram that shows activities of the Exam Committee.......................................47
Figure 5-1 Login to the System Testing (Null value)..........................................................................68
Figure 5-2 Error message when to be entered to the system is not filled.............................................68
Figure 5-3 Success message for user adding deleting and updating done correctly.............................69
Figure 5-4 Error message when required data is missed......................................................................69
Figure 5-5 success message while managing faculty, department and course.....................................70

Abstract

Debark University-Computer Science vi


Online Exam System for Debark University is a system that designed and developed for
students and lecturers. The system helps students to take examination online. It helps also
lecturers to upload the questions and answers in the database and they can see the students
who fail or pass the exam. The software is developed using PHP(Hypertext Preprocessor)
programming language and MySQL database. In the software we can register as a user and
users are of two categories which are Teacher and Student. Before using the system both
users need to register and after that they must login with their username and password in
order to enter the system. The online examination system for Debark University is constituted
of different components for instance login function, insertion of data in the database,
extraction of data from the database. The problem with the current system is that students
take their exam manually. This outdated system will take long time utilization; the manual
procedure used for conducting exam is time consuming process. More time being used for
lecturers to bring the questions papers and answer sheets and also more time is needed for
students in order to write their exam.

Debark University-Computer Science vii


Debark University Online Examination System 2013

1 Chapter One

Introduction
Examination is a test not just for the person who gives the exams but also a big test for the
management and teacher who arranges the exams. The traditional method of exams involves
the paperwork, then checking the papers, arranging the marks and then finally feeding the
results in computer for printing the reports. Online Examination System removes most the
drawback that was in the traditional method. The exams is online so user can take the exams
from anywhere around the world. Also the exams results can be calculated automatically just
at the end of exams. It also minimizes the error in calculating results which humans do most
of the time. Also the most important benefit of making exams online is the data is saved in a
structured format which can be used for detail report to make reports, charts and presentation
over a period of time.

Today Online Examination System has become a fast growing examination method because
of its speed and accuracy. It is also needed less manpower to execute the examination. Most
educational organizations now-a-days, are conducting their objective exams by online
examination system, it saves students time in examinations. Organizations can also easily
check the performance of the student that they give in an examination. As a result of this,
organizations are releasing results in less time. It also helps the environment by saving paper.

1.1 Background of the project

Debark University is one of the 45 public higher educational institutions in Ethiopia. It


located in the northern part of Ethiopia in Amhara Region about 810Km north of Addis
Ababa. Debark University, which is among the 11fourth generation universities , was
established in 2007 EC. This University began its regular work in 2010 E.C by enrolling
1560 students in 23 departments under 4 Colleges.

These are: College of natural and Computational Science, College of Social Science, College
of Agriculture and environmental science, and College of Business and Economics.
Currently, the University had 249 academic staff, and about 1473 administrative staff and
4500 students.

The existing examination system in the University is paper based, time consuming, less
flexible. Information technology enables institution of high learning to save time and money,
and allow the delivery of education with easiness, anywhere, and anytime.

Debark University-Computer Science Page 8


Debark University Online Examination System 2013

1.2 Team Composition

Project Title Online Examination System


Prepared By 1.Bereket Elias
2.Molla Birlie
3.Dhaba Birhanu
4.Zerfie Asfaw
5.Adisse Kasahun
Date 17/09/2013 E.C.
Advisor Instructor Shimels (BSc)
Table 1-1 Team composition of the project

1.3 Statement of the problem

Debark University, as a higher education institute performs examination process that


instructors give the exam papers to students manually. As a starting point for problem
definition, we tried to see how the examination process was involved in the University. We
have also tried to get some information by having a short discussion with some instructors
and other staffs as well as students.
We recognized that there are many problems in terms of examination giving process with
required quality in the university. Generally, we have noticed the following problems.

 There is high cost to buy copy machines, printers, papers for hard copy as well
as payment for duplicators and invigilators.
 High human power wastage.
 Wastage of time to print and to wait for copying in duplicate office.
 It is wastage of time for instructors while correcting exam papers and giving
result back.
 Some pages of exam paper may be jumped by error while duplicating.
 The result of students may be lost.
These problems will be solved by Online Examination System (OES) for Debark University
project by changing manual examination giving process into online examination system.

1.4 Objective of the Project


1.4.1 General Objective

The general objectives of this project is to develop and implement a web-based online
examination system for Debark University, then can be accessed by students as well as by

Debark University-Computer Science Page 9


Debark University Online Examination System 2013
instructors. It helps to use time and other resources effectively and efficiently on examination
giving process.

1.4.2 Specific Objectives

The specific objectives of Online Examination System for Debark University project is:

 To make the process time and cost effective and efficient.


 Time minimizing
 Cost (resource) minimizing
 To enable student to use their time properly while taking exam (timer will start
automatically and show the student how much time is left).
 To solve problems of students forgetting to write their name and ID on the exam
paper.
 To enable the students to get exam result from the system as soon as they finish
exam.
 To provide an interface through which student can appear for examination online.
 To enable instructor save their time while correcting exam paper.
 To increase security of the examination system through authentication.

1.5 Feasibility of the Project

1.5.1 Economic feasibility

The newly developed system will provide many benefits to the University, especially
for the instructors and students. The newly being developed system will improves the
examination speed, and saves resources.

1.5.1.1 Benefits
A. Tangible benefits

 There is no cost for copy machines, printers and papers on examination


preparation.
 Problem that was occurring on exam paper correction is strictly avoided.
 There is no time wasted by instructors as previously wasted on correcting
and rechecking.
 There is no cost wastage for duplicators, invigilators and coordinators.

Debark University-Computer Science Page 10


Debark University Online Examination System 2013
B. Intangible benefits

 The University will be happy because there is no difficulties while


preparing examination and scheduling, and also, delivered from wastage of
money.
 The instructors will be happy because their time is saved by the
system.
 Student gets satisfaction and freely working space from the system.

1.5.1.2 Cost
A. One-time cost
 The cost to buy server computer.
 The cost to buy client computers and network connection
devices.
 The cost paid for system designers and system analysts.
 The cost of Software to be acquired to build and run the
system.
B. Recurring cost
 The cost to train students and instructors how to use the system.
 The cost to maintain computers if there is problem with
computers.
 Salary of system administrator to be hired to administer and
maintain the system.

1.5.1.2.1 Cost estimation


A. Infrastructure

Description Quantity Per Unit Cost Total Cost

1.computer 4 12,000 48000ETB

2. Internet Connection - 200 200 ETB

Total Infrastructure 48200ETB

.B. OTHER PROJECT COSTS

Description Quantity Per Unit Cost Total Cost

1.paper 1 dozen - 100ETB

Debark University-Computer Science Page 11


Debark University Online Examination System 2013
2.pen 1 dozen - 60ETB

3.USB flash 2(8GB) - 420ETB

Total Other Project Costs 580ETB

Contingency (10%) 4878ETB

TOTAL PROJECT ESTIMATED COST INCLUDING CONTINGENCY 52800ETB

Table 1-2 Cost Estimation

1.5.2 Technical feasibility


The proposed system is technically feasible. Because it can generate outputs in a
given time, response time is minimum, easy to communicate and generally it satisfies
the end-user’s requirement.
1.5.3 Operational feasibility
The proposed system OES is operationally feasible because it is simple to access and all
operations will be performed easily.

1.5.4 Schedule feasibility

The proposed system OES will be developed totally and begin to give services according to
the time given. Therefore, it is feasible in schedule.

1.6 Scope and significance of the Project


1.6.1 The scopes of the project are the following:

 OES (Online Examination System) will be developed for Debark University.


 The system handles all the operations, and generates reports as soon as the test is
finish, that includes name, mark, time spent to solve the exam.
 It can be used to solve many problems occurred in the university on examination
giving process.
 It can enable instructors to easily prepare exam papers and see the result of students.
 It enables students to take exam properly and get fair correction and result.

1.6.2 Significance of the Project

 Online Examination System is a computerized system which gives instant results and
also saves time.
 It fully automates the previous manual process of taking written exams.

Debark University-Computer Science Page 12


Debark University Online Examination System 2013
 It is implemented by web based online examination software or through Intranet
variance .It decreases the need of supervision during the exam is being examine or
taken using web based Online Examination System gives a high level of clarity as
opposite of traditional method. Most of Online Examination System gives the result
and instantly
 In high school, Online Examination
 System is able to reduce the workload of teachers by using automated test paper
exams and marking schemes.
 Students can study independently for example at home or any place.
 The amount of time given at a particular question gives you the ability of “Quick
Learning Quick Thinking“.
 The data in Online Examination System is regenerated repeatedly so that students
have access to new data

1.7 Target beneficiaries of the system

1.8 Methodology

1.8.1 Data collection methods

Having interview with the heads of some departments at Debark University, and other staffs
of the departments, as well as students, and observing in the around problems. We also,
referred related books, searched from an internet that is related to our project.

 Primary Source

Observation: direct observation is simple and the project group 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
or time limitations.
Interview: to get basic information about the existing system and the member has
interviewed different officials.

Debark University-Computer Science Page 13


Debark University Online Examination System 2013
 Secondary Source

Document analysis:-To get 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.

1.9 Development Tools

Software , hardware and programming tools are necessary for the development and
simulation of the project. The following tools are used to develop the proposed system:

1.9.1 Hardware Tools:

 Two or more client computers: -


 Operating System: Windows 7 or above, MAC.
 Processor: Pentium III or 2.0 GHz or higher.
 RAM: 4 GB or more
 Output device:
 Monitor –with highest resolution
 External storage devise:
 Flash disc 16 GB
 Compactable CD-ROM 700 MB
 External hard disc 300 GB

1.9.2 Software Tools:

SOFTWARE DESCRIPTION
WINDOWS 7,8,10 To run different programs
Wampp To run PHP code
Web browser To run PHP code
Edraw max To draw Gantt charts and diagrams
Microsoft office To prepare proposal and documentation
MYSQL server For designing the database
Notepad++ To write PHP source code
Table 1-3 Software tool's

1.9.3 Programming tools

Debark University-Computer Science Page 14


Debark University Online Examination System 2013
 Front End :- HTML, CSS, JavaScript

1. HTML (Hyper Text Markup Language) HTML is used to create and save web
document.

Example : Notepad++

2. CSS (Cascading style sheets) – used for creating attractive layout

3. JavaScript: is programming language commonly used with web browsers.

 Back End :- PHP ,MySQL

1. PHP (Hypertext Preprocessor) :- is a technology that allows software developers to


create dynamically generated web pages in HTML ,XML , or other document types
as per client request.

2. MySQL: It is a database widely used for accessing querying, updating and


managing data in database.

1.10 Limitations of the project

The Limitations of the project are the following:


 Only multiple choice, matching and true/false type of questions are automated,
subjective questions are checked manually.
 If the time is finished student cannot read the questions again and the answer
is automatically submitted and the result is displayed with the correct answer.
 It cannot work out of the campus since it is intranet based.

1.11 Project plan

1.11.1 Project time schedule

Project activity can be shown by pert chart or Gantt chart which is calendar-based, the
expected elapsed time, and when the activity is scheduled to begin and end. Our team is
working as the following project plan or schedule which is given by Gantt chart to develop
the proposed system OES. We used Gantt chart because it is simple to create and it is clear to
read or understand.
The following Gantt charts illustrates the start and finish dates of the terminal elements and
summary elements of project.

Debark University-Computer Science Page 15


Debark University Online Examination System 2013

Figure 1-1 The diagram of project schedule by Gantt chart

1.12 Conclusion

The current examination process is manual and it is cumbersome for universities and faculties
from many aspects. There are several problems associated with the manual examination
process such as time consuming, costly, enormous resources, lot of efforts and huge pressure
on instructors. This project is conducted to automate the examination process. This paper is
written to show the preliminary work that is completed prior to implementation. The online
examination system will be developed by using PHP, CSS, HTML, JAVASCRIPT and
MYSQL with the goal of meet the objectives of online examination system for which it has
been developed.

2 Chapter Two

Description of the Existing System

2.1 Introduction of Existing System

The whole process of assigning exam and evaluating scores of students after the exam, in the
University was done manually till date. Processing the exam paper i.e. checking and
distributing respective scores is used, and it is time consuming and loose of effort.
The major practices of examination process in the University are the following. The
instructor prepares the exam and brings to the Exam Committee of the department. The Exam

Debark University-Computer Science Page 16


Debark University Online Examination System 2013
Committee then checks the exam and approved it. The approved exam will be printed and
taken to the dean of college or institute for sign. Then the exam paper will be taken to
duplicate office.

The duplicator then duplicates the exam paper with ordered number of copies and keeps there
until 30 minutes left for exam time. The instructor takes the exam paper and gives to the
assigned invigilator(s).The invigilator distributes exam paper to students in the assigned exam
room, and student does the exam and submits to invigilator. The invigilators then gives the
exam papers back to the instructor. The instructor then corrects the exam paper and shows the
result to student.

2.2 Players in the existing system

The major players in the existing examination system of the University are instructors,
students, duplicators and exam committees. Their duties are described as follows.

I. Instructor:
 Prepares exam for the student on the course he is giving.
 Takes the exam paper to the Exam Committees.
 Takes exam paper which is approved by Exam Committee to the duplicate
office.
 Gives the exam paper from duplicate office to assigned invigilator(s).
 Takes the worked exam paper from invigilator(s) and corrects it.
 Finally, shows the result to students.

II. Student:
 Readies for exam.
 Arrives at class room assigned for that exam on the scheduled time and sit as
invigilator ordered.
 Writes his name and identity number (ID) on the exam paper.
 Read and write the answer on the space provided.
 Finally, Returns the exam paper to the invigilator(s).
III. Duplicator:
 Duplicates the exam papers given by instructors.

Debark University-Computer Science Page 17


Debark University Online Examination System 2013
 Give the duplicated exam papers to respective instructors.
IV. Exam committees:
 Check the exam prepared by respective instructors.
 Then gives back to the respective instructor.

2.3 Business rules

1. The student must be registered for each course he/she is going to take exam.
2. The student must attend the class for that course in order to take exam of that
course.
3. The instructor prepares the exam for the course he is giving.
4. The exam will be checked by exam committee and get approved.
5. The printed exam will be taken to duplication office and stay there until 30
minutes left for exam time.
6. Student will sit for exam as the invigilator assigned.
7. Any cheating on the exam leads the mark of student to zero or F grade.
8. The student must fill the attendance form for taking exam.
9. The instructor corrects student’s exam and show the result to the respective
student.

2.4 Alternative solution

The existing examination system in the University is paper based, time consuming, less
flexible. The chance of loss of records is high and also record searching is difficult.

Maintenance of the system is also very difficult and takes lot of time. Result Processing is
slow due to paper work and requirement of staff. To solve these problems they required a
computerized system, which is used as a core alternative solution to handle all the works.
This alternative solution is the system we are going to develop that will provide a working
environment that will be flexible and will provide ease of work and will reduce the time for
report generation and other paper works.

Debark University-Computer Science Page 18


Debark University Online Examination System 2013

2.5 Overview of the proposed system

The Online Examination System (OES) automates each and every activity of the manual
system and increases its throughput. It is created for taking online examination that has the
following features.

 In comparison to the present system, the response time of the system is


very less and it works very fast.
 Result will be very precise and accurate and will be declared in very short
span of time because calculation and evaluations are done by the system
itself.
 The proposed system is very secure since all users inter to the system by
their user accounts.
 The logs of appeared students and their marks are stored and can be for
backup for future use.
 The proposed system will reduce cost of examination process.
 It saves the instructors from time wasting while correcting exam papers
and they can get the results of their students from the system immediately.
 It can generate various reports when and where required.
In this system we used waterfall model to apply these ideas, which help us to separate each
step and when we finish a one phase the output of it is the input to the next phase.

2.6 Functional requirements

The user requirement for this system is to make the system fast, flexible, less prone to error,
reduce expenses and save the time. Using the online examination system the following
functional requirements are performed by each actors of the system.

2.6.1 Functional Requirements for Administrator

 The system administrator should be able to manage account of users,


colleges/institutes, departments, courses and exams by logging into the
system.
 The system administrator should be able to create schedule of the exam.

Debark University-Computer Science Page 19


Debark University Online Examination System 2013
 The system administrator should be able to correct subjective type of
questions manually.

2.6.2 Functional Requirements for Instructor

 Instructors should be able to manage questions by logging in to the system


by selecting institute/college, department and courses.
 The instructor should be able to see the result of all students.

2.6.3 Functional Requirements for Exam Committee

 The Exam committees should be able to check the exam prepared by


instructors and approve the exam.
 The Exam committees should be enabled to select the institute/college,
department and course belonging to.

2.6.4 Functional Requirements for Student

 Student should be able to take exam and submit answer to the system by
his own user account and password.
 The student should be able to see his/her own result that displayed by
system.
 The System should be able to show the schedule of the exam before the exam time.
 The system should be able to authenticate through login its users (Administrator, Exam
committee, Instructor and Student) by checking their information.
 The system should enable users to change their password.

2.7 Non-functional requirements

 Performance
 The system is very fast since it is automated.
 The software shall support use of multiple users at a time.
 It works very well with short response time, high throughput and
high availability.
 Error Handling
 The system must have error handling.

Debark University-Computer Science Page 20


Debark University Online Examination System 2013
 The system should display error message if the user input invalid
information.
 Security
 Authenticated user with predefined access right will only enter to the
information related to database.
 Every users should use strong passwords especially admin.
 One student cannot see the result of another student.
 HTTP must be secured by adding the security capabilities of SSL/TLS to
standard HTTP communications.
 Using SSL/TLS data flow between client and server will be encrypted.
 Availability
 There is no delay in the availability of any information, whatever needed, can
be captured very quickly and easily.
 The server should be always on to be available.
 Maintainability

 Backups for database and other sensitive information are available for
recovery if damage is happen.

 Second server should be used if one server failed

 Accessibility

 The system provides access right control for each of its user and every user
can access the data which belong to them.

 Accuracy
 The Online Examination System provides the uses a quick response with
very accurate information regarding the users etc. Any details or system in
an accurate manner, as and when required.
 Response in time

Debark University-Computer Science Page 21


Debark University Online Examination System 2013
 The system will let the all users (Administrator, Student, and Instructor) to
access the needed information more quickly. That means the response time of
the system is very low.
 User-Friendly
 The Online Examination System has a very user-friendly interface. Thus
the users will feel happy since it is easy to work on it. The software
provides accuracy along with a pleasant interface. Make the present
manual system more interactive, speedy and user friendly.

2.8 User Interface

2.8.1 User Interface introduction

Application will be accessed through a Browser Interface. The software would be fully
compatible with Microsoft Internet Explorer, Mozilla Firefox and Google Chrome. No user
would be able to access secured part of the application (such as exam page, result, account
settings etc.) without logging on to the system. The system should be accessed over LAN.
The OES is also user friendly that it is simple to be used by any users. The user interface of
this application is shown below.

Debark University-Computer Science Page 22


Debark University Online Examination System 2013
Manage Account
Home
Admin Manage Institute
Manage Department
Manage Course
Login Manage Question
Manage Users

Manage Question
Instructor See Result
Change Pass
Schedule
Read Question

Student Submit Answer


See Result
About Us
Change Pass

Check Exam
Exam_Committee
Change Pass
Help

Figure 2-2 User interface for online examination system

2.8.2 Detailed description of user interfaces

UI-ID UI Name UI Description


UI-1 Home Page User interface part where main page of the OES will be viewed
and link for related topics (websites).
UI- 2 Login Page It is a page which enables user of system log into system by
entering their user name and password.
UI-3 Schedule Page It is the page where the schedule of the exam will be displayed.
It does not need login information, everyone can use it.
UI-4 About Us Page It is the page that contains detailed information about the
website.
UI-5 Help Page The page that provide help information or guides for users when
they need help regarding to this system.
UI-6 Admin Page The system Admin Page is the page that enables the system

Debark University-Computer Science Page 23


Debark University Online Examination System 2013
Administrator to manage account (delete, add, and change the
user account for users of the system), manage
institutes/colleges, manage departments, and manage courses
manage questions and manage users.
UI-7 Instructor Page It is the page contains all activities that will be done by
instructor. Enables instructor to manage question (add
questions, edit questions, view questions), change password and
see result.
UI-8 Exam_Committe It is the page that provides access to Exam Committee in order
e Page to check the exam prepared by respective department and
change their password.
UI-9 Student Page This page is where student do every activities like taking exam,
submitting answers, seeing result and changing password.

Table 2-4 Table that shows detailed descriptions of major User Interfaces

2.9 Hardware/software requirement

2.9.1 Hardware requirements

 One server computer with :-


 500MB of RAM,
 2.97GHZ of Intel Pentium processor speed
 about 50GB hard disk size
 Category 5 UTP cable.
 Network Interface Card for each computer on the network
 8-ports switch(s).
 Two or more client computers: -
 Operating System: Windows 7 or above, MAC or UNIX.
 Processor: Pentium III or 2.0 GHz or higher.
 RAM: 256 Mb or more
 Output device:
 Monitor –with highest resolution
 External storage devise:

Debark University-Computer Science Page 24


Debark University Online Examination System 2013
 Flash disc 1-16 GB
 Compactable CD-ROM 700 MB
 External hard disc 300 GB

2.9.2 Software requirements

 UNIX OS:-This OS is installed on the server computer, by which can manage


client computers on the network.
 Windows 7 ultimate or later versions OS: - this operating system is installed
on the client computers enable to join the domain of the network.
 My SQL: - on which the records and all other data stored on.
 Driver software is also needed for the server and client.
 UML 2.0 designer (Visio):-to design and UML modeling the system
 Notepad ++ to edit PHP codes.

2.10 Security and safety procedure

Authorization:
 System Admin has authorized to give permission to all users.
 System Admin should give different level of access to users.
Authentication:
 Only registered user can enter to the system and access it.
 Every registered user has different and unique UserId.
Information Integrity: 
 Only System admin has right in the modification of the information.
 The system should use secured http (https) to keep information integrity.
 The user can only access the information that belongs to them only.

Debark University-Computer Science Page 25


Debark University Online Examination System 2013

3 Chapter Three

System Model Using OO Paradigm

3.1 Use case diagram

Use Case Diagram represents user requirements gathered during requirement elicitation,
contains use case, actors, system boundary and their relationships. Use Case diagram of our
system is shown as follows with respective description.

3.1.1 Diagram of Use Case of OES

Figure 3-3 user interface of online examination system

3.1.1.1 Use Case description OES (Scenario)


UC Name Manage Account

Debark University-Computer Science Page 26


Debark University Online Examination System 2013
UC Description Enables System Admin to manage account (create,
change, delete) of the Users of the System.
Actor Administrator
Precondition The users (instructors, students, Exam Committee) must
be the member of the University.
Flow of event 1.The administrator clicks Manage Account button on the
Admin page.
2.The system displays the Manage Account page.
3.The administrator chooses the action (create, change,
delete) to be performed.
4.The system displays the data entry page for respective
action.
5.The administrator enters the required information of
UCID-01

users of the system.


6.The system save account of the Users.
Post condition The account of the users altered (created, or changed or
deleted)
Alternative course A1: Wrong data Entry Message
of action 1.The system displays “Wrong data Entry!” message.
2.The system resumes at step 4.
A2: Missing of Required Information Message
1.The system displays “Enter all information!”
message.
2.The system resumes at step 4.
B2: Invalid Action Message
1.The system displays “Invalid Action!” massage.
2.The system resumes at step 4.

Table 3-5 The scenario or use case description of the Manage Account use case

Debark University-Computer Science Page 27


Debark University Online Examination System 2013
UC Name Manage Institute
UC Description Enables System Admin to manage institutes/colleges of
the University.
Actor Administrator
Precondition The institutes or colleges must found in the university
Flow of event 1.The administrator clicks Manage Institute button on the
Admin page.
2.The system displays the Manage Institute page.
3.The administrator selects actions (adding, changing and
deleting institutes) to be performed on institutes.
4.The system displays data entry page.
UCID-02

5.The administrator enters the information of


institutes/colleges of the University.
6.The system the actions performed on institutes or
colleges.
Post condition The institute or college of the system is managed.
Alternative course A1: Wrong data Entry Message
of action 1. The system displays “Wrong data Entry!”
message.
2. The system resumes at step 4.
A2: Invalid action Message
3.The system displays “Invalid Action!” massage.
4.The system resumes at step 4.

Table 3-6 The scenario or use case description of the Manage Institute use case

UC Name Manage Department


UC Description Enables System Admin to manage departments of each

Debark University-Computer Science Page 28


Debark University Online Examination System 2013

UCID-03
institutes or colleges in the University.
Actor Administrator
Precondition The department must be registered to respective institutes.
Flow of event 1.The administrator clicks Manage Department button on
the Admin page.
2.The system displays the Manage Department page.
3.The administrator selects actions (adding, changing and
deleting departments) to be performed on departments.
4.The system displays data entry page.
5.The administrator enters the information of departments
of the institute or college.
6.The system the actions performed on departments.
Post condition The department every institute or college of the system is
managed.
Alternative course A1: Wrong data Entry Message
of action 1. The system displays “Wrong data Entry!”
message.
3. The system resumes at step 4.
A2: Invalid action Message
2.The system displays “Invalid Action!” massage.
The system resumes at step 4.

Table 3-7 The scenario or use case description of the Manage Department use case
UCID-04

UC Name Manage Course


UC Description Enables System Admin to manage courses of each
department in the University.
Actor Administrator
Precondition The course must be registered to respective department.
Flow of event 1. The administrator clicks Manage Course button on the

Debark University-Computer Science Page 29


Debark University Online Examination System 2013
Admin page.
2. The system displays the Manage Course page.
3. The administrator selects actions (adding, changing and
deleting courses) to be performed on courses.
4. The system displays data entry page.
5. The administrator enters the information of courses of
each department. [A1][A2]
6. The system the actions performed on courses.
Post condition The course of every department is managed.
Alternative course A1: Wrong data Entry Message
of action 1. The system displays “Wrong data Entry!”
message.
2. The system resumes at step 4.
A2: Invalid action Message
1. The system displays “Invalid Action!”
massage.
2. The system resumes at step 4.

Table 3-8 The scenario or use case description of the Manage Course use case
UCID-05

UC Name Manage User


UC Description Enables System Admin to manage user of system
Actor Administrator
Precondition The user must be registered to respective department.
Flow of event 1.The administrator clicks Manage User button on the
Admin page.
2.The system displays the Manage User page.

Debark University-Computer Science Page 30


Debark University Online Examination System 2013
3.The administrator selects actions (adding, changing and
deleting) to be performed on users.
4.The system displays data entry page.
5.The administrator enters the information of system users.
[A1][A2]
6.The system the actions performed on user.
Post condition The users are managed as per their category .
Alternative course A1: Wrong data Entry Message
of action 7. The system displays “Wrong data Entry!” message.
4. The system resumes at step 4.
A2: Invalid action Message
8.The system displays “Invalid Action!” massage.
The system resumes at step 4.

Table 3-9 The scenario or use case description of the Manage User use case
UCID-06

UC Name Check_Question
UC Description Enables Exam_Committee to check the exam prepared by
instructors.
Actor Exam_Committee
Precondition The exam must be added to the system by instructor
Flow of event 1.The Exam_Committee clicks Check Question button on
the Exam_Committee page.
2.The system displays the department and course chooses
form for Exam_Committee.

Debark University-Computer Science Page 31


Debark University Online Examination System 2013
3.The Exam_Committee selects the Department, and
course he/she want to check questions for. [A1][A2]
4.The Exam_Committee reads the question and approve it.
5.The system sends the exam to student page.
Post condition The account of the user is deleted; the user can not enter to
the system or denied to access.
Alternative course A1: Wrong data Entry Message
of action 1. The system displays “Wrong data Entry!”
message.
2. The system resumes at step 2.
A2: Invalid action Message
1. The system displays “Question is not Added!”
massage.
2.The system resumes at step 2.

Table 3-10 The scenario or use case description of the Check_Question use case
UCID-07

UC Name Login

UC Description Enables all users of the system to login.


Actor Instructor, student, administrator, Exam_Committee
Precondition The instructor and student out of the system.
Flow of event 1. The user of the system clicks Login button on the home
page.
2. The system displays the Login page.
3. The users their user name and password to enter to the
system. [A1][A2]
4. The system displays access page for the respective
user.

Debark University-Computer Science Page 32


Debark University Online Examination System 2013
Post condition The user entered to the system and can access the system.
Alternative A1: Information Not Filled Message
course of action 1. The system displays “Please enter your user name and
password!” message.
2. The system resumes at step 2.
A2: Invalid Entry Message
1. The system displays “Incorrect User Name or
Password!” massage.
2. The system resumes at step 2.

Table 3-11 The scenario or use case description of the Login use case
UCID-08

UC Name Manage Question


UC Description Enables instructors to add the questions with respective
answer to the system.
Actor Instructor, administrator
Precondition Exam must be prepared
Flow of event 1.The instructor clicks Add Question button from
Instructor page.
2.The system displays the department and course chooses
form for instructor.
3.The instructor chooses the department and course.
[B 1] [B 2]
4.The system displays the add Question page.
5.The instructor adds questions with respective answers

Debark University-Computer Science Page 33


Debark University Online Examination System 2013
and allowed time for the exam to the system with. [B 3]
6.The system finishes adding question.
7.If question has subjective part the admin checks
manually and result is added to that of objective part
Post condition Examination is added onto the system with answer and
allowed time.
Alternative course B1: Choose Message
of action 1.The system displays, “Please choose department and
course” message.
2.The system resumes at step 2.
B2: Invalid Choice Message
1.The system displays, “You are not teaching this course
or You are not instructor of this department” message.
2.The system resumes at step 2.
B3: Add time Message
1.The system displays, “Please Add Allowed Time for
exam!” message.
2.The system resumes at step 4.
Table 3-12 The scenario or use case description of the Manage Question use case

UC Name Take Exam


UC Description Enables student to do examination
Actor Student
Precondition Student must be registered for that course and attend the class
Flow of event 1.The student clicks Read Exam button from home page.
2.The system displays the department, year and course choose
page for student.
UCID-09

3.The student chooses the department, year and course that he


wants to read examination.
4.The system displays the examination page.
5. The student reads the exam questions and selects choose which
he/she realized to be correct answer and clicks Submit Answer
button.
6. The system closes the examination page and displays the result
of the student.

Debark University-Computer Science Page 34


Debark University Online Examination System 2013
Post condition The student already taken exam.
Alternative B1: Invalid Choice Message
course of action 1.The system displays, “Incorrect Department choose,
please enter the correct one!” message.
2.The system resumes at step 2.
B2: Choose Message
1.The system displays,” Please choose course you want to
do exam for” message.
2.The system resumes at step 2.
B3: Invalid Choice Message
1. The system displays, “You are not taking this course,
please!” message.
2.The system resumes at step 2.
B4: Time is up Message
1.The system displays, “The time allowed for this exam
is over!” message.
2.The system resumes at step 6.
Table 3-13 The scenario or use case description of the Read_Question use case
UCID-10

UC Name See Result


UC Description Enables student to see their own results after they finished
the exam and instructors to see results of all students.
Actor Instructor, Student
Precondition The examination process must be taken place
Flow of event 1.The student or instructor clicks See Result button from
home page.
2.The system displays the department, year and course
choose page for student.
3.The student and instructor choose department, year and
course that he wants to see result.
4.The system displays the result page for student and
instructor.
5.The student sees his/her own result for that exam.
6.The system closes the result page.
Post condition The result is displayed to the respective user
Alternative B1: Invalid Choice Message

Debark University-Computer Science Page 35


Debark University Online Examination System 2013
course of action 1. The system displays, “Incorrect Department
choose, please enter the correct one!” message.
2. The system resumes at step 2.
B2: Invalid Choice Message
1.The system displays, “You are not taking this
course, please!” message.
2.The system resumes at step 2.
B3: Exam not Taken Message
1. The system displays,” Exam is no taken you can’t
see result” message.
2. The system resumes at step 2.

Table 3-14 The scenario or use case description of the See Result use case

UC Name Submit Answer

UC Description Enables student to submit his/her answer while he/she is


taking the exam
Actor Student
Precondition The student must attend for exam
Flow of event 1. The student reads the question and choose correct
UCID-11

answer and clicks the submit Answer button[A1]


2. The system checks the answer and record the result
Post condition The result of the student calculated from the answer
Alternative A1: Timer Message
course of action 1. The system will displays the “The required time is
ending” message.
2. The system submits the answer as wrong and
calculates the result

Table 3-15 The scenario or use case description of the Submit Answer use case

Debark University-Computer Science Page 36


Debark University Online Examination System 2013

UC Name Change Pass


UC Description Enables all the users of the system to change their own password
Actor Instructor, student, administrator, exam_committee
Precondition The account of every user must be created first.
UCID-12

Flow of event 1. The user clicks the Change Pass button from respective page
2. The system displays change password page
3. The user enters the required information and clicks submit
button[B 1] [B 2]
4. The system changes the password of user
Post condition The password is changed; user can enter to the system only by
new password.
Alternative B1: Wrong data Entry Message
course of action 1. The system displays “Wrong data Entry!”
message.
2. The system resumes at step 2.

Table 3-16 The scenario or use case description of the Change Pass use case

3.2 Dynamic model

3.2.1 Sequence diagram

Debark University-Computer Science Page 37


Debark University Online Examination System 2013
Sequence diagrams show a succession of interactions between classes or object instances
over time. The Sequence diagrams of some classes are given bellow.

:Home Page :Login page :Account DB Acess DB

:System Users
Clicks login ()

Displays ()

Fills (userAcc, Pass)

Clicks Ok ()

Validate Acc()

validate Ok ()
Show Access page()

sends ()
Check Access ()

Display (exam,result,...)

<<destroy>>

Figure 3-4 The sequence diagram of login in the system

Debark University-Computer Science Page 38


Debark University Online Examination System 2013

:Home Page :Manage Account Page :Account Table

:Administrator
Click Manage()
Display ()

Select Action()

Fill (Name, username, pass,....)


Validate Action()
Clicks Ok ()
Validate Ok ()
Action Ok()
Ends ()

Figure 3-5 The sequence diagram of Manage Account in the system

:Home Page :Manage Institute Page :Account Table

:Administrator
Clicks manage()
Display ()

Sellect Action()
Fill()

Clicks Ok () Validate Inistitute()

Validate Ok ()
Manage Ok()

Ends ()

Figure 3-6 The sequence diagram of Manage Institute in the system

Debark University-Computer Science Page 39


Debark University Online Examination System 2013

:Home Page :Manage Department Page :Account Table

:Administrator
Clicks manage()
Display ()

Select Category()
Select Action(add, del...)
Fill()
Clicks Ok ()
Validate Dept()

Validate Ok ()
Manage Ok()

Ends ()

Figure 3-7 The sequence diagram of Manage Department in the system

:Home Page :Manage User Page :Account Table

:Administrator
Clicks manage()
Display ()

Select(inst, dept, level)


Fill (Id, Name)

Clicks Ok () Validate User()

Validate Ok ()
Manage Ok()

Ends ()

Figure 3-8 The sequence diagram of Manage User in the system

Debark University-Computer Science Page 40


Debark University Online Examination System 2013

:Home Page :Manage Course Page :Account Table

:Administrator
Clicks manage()
Display ()

Select(inst, dept)

Fill (no, name)


Clicks Ok () Validate Dept()

Validate Ok ()
Manage Ok()

Ends ()

Figure 3-9 The sequence diagram of Manage Course in the system

:Instructor Page :Mange Question :Exam DB

:Exam_Committee

:Instructor

Clicks Add()
Display ()

Writes ()

Clicks Ok () Validate ()

Validate Ok ()
Saves ()
Approve()

<<Destroy>> Approve Ok()

Figure 3-10 The sequence diagram of Mange Question and Check Question in the system

Debark University-Computer Science Page 41


Debark University Online Examination System 2013

:Student Page :Exam Page :Control :Exam DB

:Student
Clicks Read ()
Display ()

Show ()

Select (course)
Click Read ()
Validate ()
Validate Ok ()

Search Exam ()

Display (Exam)
Submits (Answer)
Sends ()

Calculate()
ends

Figure 3-11 The sequence diagram of Take Exam in the system

:Home Page :Result Page :Control :Exam DB


:Student/
Instructor
Click See()
Display ()

Show ()

Fill ()
Validate

Validate Ok()

Search Result ()

Calc

Dispaly (result)
Ends ()

Figure 3-12 The sequence diagram of See Result in the system

Debark University-Computer Science Page 42


Debark University Online Examination System 2013
3.2.2 Activity Diagram

Activity diagram used to emphasize the flow of control from activity to activity or to model
the flow of an object as it moves from state at different points in the flow of control.

Administrator:

Admnistrative Login

Check Admin UN and PW

Invalid Valid
Select Action

Manage Account Manage User Mange Department

Manage Institute Manage Course

Figure 3-13 Activity diagram that shows activities of the Instructor

Debark University-Computer Science Page 43


Debark University Online Examination System 2013

Instructor:

Login

Check Instructor UN and PW

Invalid

Valid

Select category
Invalid

Valid

Select Action

Manage Question Change Password

See Result

Figure 3-14 Activity diagram that shows activities of the Instructor

Debark University-Computer Science Page 44


Debark University Online Examination System 2013

Student:

Login

Check Student UN and PW

Valid Invalid

Invalid
Select Category

Valid

Display Exam Page

Select Action

Take Exam Submit Answer

Change Password Calculate Result See Result

Figure3-15 Activity diagram that shows activities of the Student

Debark University-Computer Science Page 45


Debark University Online Examination System 2013

Exam_Committee:

Login

Check Exam_Committee UN and PW

Valid

Valid

Select Category
Invalid

Valid

Display Approve Page

Invalid
Instructor Page
Valid

Approve Exam Page

Figure 3-16 Activity diagram that shows activities of the Exam Committee

Debark University-Computer Science Page 46


Debark University Online Examination System 2013

4 Chapter Four

System Design Using Object-Oriented Paradigm


4.1 Introduction
This is the second phase of our project entitled Debark University Online Examination
System. In this phase we are going to verify brief aspect of phase one, and describe the phase
two parts; detail description of chapter five which focused on Object-Oriented design and
system containing class diagram, deployment diagram, state diagram, and relational
persistence modeling diagrams, and chapter six which focuses on System implementation. In
general, in this phase we will describe detail of our system design and implementation.

4.2 Class modelling

Class Modeling is design level that introduces changes to analysis class model based on
implementation technologies. It focuses on the solution domain instead of the problem
domain. It shows static nature of how the software is built.

4.2.1 Design modelling Class Diagram

In object oriented system Analysis, Real world concepts are modeled into objects. Conceptual
modeling hereby allows us to model these concepts which later involve in to a full-fledged
class models. A class is a set of objects that share a common structure and a common
behavior (the same attributes, operations, relationships and semantics).A class is an
abstraction of real world items. When these items exist in the real world they are instance of
the class and are referred to as objects and an object can be any person, place, and concepts or
user interfaces. Classes are represented by rectangles with three sections. These are:
The top section is the name of the class.
The middle section contains the attributes which store information about an item
The bottom section contains the methods that show what are done on object or class.
The class Diagram below shows the class of our system, their inter relationship (including
inheritance and association) and the operations and attributes of each classes.

Debark University-Computer Science Page 47


Debark University Online Examination System 2013
USER
Manages -Name : string
-IDNo : string
* -password : string
1 -username : string
Member of * -department : string
Admnistrator +Create Acct()
-Name : string +Delete Acct()
-ID : int +Change Acct()
-username : string
1 -password : string
+Update Admin Acct() Contains
+Delete Admin Acct()

1
Manages * *
*
E_Committee Student
* 1 Instructor +Course : string
+Course : string -
*
Faculty 1 *
-Faculty_id : string *
-Faculty_name : string 1 *
+Add_Faculty() 1 * 1
+Edit_Faculty() manages
+Delete_Faculty() Department

Takes
-Deptno : string
-Dept_Name : string
1 Has *
Check
-Faculty : string *
* +Add_Dept()
+Edit_Dept() Exam
+Delete_Dept() *
-ExamNo : int
-ExamType : string
1 * -Question : string
* -Course : string
Has +Add_Exam() See
Course +Edit_Exam()
Has +Delete_Exam()
-CourseNo : int
+Check_Exam()
-CourseTitle : string
-Credit_hr : int 1 *
+Add_Course()
* +Edit_Course() Calculates
+Delete_Course() *
* +Take_Course()
Result
See
-Result_Id
-Total *
-Courseno
* -StudentID
+See_Result()
+Calculate()

Table 4-17 Class diagrams of DU OES

Debark University-Computer Science Page 48


Debark University Online Examination System 2013

4.2.2 Class Diagram Description


This section specifies the description of class diagrams contained in our system, Debark
University Online Examination System-DUOES. We have listed those descriptions as
follows.

No Field name Data type Description


1 Name VarChar(30)not null Full Name of Administrator
2 ID VarChar(20)not null Identification of Admin
3 username VarChar(20)not null Username of Admin
4 password VarChar(20)not null Password of Admin
Method: UpdateAdminAcc(),DeleteAdminAcc()
UpdateAdminAcc(): to change the profile of admin
DeleteAdminAcc(): to delete the account of the admin

Table 4-18 class diagram description of attribute Administrator

No Fieldname Data Type Description


1 Name Varchar(30) not null Full name of the user (student,
instructor, exam committee)
2 IDNo Varchar(20) PRIMARY Identification number of user
KEY, not null
3 username Varchar(20) not null Username of User
4 password Varchar(20) not null Password of the user
5 Department Varchar(50) not null Department of the user
Method:CreateAccount(), DeleteAccount(), EditAccount()
CreateAccount():enables admin to create user account for users
DeleteAccount():enables admin to delete user account for users
EditAccount():enables admin to edit user account for users
Table 4-19 class diagram description of attribute User

No Field name Data Type Description


1 Faculty_id VARCHAR(10)Primary key, Identification number of faculty
NOT NULL
2 Faculty_Name VARCHAR(50)NOT NULL Name of the faculty
Method: Add_Faculty(),DeleteFaculty()and Edit_Faculty()
Add_Faculty ():used for adding faculty to the system
Delete_Faculty ():used for Deleting faculty from the system

Debark University-Computer Science Page 49


Debark University Online Examination System 2013
Edit_Faculty ():used for editing faculty of the system

Table 4-20 class diagram description of Faculty management

No Field Name Data Type Description


1 Deptno Varchar(20) PRIMARY Identification number of
KEY, NOT NULL department
2 Dept_Name Varchar(50) NOT NULL Name of the department
3 Faculty Varchar(50) NOT NULL Name Faculty the
department found in
Method: Add_Dept(), Edit_Dept(), Delete_Dept()
Add_Dept(): enables admin to add the department
Edit_Dept(): enables admin to edit department
Delete_Dept(): enables admin to delete the department
Table 4-21 Class diagram description of Department Management

No Field Name Data Type Description


1 CourseNo Varchar(20) PRIMARY Identification number of
KEY, NOT NULL course
2 CourseTitle Varchar(50) NOT NULL Name of the course
3 Departmnet Varchar(50) NOT NULL Name Department the
course found in
4 CreditHr Number Credit hour of the course
Method: Add_Course(), Edit_Course(), Delete_Course()
Add_ Course (): enables admin to add the course

Debark University-Computer Science Page 50


Debark University Online Examination System 2013
Edit_ Course (): enables admin to edit course
Delete_ Course (): enables admin to delete the course
Table 4-22 Class diagram description of Course Management

No Field Name Data Type Description


1 ExamNo Varchar(20) PRIMARY Identification number of
KEY, NOT NULL Exam
2 ExamType Varchar(50) NOT NULL Type of the exam
3 Question Varchar(1000) NOT NULL Questions of the exam
4 Answer Varchar(1000)NOT NULL Answer of the question of
exam
5 Course Varchar(50) NOTT NULL The course exam prepared
for
Method: Add_Exam(), Edit_Exam(), Delete_Exam(), Check_ Exam()
Add_ Exam (): enables instructor to add the exam
Edit_ Exam (): enables instructor to edit exam
Delete_ Exam (): enables instructor to delete the exam
Check_ Exam(): enables exam Committee to check exam
Table 4-23 Class diagram description of exam

No Field Name Data Type Description


1 Result_id Varchar(20) PRIMARY Identification number of
KEY, NOT NULL Result
2 Result_Value Number Total Result of student
3 Exam Varchar(50) NOT NULL Exam for which result is to
be calculated
4 Course Varchar(50) NOT NULL The course of the exam
result is to be calculated
5 Student_Id Varchar(20) NOT NULL The identification number
of student that result
calculated for
Method: See_Result(), Calculate_Result()
See_Result(): enables instructor and student to see result of student
Calculate_Result(): enables the system to calculate the result of student

Debark University-Computer Science Page 51


Debark University Online Examination System 2013
Table 4-24 Class Diagram Description of Result

4.3 Deployment Diagram

UML deployment diagram show physical view of system, taking software into real world by
showing how software gets assigned to hardware and how communicates. The deployment
diagram shows how the software components, processes, and objects are deployed into the
physical architecture of the system. It shows the configuration of the hardware units (e.g.
Computers, communication devices, etc) and how the software components are distributed
across the units. [2]

DUOES (Debark University Online Examination System) is server client structure


architecture, where clients access services offered by server. The deployment diagram is
shown as follows.

Debark University-Computer Science Page 52


Debark University Online Examination System 2013

Client Machine

:Chrome TCP/IP
Web Server Admin

:E xp lo r e r
:XAMPP

:Mozilla

PHP

Central Data Base

:MYSQL

Table 4-25 Deployment diagram of system

Description of the architecture of the system is described as follows.

Clients are responsible for:-


 Provide user interface to the user enabling to get services
 Receiving inputs from user
 Checking range of performance
 Initiating database transactions once all necessary data are collected.
Server responsible for:-
 Transaction performance
 Guaranteeing the integrity of data.
 Putting backup of the database

Debark University-Computer Science Page 53


Debark University Online Examination System 2013

4.4 Persistence Modelling

Persistence of our object can be achieved by relational database since it used as machine to
make object persistent. It describes the persistent data aspect of software system. Our system
includes the basic table that handles the data of system implemented using MySQL server.
Mapping class and relational table
Mapping refers how objects and their relationship are stored in relational database. The
mapping of the data to be persisted in our system is given as follows:

Debark University-Computer Science Page 54


Debark University Online Examination System 2013

Table 4-26 Persistence data management

4.5 State chart modelling

Debark University-Computer Science Page 55


Debark University Online Examination System 2013
UML state chart diagram is used to describe the behavior of an individual object as a number
of states and transitions between these states. A state represents a particular set of values for
an object. It has initial and final states. Transition is used as a progression from one state to
another. Our project team has designed the following state chart diagram for our system. [2]

open

Home Page opened


invalid
Enter account and role, press login

Authenticate user account and role


Valid

press logout
Page of user Home Page

Press Close

Fig 5.4 State chart Diagram of user login

Debark University-Computer Science Page 56


Debark University Online Examination System 2013

Select User

User Management Page

create,edit,delete account and press ok


invalid

Authenticate account

Valid

press logout
useraccount affected Home Page

Press Close

Fig 5.5 State chart Diagram of user management on admin page

Debark University-Computer Science Page 57


Debark University Online Examination System 2013

Click Exam menu

Exam Management Page

Select Department and course


invalid

Authenticate Selection
Valid

Question area displayed


Add question and answer,submit

Question added

Fig 5.6 State chart Diagram of exam management on instructor page

Debark University-Computer Science Page 58


Debark University Online Examination System 2013

Click Exam menu

Exam Checking Page

Select Department and course invalid

Authenticate Selection
Valid

Question Page displayed

Read question and check, comment

Question Checked

Fig 5.7 State chart Diagram of exam management on Exam Committee page

Debark University-Computer Science Page 59


Debark University Online Examination System 2013

Click Exam menu

Exam Page Displayed

Select Department and course


invalid

Authenticate Selection
Valid

Question Page displayed

Take question and submit answer

Question added and closed

Fig 5.8 State chart Diagram of exam page for student

Debark University-Computer Science Page 60


Debark University Online Examination System 2013

Click Result Menu

Result Page Displayed

Select Department and course


invalid

Authenticate Selection

Valid

Respective Result displayed

Fig 5.9 State chart Diagram of result page for student and instructor

Debark University-Computer Science Page 61


Debark University Online Examination System 2013

4.6 User interfaces


User interface design is the specification of the interaction between the system
users and a system. The process involves input mechanism design, output
mechanism design, and navigation mechanism.

 Navigation mechanism is part of user interface that takes the user form
one part of the system to the other user system. That includes menus or
links, buttons, icons, dialog boxes etc.
 Input design is about designing a form and its controls for GUI system.
 Output design is about designing reports like detailed, summarized,
exceptional, graph, chart, text document report and extra.

In our system the menus that are functioning on the home page are the
following:

Fig 5.10 Home Page of the System

Debark University-Computer Science Page 62


Debark University Online Examination System 2013

Fig 5.11 Home Page for admin of the System

Fig 5.12 Faculty Management Page of the System

Fig 5.12 Department Management Page of the System

Debark University-Computer Science Page 63


Debark University Online Examination System 2013

Fig 5.13 Schedule adding page of the system

Fig 5.13 Exam adding page of the system

Debark University-Computer Science Page 64


Debark University Online Examination System 2013

5 Chapter Five
5. System Implementation and Testing
5.1. Introduction
In this chapter of our project we are going to explain about System Implementation and
testing of the DUOES system.
5.2. System Testing
5.2.1. Testing Plan
Testing is the process of finding the difference between expected behaviors specified by the
system model and observed behavior of the implemented system. [2][4]
5.2.2. System Conversion
System Conversion refers to drop or change the existing manual system and to start the new
system. There are three types of conversion methods.
 Parallel Conversion: performing the previous style to work and the new system
parallel until all necessary preparation is done to directly switch to the system.
 Channel Conversion: is the case when the registrar installs the new system small
components, check whether it is satisfactory for giving a good service and slot in the
system.
 Straight Conversion: the case when the existing system is dropped completely and
the new system is driven in.[3]

5.2.3. Testing Techniques Methodologies


The Proposed system can be tested through the following testing strategies.
 Unit testing: in this testing strategy the system components and modules are tested
one by one. Each component where first identified and then tested.
 System testing: the architectural design of the system must be correct to have a
correct system.
 Volume testing: most realistic type of testing .because it uses registrar data for which
the system is developed for. It checks all necessary conditions applied in working
environment.[3][4]

Debark University-Computer Science Page 65


Debark University Online Examination System 2013

5.3. Testing User Interface


Login to the System Testing:
When user of the system does not enter Username and password it displays value
required message.

Figure 5-17 Login to the System Testing (Null value)

Wrong Username or password entered:


 Whenever users of the system entered the incorrect username or password the invalid
data entry message will be displayed. If correct required page will be arrived.

Fig:6.2 Login to the System Testing (Incorrect user name or password)

Admin page to add user to the system (missing Values) testing:


 When admin do not insert all the required data of the user the system will display
value required message and enables to enter data again. Since data entry enterface of
all user is similar the same error message will be displayed.

Figure 5-18 Error message when to be entered to the system is not filled

Debark University-Computer Science Page 66


Debark University Online Examination System 2013
Admin page to add user to the system (correct value) testing:
 When admin inserted all the values of user information to register correctly the
success alert message will be displayed. It is similar for all users. The success
message will be displayed when deletion and update of the user is correctly done.

Figure 5-19 Success message for user adding deleting and updating done correctly

Admin page to manage faculty, department and course to the system (missed value)
testing:
 While admin manages faculty, department and course if data missed while insertion,
value required message will be displayed.

Figure 5-20 Error message when required data is missed

Admin page to manage faculty, department and course to the system (correct value)
testing:
 When admin entered the required values correctly the success message will be
displayed.

Debark University-Computer Science Page 67


Debark University Online Examination System 2013

Figure 5-21 success message while managing faculty, department and course

Debark University-Computer Science Page 68


Debark University Online Examination System 2013

6 Chapter six

6.1 Conclusion and Recommendation

6.1.1 Conclusion

Considering the drawbacks of the existing system and importance of new technologies the
developed system, Debark University Online Examination system is very useful to
simplify examination system of Debark University. Therefore a great striving played for this
project of Debark University Online Grade Report Generation System to be developed.

The system performs works better than existing system (usability, speed, efficiency and
effectiveness). Security also included in this system developed and every user can access the
required services. The system is also very useful in minimizing time and other utilities
wastage.
DUOES system is developed to give the effective examination process that satisfies the need
of all users in the system.

6.1.2 Recommendations

Current Debark University Examination System is manual system or file based system and
far away from advanced technology and information. Since this developed system is
advanced our system have to recommend by Debark University to accept and use this system
because it is easy to use and save the time and resources’ for the university.

Debark University-Computer Science Page 69


Debark University Online Examination System 2013

References
1. [1] DUOES documentation Phase I
2. [2] OOSAD Handout.
3. [3] “Fundamentals of Database Systems”, Third Edition, Ramez Elmasri
4. [4] Software Engineering (2009), “A Practitioner’s Approach”, Seventh Edition, Roger S.
Pressman, Ph.D.
5. http://www.tutorialspoint.com/mysql
6. http://www.tutorialspoint.com/php

Debark University-Computer Science Page 70


Debark University Online Examination System 2013

5.4. Acronyms

No Acronym Meaning

1 DUOES Debark University Online Examination System

2 ID Identification number

3 Acct Account

4 Dept Department

5 GUI Graphical User Interface

6 OOSAD Object Oriented System Analysis and Design

7 PHP Hypertext Preprocessor

Table 6.1 Table of Acronym and abbreviations used in documentation

Debark University-Computer Science Page 71

You might also like