Professional Documents
Culture Documents
Web Based Graduate Exit Examination System
Web Based Graduate Exit Examination System
Submitted By
Name ID
1. Memar Alemayehu---------------------TER/4677/07
2. Muluye Fentie---------------------------TER/4682/07
3. Nardos Enawgaw-----------------------TER/1495/08
4. Yitayal Mengiste------------------------TER/4700/07
Abstract
Graduate exit examination is an examination, which is provided to graduate
students for the aims of determining the progress the student has made over the
years. The exam is taken by department in an international level and its content
covers the whole courses in the department .so WBEES is the proposed system and
this system solve the problem in the existing system. The system is a web-based
application and allows administrator users to add questions, view students’ results
and other functionalities. It also provides web-based exam to students and
automatically show their exam results. So that it will handle the overall
examination processes, from starting the exam up to showing final result.
i|Page
Web Based Graduate Exit Examination System
Acknowledgment
First of all we would to thank GOD for giving us strength to complete this
documentation. Because of without the will of GOD everything is impossible.
Then we would like to great thank our adviser Lijalem Migbaru that give important
information to us and provide excellence advice and supervision. Next we would to
thanks organizations which are provide services in Debre Markos University such
as school of law and health medical college for providing necessary information
and guidance about the system. Next our thanks extend to information technology
department head for providing support papers in order to do this project. Finally
thanks all classmate students, our family and all IT department staff members that
support to complete this documentation.
ii | P a g e
Web Based Graduate Exit Examination System
iii | P a g e
Web Based Graduate Exit Examination System
Table of Contents
Abstract .......................................................................................................................................................... i
Acknowledgment .......................................................................................................................................... ii
Acronyms and Abbreviations ...................................................................................................................... iii
Table of Contents ......................................................................................................................................... iv
List of figure ............................................................................................................................................... vii
List of table ................................................................................................................................................ viii
CHAPTER ONE ........................................................................................................................................... 1
1.1 Introduction ............................................................................................................................................. 1
1.2 Background of the Project ...................................................................................................................... 1
1.3 Problem Statement .................................................................................................................................. 2
1.4 Objective of the Project .......................................................................................................................... 3
1.4.1 General Objective ................................................................................................................................ 3
1.4.2 Specific Objective ................................................................................................................................ 3
1.5 Scope of the Project ................................................................................................................................ 4
1.6 Limitation of the Project ......................................................................................................................... 4
1.7 Significance of the Project ...................................................................................................................... 4
1.8 System Requirements.............................................................................................................................. 5
1.8.1 Hardware Requirement .................................................................................................................... 5
1.8.2 Software Requirement...................................................................................................................... 5
1.8.3 Programming Language ................................................................................................................... 6
1.9 Methodology ........................................................................................................................................... 7
1.9.1 Data Collection Approaches ............................................................................................................ 7
1.9.2 The System Analysis and Design Approaches................................................................................. 8
1.9.3 The System Development Model ..................................................................................................... 8
1.10 Feasibility Study ................................................................................................................................... 8
1.10.1 Technical Feasibility ...................................................................................................................... 9
1.10.2 Economical Feasibility................................................................................................................... 9
1.10.3 Operational Feasibility ................................................................................................................... 9
1.10.4 Legal Feasibility............................................................................................................................. 9
CHAPTER TWO ........................................................................................................................................ 10
2. SYSTEM ANALYSIS ............................................................................................................................ 10
iv | P a g e
Web Based Graduate Exit Examination System
v|Page
Web Based Graduate Exit Examination System
vi | P a g e
Web Based Graduate Exit Examination System
List of figure
vii | P a g e
Web Based Graduate Exit Examination System
List of table
TABLE 1: USE CASE IDENTIFICATION .......................................................................................................................................1
TABLE 2: USE CASE DESCRIPTION FOR LOGIN ...........................................................................................................................4
TABLE 3: USE CASE DESCRIPTION FOR TAKE EXAM ....................................................................................................................5
TABLE 4: USE CASE DESCRIPTION FOR VIEW RESULT .................................................................................................................6
TABLE 5: USE CASE DESCRIPTION FOR SEND COMMENT .............................................................................................................7
TABLE 6: USE CASE DESCRIPTION FOR VIEW COMMENT .............................................................................................................8
TABLE 7: USE CASE DESCRIPTION FOR VIEW REPORT .................................................................................................................9
TABLE 8: USE CASE DESCRIPTION FOR CREATE ACCOUNT FOR CANDIDATE....................................................................................10
TABLE 9: DESIGN CLASS DESCRIPTION FOR ADMIN CLASS .........................................................................................................22
TABLE 10: DESIGN CLASS DESCRIPTION FOR RESULT ..............................................................................................................22
TABLE 11: RESULT TABLE ...................................................................................................................................................23
TABLE 12: FEEDBACK TABLE ...............................................................................................................................................23
TABLE 13: QUESTION TABLE ...............................................................................................................................................24
TABLE 14 :NOTICE TABLE ...................................................................................................................................................24
TABLE 15: TIMER TABLE.....................................................................................................................................................25
TABLE 16: EXAM DATE TABLE..............................................................................................................................................26
TABLE 17: ACCOUNT TABLE ................................................................................................................................................26
TABLE 18: USER TABLE ......................................................................................................................................................27
viii | P a g e
Web Based Graduate Exit Examination System
CHAPTER ONE
1. INTRODUCTION
1.1 Introduction
A web-based system provides access to a software system using a computer and internet
connection. Web based graduates exit examination system is one of the systems which provide
web based test exam services through internet connection or network and it is control by
Centralized administrator. The system also helpful for conducting different examination question
which can be conducted regularly. It can also be used for provide immediate results and save
precious time of to check student’s copy and prepare mark sheets, so it is very important for that
graduates students to handle the web based examinations system and evaluate their results
online. But the purpose The exam is to facilitate the effort of student to revise the core of
learning outcome of the course covered also make ensure the student to be competent and
monitor the level of achievement in learning outcomes of course.so the system solve the
problem which are occur during exam time taken through manual system. Therefore the
document describes all features and procedures to develop graduate exit examination system for
Ethiopia higher education institute graduate students. Because of it is very useful for any
Institute or Department to test their students continuously for their mutual development and
know about their progress. The system allows exam agency to create their own exam on online.
It would enable the institutes to perform exit exam.
Today many organizations are conducting web based examinations system in worldwide
successfully and issue results online. Web based exit examination system is the system that
examinations is conducted through the extranet or in an intranet (if within the Organization) for a
remote candidate(s). Most of the examinations issue results as the candidate finish the
examination, when there is an answer processing module also included within the system.
Candidate is given a limited time to answer the questions and after the time expiry the answer
1|Page
Web Based Graduate Exit Examination System
place is disabled automatically and answers is sent to the database. Because all question and
answer is placed in the database of the system. Therefore the system will evaluate answers,
through automated process and the results will be sent to the candidate through candidate identity
on candidate pages in the available in the web site. But up to this time the examination process is
given by through manual process. That means every student takes an exam in a classroom,
because they are to sit there and have the examiners during the exam. This web based
Examination System is to efficiently evaluate the exam through a fully automated system that not
only saves lot of time but also give fast results. It will solve all the paper works in the
examination process usually spent by the teacher or instructor in reading and checking the
answer one after the other. The college or institute which provide exit exam through manually
process in Ethiopian higher education institute are school of law and medical health college
started around in 2003 E.C. but but in next year will be started in all college and schools in 2011
E,C so this project will start ,any graduate student take exit exam before it graduate.
2|Page
Web Based Graduate Exit Examination System
Even candidates or students may lose where and when the exam is performed.
It is difficult to show the result of students
The exam may be stolen during posted to exam place.
It is difficult to keep exam information consistency ,update and generality
The consistency or generality of the exam process may be different from one institute to other.
The candidate cannot see the result immediately after taken exam.
3|Page
Web Based Graduate Exit Examination System
The system includes choose type of questions only (either multiple choice or true-false
question). It does not include essay type of questions or short answer questions. Because it
is difficult to develop a system that checks the essay question answer word by word. The
system also Retrieve any information from a database on the designed interface as per the
requirements of the user.
For university:
Reduce economy spend for buying papers and printers.
Reduce Time consumption
Reduce man power like examainer,superviser and other that participate in exam
Avoid document missing about candidate information.
4|Page
Web Based Graduate Exit Examination System
Avoid tiredness to analysis the student result, because the student file will stored in
the database instead of cabinet so, it is easy to search student file from database.
It ensuring the availability of documents in their proper place in the database.
For students:
Making students aware about the examination because student can see all
information about exam detail from the system.
View their exam result online immediately without came to the Department or class
room.
It reduces time consumption when we see the results and economy wastage like pen
and paper.
Generally the system Create suitable condition for candidates (students) to view their
result online and detail information.
5|Page
Web Based Graduate Exit Examination System
Browsers for running the code like Microsoft Internet Explorer, Mozilla Firefox,
Google Chrome
Microsoft Office Visio 2007: to design Sequence Diagram, Class Diagram Activity
diagram and Use case Diagram of our system.
Adobe Photoshop: for editing images.
GUI Design Studio Pro Software for drawing graphical user interface.
6|Page
Web Based Graduate Exit Examination System
1.9 Methodology
7|Page
Web Based Graduate Exit Examination System
It provides code and function reuse through the concepts of inheritance, polymorphism,
encapsulation, modularity, coupling and cohesion.
To design the system the project team has choose Object Oriented Modeling techniques
and Unified modeling language tools.
Understanding of the structure is easy because object oriented modeling and tools used to
represent real world entities.
It enables us to comprehensively model a system before we develop it.
Modification of the object implementation is easy because objects are loosely coupled.
8|Page
Web Based Graduate Exit Examination System
9|Page
Web Based Graduate Exit Examination System
CHAPTER TWO
2. SYSTEM ANALYSIS
1. Exam board editor: the exam board editor responsible for Prepare proposals that shows the
cost of the exam and Ensure that exam question are prepared and printed timely. Also ensure
that the exam question and results are posted to the university with in sufficient time. The
exam editor Handle any complaints that occur relating to marking the examination and
responsibility to ensure the proper administration, transportation and correction of the
examination. Generally exam board editor coordinate how the exam to be performed and
select exam setter who set or prepare exit exam and exam evaluator.
2. Exam setter: responsibility to prepare or set the exam in line with the scope of the learning
domain to be assessed. During preparing the exam the exam setter Prepare exam with in a
given time and Responsible for providing answer key and making corrections where some
error are detected in the questions. also responsibility to check question are not repeated and
include the answer in the listed choice.
3. Candidates: are student who take the exit exam.
4. Examiners: responsibility to tests or examine candidates or students and shall be assigned
from other department.
10 | P a g e
Web Based Graduate Exit Examination System
5. Department Head: responsibility to Specifies places for exam and generally he manages all
activities in his perspective departments.
6. Exam evaluator: Evaluates the exam that is drafted/prepared by exam setter.
7. Registrar: responsibility to capture candidate information or profile and checks candidates
take all department course before take exam.
8. Supervisor: responsibility to controls the overall exam (candidates and examiner) and take
and bring the exam paper to Exam Board Editor.
11 | P a g e
Web Based Graduate Exit Examination System
The system reports the exam result to individual candidate after candidate take exam.
For example:-
Full Name: Muluye Fentie Admas
User Id:TER/4682/07
Department: IT
Institute: Technology
Address:DMU
Result: Competent
The system admin views all candidates’ results and any other reports.
The system should validate the data entry. That is the system shall validate and
authenticate the users’ username and password.
The system shall allow all eligible users to update their accounts.
User account management section :The system has different account types and the system
adimin for all system user account
Control and Security: This system uses different security systems to protect its data. Among
this: Password and user name. The system users are allowed to perform activities or make a
modification to the data if and only if they are authorized which will be checked by their
username, password, and account type.
Performance : The amount of time needed to get the response for a transaction or request is
minimized and also The system has fast response time because of a light weighted code in
HTML, PHP, CSS and JavaScript.
Portability: This system is portable, since it runs on different desktop platforms. Running on
different platforms in desktop computer browser makes the system accessible by users.
12 | P a g e
Web Based Graduate Exit Examination System
Availability: The system is available in the presence of Extranet connection. So, the users of
system can access the system successfully for provide different services but the exam is taken
periodically.
Reliability: The system should handle invalid inputs and displays error message to users.
Reliability is one feature of the system significantly validates user inputs.
Backups: In addition to authorizing access to users, the system could have problems in such
areas of data crime, disaster, and human errors. For this purpose, incremental backup copies
(copies of only the challenge to files) and full backup copies (copies of all files) will be made
and stored in a secured location.
Usability: The system has an interactive and attractive GUI which eases users’ usage
problem. It needs simple training. Because it is easy to use and adapt.
13 | P a g e
Web Based Graduate Exit Examination System
describe each use case in effective way. The business rules of the exit exam system are listed as
following: [3]
BR1: The registrar must send graduated students list with full information to Exam Editor.
BR2: The candidate’s should be legible.
BR3: The system administrator and candidates must have user account for managing the
activity specified and limited to their privilege or generally the system user must have an
account to access the services in the system and managed by system administrator.
BR4: They should have a take along unique ID that expresses his/her identity.
BR5: The candidates should have to take the exam within the given time of period.
BR6: The exam should be deactivating after the exam is taken or exam time is expired.
BR7: The exam question should not be duplicated or there is no redundancy of question.
BR8: The candidate should take all department courses before take exam.
BR9: Candidates can take another exam more than once, when candidate cannot pass the first
time, but candidate pay fee before taking re-exam.
BR10:The entire examinations question are objective.
BR11:the candidates should fill the form and the requirements properly and carefully.
BR12:all candidates must take the same exam according to their department.
14 | P a g e
Web Based Graduate Exit Examination System
ii. Use case: describes the sequence of events of some types of users, called Actors, using some
part of the system functionality to complete a process. The possible use case of the new
system are:
UC01 login
UC02 View exam date UC01
1|Page
Web Based Graduate Exit Examination System
2|Page
Web Based Graduate Exit Examination System
Take exam
Manage user account
View result
Take backup
Edit questions
Exam Setter
Prepare questions
send comment
3|Page
Web Based Graduate Exit Examination System
description Describes how the system users login into the system
alternative course of action I. User is not authenticated and is denied access to the system.
II. System displays an incorrect username and password message.
III. System enables user to try again.
IV. Use case returns to step 2 to fill or enter the correct username and
password.
post-condition login to the system successfully and gets access to the system according to
their predefined system privileges.
4|Page
Web Based Graduate Exit Examination System
actor Candidate
description Describes how the candidate to login into the System to take exam.
5|Page
Web Based Graduate Exit Examination System
actor Candidate
6|Page
Web Based Graduate Exit Examination System
7|Page
Web Based Graduate Exit Examination System
description Describe exam editor can view different feedback which are sent
form other system user
basic course of action 1. Exam editor login to system
2. After logged go to comment link
3. System Display comment.
4. Exam editor view and delete comment
5. End of use case
8|Page
Web Based Graduate Exit Examination System
description The System allows to generate report for candidates about exam
Information.
9|Page
Web Based Graduate Exit Examination System
10 | P a g e
Web Based Graduate Exit Examination System
or flow of events in one single use case. The message flow of the sequence diagram is based on
the narrative of the particular use case. The Diagrams are also used primarily to design,
document and validate the architecture and interfaces of the system by describing the sequence
of actions that need to be performed to complete a task or scenario. The following describes the
sequence diagrams of the property administration system. A sequence diagram consists of a
group of objects that are represented by lifelines, and the messages that they exchange over time
during the interaction. Some of use case sequence diagram for the system are:- [6]
Display() Valid()
11 | P a g e
Web Based Graduate Exit Examination System
Home Page Login Page Candidate Page Exam link Exam Page Database
Candidate
Open() Enter UN and PW()
Login()
Validate() Check()
Invalid()
Invalid input()
Display()
Else()
Click Exam link()
Take exam
Submit answer
Cancel
12 | P a g e
Web Based Graduate Exit Examination System
Open()
Candidate Enter UN and PW()
ValidateForm()Check()
Display()
Valid()
Click View link()
View Result
13 | P a g e
Web Based Graduate Exit Examination System
Open()
Enter UN and PW()
Admin
ValidateForm()
Check()
Invalid()
Invalid UN and PW()
Display() Else()
14 | P a g e
Web Based Graduate Exit Examination System
System User
Open()
Enter UN and PW()
validateForm()
Check()
Invalid()
Invalid UN and PW()
Display()
Else()
Click Link()
Write Comment
Send()
15 | P a g e
Web Based Graduate Exit Examination System
Activity diagram is another diagram in UML diagram that describe dynamic aspects of the
system. Activity Diagrams also describe how activities are coordinated to provide a service
which can be at different levels of abstraction. Typically, an event needs to be achieved by some
operations, particularly where the operation is intended to achieve a number of different things
that require coordination, or how the events in a single use case relate to one another, in
particular, use cases where activities may overlap and require coordination. It is also suitable for
modeling how a collection of use cases coordinate to represent business workflows. Generally
the purpose of an activity diagram describe to:- [6]
Login
Invalid
Incorrect UserName and Password
Valid
Return Invalid
Incorrect UserName and Password
Candidate dircts into its page Canidate click to Take Exam link
17 | P a g e
Web Based Graduate Exit Examination System
Invalid Valid
Incorrect UserName and Password Canidate Page
Invalid Valid
Incorrect UserName and Password User Page
18 | P a g e
Web Based Graduate Exit Examination System
Class diagram is a static diagram that represents the static view of the system. The class
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. Class diagram
shows a collection of classes, interfaces, associations, collaborations, and constraints. Generally
the purpose of the class diagram can be summarized as: [6]
Admin Result
user
inherit all attribute view
-user_ID Candidate 1
+create account() +view result()
-Fname 1 +block account() -Dep't
-Mname 1
-Lname 1 -College
1
-Sex create1 and manage has 1 -University
-Mobile has -year
* +set candidate info() Question
-Email inherit 1 1
-Photo -Qid
-Role Account take -year
- -Dep't
+View user()
- 1 -question
1 * -choices
* +create account() 1
+block account() -answer
comment
+set question()
1 1
* has *
has has
Comment has
+Send ()
1 set
+view() 1 1 1
19 | P a g e
Web Based Graduate Exit Examination System
CHAPTER THREE
3. SYSTEM DESIGN
3.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 in analysis. 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.
20 | P a g e
Web Based Graduate Exit Examination System
Admin Result
user
view
-user_ID:varchar(50) +create account() Candidate 1
-Fname:varchar(50) +view result()
+block account() -Dep't:varchar(50)
-Mname:varchar(50)
1 -College:varchar(50)
-Lname:varchar(50) 1
1 1 -University:varchar(50)
-Sex:varchar(50) create and manage has Question
-year:int
-Mobile:varchar(50) has
+set candidate info() -Qid:int
-Email:varchar(50) 1
inherit attribute -year:int
-Photo:varchar(50) * 1 take -Dep't:varchar(50)
-Role:varchar(50) timer -question:varchar(2000)
+View user() Account -tid:int -txtA:varchar(100)
-status:varchar(20) -hour:int -txtB:varchar(100)
1 1
* +create account() -min:int -txtC:varchar(100)
comment inherit 1 +set examtime() * -txtD:varchar(100)
+block account()
+update() -Answer:varchar(10)
+view() set -status:varchar(50)
has 1 1
* -type:varchar(50)
has +set question()
has has
Comment +update()
+view()
-co_id:int
-date:date
-content:varchar(1000) 1 1 1 *
+Send () Exam editor
+view() 1 Departement Head
Exam setter set
-university:varchar(50) +set exam date() -Dept:varchar(50) 1
-dept:varchar(50) +post notice()
Registrar +set exam()
+view report() +view report()
-University name:varchar(50) +set exam time()
+view exam date() +Register()
+Register candidate() +update()
+view report() exam_date
-did:int
set -sdate:date
-edate:date
-stime:time
-etime:time
-year:int
+set()
+update()
+view()
21 | P a g e
Web Based Graduate Exit Examination System
Method Description
View This methods used for view or display candidate result after taken exit exam
result()
22 | P a g e
Web Based Graduate Exit Examination System
physical data model include: Specification all tables and columns. Foreign keys are used to
identify relationships between tables.
23 | P a g e
Web Based Graduate Exit Examination System
24 | P a g e
Web Based Graduate Exit Examination System
25 | P a g e
Web Based Graduate Exit Examination System
26 | P a g e
Web Based Graduate Exit Examination System
27 | P a g e
Web Based Graduate Exit Examination System
28 | P a g e
Web Based Graduate Exit Examination System
29 | P a g e
Web Based Graduate Exit Examination System
30 | P a g e
Web Based Graduate Exit Examination System
31 | P a g e
Web Based Graduate Exit Examination System
32 | P a g e
Web Based Graduate Exit Examination System
33 | P a g e
Web Based Graduate Exit Examination System
Main server
clients/workstations
Business logic
PHP
<<TCP/IP>> Web browsers
SQL
Web server
34 | P a g e
Web Based Graduate Exit Examination System
35 | P a g e
Web Based Graduate Exit Examination System
Client/User
take exam
Candidate
view result
Database
manage account
Admin
view report
Dep't Head
view comment
Exam editor
specify exam date
Registrar
View candidate list
36 | P a g e
Web Based Graduate Exit Examination System
Chapter Four
4. Implementation
4.1 Introduction
Implementation is defined as a specified set of activities designed to put into practice an activity
or program of known dimensions. It is the carrying out, execution, or practice of a plan, a
method, or any design, idea, model, specification, standard or policy for doing something. It is
also a realization of a technical specification or algorithm as a program, software component, or
other computer system through computer programing and deployment. It is the most crucial
phase in which it transform the design and analysis of the system into a tangible system by
writing the code to the system to be developed and make it operational and applicable by testing
and debugging the functionalities that are done. This makes the implementation stage more
essential step to develop the required system. So, it is the most vital and necessary stage in
achieving a successful system and in giving the users confidence that the new system will work
and be effective by testing the system that is already implemented. First phase of implementation
is coding. Coding is the process whereby the physical design specification created by the
designers is turned in to working computer code by the programmer. The code is made simple in
such a way that another programmer can easily understand and work on that in future. In our
project we use PHP programming language with MYSQL database. Interface implementation:
this part of implementation stage which includes interface page of the project includes home
page with applicant registration, manager page interface, system admin page and storekeeper
interface pages.
37 | P a g e
Web Based Graduate Exit Examination System
free ,runs on many different operating system and easy to access other web-based tools through
PHP.
MD5: Stand for Message-Digest Algorithm and it is a cryptographic hash function whose main
purpose is to verify that a file has been unaltered which is encrypted. MD5 has certain flaws and
so it isn't useful for advanced encryption applications, but it's perfectly acceptable to use it for
standard file verifications.
Random algorithm: This algorithm is used when the candidate take exit exam, then it makes
exam question order or ranked randomlly.the algorithm randomly order exam question is one
way of code of exam and control cheating because the question order is randomly ranked for
each candidate and the order of exam question is different from other candidate.
input[type="text"],input[type="password"],input[type="Submit"],input[type="reset"]
{
width: 180px;
height: 30px;
38 | P a g e
Web Based Graduate Exit Examination System
input[type="submit"],input[type="reset"]
{
background:#170b62;
color: #fdfdfd;
box-sizing: border-box;
font-size: 20px;
height: 40px;
}
</style>
</head>
<body>
<div class="login">
</form>
<?php
if(isset($_POST["login"]))
{
include("connection.php");
function encryptpassword($password )
39 | P a g e
Web Based Graduate Exit Examination System
{
$cryptKey='qJB0rGtIn5UB1xG03efyCp';
$passwordEncoded= base64_encode( mcrypt_encrypt( MCRYPT_RIJNDAEL_256, md5(
$cryptKey ), $password, MCRYPT_MODE_CBC, md5( md5( $cryptKey ) ) ) );
return( $passwordEncoded );
}
$uname=$_POST["un"];
$pass=$_POST["pass"];
$plaintext_password=$pass;
$password=encryptpassword($plaintext_password);
if($con)
{
//account
$sql="select * from account where username='$uname' and password='$password'";
$matchfound=mysql_query($sql,$con);
$userexist=mysql_num_rows($matchfound);
if($userexist>0)
{
$sql=mysql_query("delete from attempt");
while($row=mysql_fetch_assoc($matchfound))
{
$id=$row["uid"];
$un=$row["username"];
$pw=$row["password"];
$status=$row["status"];
$pw_status=$row["password_status"];
}
if($pw_status=="unchanged")
{
$_SESSION['userid']=$id;
$_SESSION['oldpassword']=$pass;
header("location:change_password.php");
}
40 | P a g e
Web Based Graduate Exit Examination System
else
{
$sqll="select * from user where uid='$id'";
$matchfound1=mysql_query($sqll,$con);
while($user=mysql_fetch_assoc($matchfound1))
{
$fname=$user["ufname"];
$mname=$user["umname"];
$lname=$user["ulname"];
$role=$user["role"];
$photo=$user["photo"];
}
//store value in session
$fullname=$fname." ".$mname." ".$lname;
$_SESSION['fullname']=$fullname;
$_SESSION['sun']=$un;
$_SESSION['spw']=$pw;
$_SESSION['role']=$role;
$_SESSION['$uid']=$id;
$_SESSION['sphoto']=$photo;
41 | P a g e
Web Based Graduate Exit Examination System
}
}
}
else
{
$count="insert";
$sql=mysql_query("select*from attempt");
$total=mysql_num_rows($sql);
$total++;
if($total>3)
{
42 | P a g e
Web Based Graduate Exit Examination System
}
else
echo"Connection fail".mysql_error();
}
?>
</div></body>
</html>
43 | P a g e
Web Based Graduate Exit Examination System
$sid=$_POST["sid"];
$qtype1=$_POST["qtype"];
if($con)
{
Take Exam
<?php
if(isset($_SESSION['sun'])&&isset($_SESSION['spw']))
{
$uid=$_SESSION['$uid'];
$username=$_SESSION['sun'];
$role=$_SESSION['role'];
$login_time=$_SESSION['login_time'];
$logout_time="empty";
$count=0;//check take exam before this or not
$number=0;//role number question
44 | P a g e
Web Based Graduate Exit Examination System
//check department
$sql="select * from candidate where cid='$uid'";
$recordfound=mysql_query($sql,$con);
while($row=mysql_fetch_assoc($recordfound))
{
$dept=$row["dept"];
$univesity=$row["unversity"];
$year=$row["year"];
$_SESSION['dept']=$dept;
$_SESSION['univesity']=$univesity;
$_SESSION['year']=$year;
}
?>
<div id="header">
<div id="banner">
<?php
require("dmu.php");
?>
<!--</div> <!--close welcome_slogan-->
</div><!--close banner-->
</div><!--close header-->
<div id="navigation">
<?php
require("candmenu.php");
?>
</div><!--close menubar-->
45 | P a g e
Web Based Graduate Exit Examination System
<div id="site_content"></div>
<div id="site_content">
<div class="sidebar_container">
</div>
<div id="content">
<fieldset class="fieldset">
<br><br>
<?php
$fullname=$_SESSION['fullname'];
$uname=$_SESSION['sun'];
$role=$_SESSION['role'];
$photo=$_SESSION['sphoto'];
?>
<div style="margin: 10px;float: right;border:1px Solid #dadcdc;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px
0 rgba(0, 0, 0, 0.19);margin-top: -15px;">
<table cellspacing="0" height="70">
<tr><td><b> &n
bsp;Role:</b></td><td><font color="#e9163c"> <?php echo
$role;?></font></td></tr>
<tr><td>Time Allowed </td> <td
style="font-weight: bold;font-size: 20px;"><div id="showtime" ></div></td> </tr>
</table>
</div>
<div class="style1">
46 | P a g e
Web Based Graduate Exit Examination System
<?php
// Retrive time According to Department
$sq="select * from timer where dept='$dept' and question_type='Regular' and year='$year'";
$t=mysql_query($sq,$con);
while($row=mysql_fetch_array($t))
{
$h=$row["hour"];
$m=$row["min"];
}
?>
<script language ="javascript" >
var tim;
var hour=<?php echo $h;?>;
var min =<?php echo $m+1;?>;
var sec =0;
var f = new Date();
function f1()
{
f2();
document.getElementById("starttime").innerHTML = "Your started Exam at " + f.getHours() +
":" + f.getMinutes();
}
function f2()
{
if (parseInt(sec) > 0){
sec = parseInt(sec) - 1;
document.getElementById("showtime").innerHTML = hour+" :"+min+" :" + sec;
tim = setTimeout("f2()", 1000);
}
else {
if (parseInt(sec) == 0) {
min = parseInt(min) - 1;
47 | P a g e
Web Based Graduate Exit Examination System
if (parseInt(min) == 0) {
var m=document.getElementById('Exam');
m.submit();
clearTimeout(tim);}
else {
sec = 60;
document.getElementById("showtime").innerHTML = "Your Left Time is " +
min + " Min " + sec + " Sec";
tim = setTimeout("f2()", 1000);
}}}}
</script>
<?php
$query="select *from question";
$rand=mysql_num_rows(mysql_query($query,$con));
//set question
$sq="select *from question WHERE dept='$dept' and status='active' and year='$year' and
question_type='Regular' ORDER BY RAND()
LIMIT $rand ";
$result = mysql_query($sq,$con);
// Loop through each records
?>
<?php
while($row = mysql_fetch_array($result))
{
$qid=$row["qid"];
$question=$row["question"];
$option1=$row["optiona"];
$option2=$row["optionb"];
$option3=$row["optionc"];
$option4=$row["optiond"];
$number++;
?>
48 | P a g e
Web Based Graduate Exit Examination System
<div id="radio_button">
<table id="question">
<form id="Exam" action="display.php" method="post" >
<hr>
<tr ><td colspan="2"><?php echo $number;?>. <?php echo $question;?></td> </tr>
<tr><td width="1"><input type="radio" name="<?php echo $qid;?>" value="A"/></td>
<td>A) <?php echo $option1;?> </td></tr>
<tr><td width="1"><input type="radio" name="<?php echo $qid;?>" value="B"/></td>
<td>B) <?php echo $option2;?> </td></tr>
<tr><td width="1"><input type="radio" name="<?php echo $qid;?>" value="C"/></td>
<td>C) <?php echo $option3;?> </td></tr>
<tr><td width="1"><input type="radio" name="<?php echo $qid;?>" value="D"/></td>
<td>D) <?php echo $option4;?> </td></tr>
<?php
}
?>
49 | P a g e
Web Based Graduate Exit Examination System
Chapter Five
5. Testing
5.1 Introduction
Developing software is a complex process. No matter how hard we try to eliminate
all faults simply by going through the development phases which is requirements
elicitation, requirement analysis, system design, and implementation, however
through good practice we can make sure that the most series fault does not occur in
the first place. In addition we need a separate testing phase, with the goal of
elimination all remaining faults before release the system.
Testing is the final phase of implementation. Testing is a process to show the
correctness of the program. Testing is checking of the system workability in an
attempt to discover errors and avoiding such errors from the system. In this the
team members tested the entire system as a whole with all forms and code. In this
we tested all the functionalities in the System. All errors in the forms, functions,
modules have been tested.
50 | P a g e
Web Based Graduate Exit Examination System
51 | P a g e
Web Based Graduate Exit Examination System
52 | P a g e
Web Based Graduate Exit Examination System
Chapter six
6.1 Conclusion
An effort has been made to study web based Gradate Exit Examination system for Ethiopian
higher education institutes as partial fulfillment in Information technology. Web based Gradate
Exit Examination system is computerized Exam taking system, exam marking and view exam
result system automatically. The system solve the problems which occur manually such as un-
readability of candidate answer or question, manual correction error, view results to candidate
after finish exam immediately and other problems which are occur in manual system. The system
is web-based application, which will host in the institute extranet network and is available to the
candidate within the institute as well as the exam setter set or prepare exam question according to
their department and academic year in the system. The exam setter not only prepare exam but
also can update or modify question for own departments. The exam taken to graduate student at
higher education institutes and automatically show the result status of each candidate according
to their identity. This is a very modern and qualified way of candidate assessment technique.
Because it is free from human intervention except adding questions and the software
management.
This project has been prepared with the objective of developing a new web based graduate exit
examination system for different higher educational institutions in Ethiopia The main objectives
of this project are to simplify and qualify the candidate evaluation/assessment mechanism by
providing automatic exam process and exam marking techniques. It provides on time exam
result, with no postpone unless technical problem on computers, electricity happens. The new
system will solve the current system drawbacks by making each Exit Exam questions available
digitally and usable anywhere within the institute network.
53 | P a g e
Web Based Graduate Exit Examination System
6.2 Recommendation
To use the system properly the all candidate must take computer training. The extranet network
connection must also available in all places. In addition to these the electricity must available in
all place and the users must be familiar to the system.
54 | P a g e
Web Based Graduate Exit Examination System
References
[2] "LAW School and Health medical college Interview," Debre Markos univesity, 01 Sep, 2003.
[Online]. [Accessed 05 Nov 2010].
[3] "Revised LL.B Exit Examination Guidlines Education Strategy center and Consortium of Ethiopian
Law School," [Online]. [Accessed 15 Nov 2010].
[4] "What are front-end and back-end programing language," [Online]. Available:
http://www.google.com. [Accessed 15 November 2010].
55 | P a g e