Escolar Documentos
Profissional Documentos
Cultura Documentos
A Project Report on
Submitted To
PUNE
As a Partial Fulfillment of Master in Information Technology
(MBA IT 2007-2011)
Submitted by
Mr. Mayank Sharma
SCDL, PUNE
Place: Delhi
Director,
SCDL, PUNE
Project
ONLINE EXAM SYSTEM
CONTENTS
Certificate
Acknowledgement
Preface
Online Exam System
Chapter 1: Introduction
1.1 Existing system
1.2 Problem Definition
1.3 Project Model
1.4 Project scope / Requirement
Chapter 2: Proposed System
2.1 Proposed System
2.2 Objective of System
Chapter 3: System Analysis
3.1 Context diagram
3.2 Data flow diagram Level I
3.3 Data flow diagram Level II
3.4 Data flow diagram Level III
3.6 Functional decomposition Diagram
Chapter 4: Design
4.1 ER diagram
4.2 Data Dictionary
4.3 Table Design
4.4 Input forms Design
4.5 Report Layout
Chapter 5: Validation/Future Expansion
5.1 Data Validation/ Validation Results
5.2 Sample Code
5.3 Quality of Code
5.4 Input Data Validation
5.5 Quality Report
5.6 Code Design
Chapter 6: Miscellaneous/References
CERTIFICATE
This is to certify that this is a bona fide record of the Project entitled Online Exam System was
done satisfactory.
This report had not been submitted for any other examination and does not form part of any other
course undergone by the candidate.
Place: Delhi
PREFACE
The well planned, properly executed and evaluated industrial training helps a lot in inoculating
good work culture. It provides linkage between the student and the industry in order to develop
the awareness of industrial approach to problem solving based on broad understanding of plant,
process, product and mode of operations of industrial organization.
The utility titled Payroll System is being developed with the intent to provide easy excess to
Payroll System. This will help to track requirement of emp. easy to maintain emp. record.
These projects have been developed using ASP.NET (C#) with SQL 2005. This is user friendly,
easy to use, understandable and satisfies all user requirements.
There is no doubt that in spite of strenuous efforts, errors might remain in the text. I truly
apologize for that.
Chapter I
Introduction
1.1 Existing System
Currently lots of online examination software available in the market. These online tests are
in the field of aptitude test. It has extra feature admin can create test according his
requirement. If admin think that he/she can to create a new test and give the time slot also.
The aim of this project i.e. ONLINE EXAM SYSTEM is all about the education. In this
software you can teach the take the online test. It has one more extra feature admin can
easily add the question, update the question and answer and delete also. Admin can make the
admin and delete also.
1.2 Problem Definition
In existing system multiple problems persist. As multiples student record are other course
missed. Due to no track record company is unable to find student. Out of huge collection
now only left 100 students. One more problem with existing system is if any student need
give new test urgently then without admin it is not possible.
1.2 Project scope / Requirement
Project should have following functionality/features
It should keep maintain record of all student
It should keep record of tests of student.
The student can make the id and give the test.
Operating Environment.
Hardware Requirement
Hardware is the term given to machinery itself and to various individual pieces of equipment.
It refers to the physical devices of a computer system. Thus the input, storage, processing control
and output devices are hardware.
Minimum Hardware Requirement of Client Side:
Processor
RAM
512 MB
HDD
40 GB
FDD
1.44 MB
CD-ROM
52X
DeskJet 670 C
Software Requirement
Software means a collection of program where the objective is to enhance the capabilities of the
hardware machine.
Minimum Software Requirement of Client Side:
9
Operating System
Windows 2000/XP
Database
10
Proposed System
Project should have following functionality/features
It has one more feature student enter his enrollment no. and then easily check the his/her
result.
Admin can easily update the question and delete also.
Admin can make the faculty id and set the password and details then faculty can easily
login his/her id.
The main concern of this project is to improve the efficiency and effectiveness of the
whole system.
System Requirement
The system on which the online exam system is installed must have Microsoft
windows OS in it.
2.2
The main objectives of using Relational Database Management System are as follows: 1. CONTROL REDUNDANCY : The System should identify existence of common data
and avoid duplicate recording relationships of pointers should be used to locate data which
are used many times selective redundancy is sometimes allowed to improve performance or
far better reliability.
3.
DATA SECURITY : This is concerned with protecting access to data protection is needed
at many levels for access, modification, deletion or display access restriction may be for
individual data items or group of items.
This may also be a narrative list consisting of existing functions that need to be re-implemented,
new functions that need to be added, and performance criteria for the new system.
Main Objectives are: Provide an innovative, cost efficient and effective online examination system.
Offer immediate cost savings on exam system with substantial long term saving over a
prolong period.
Streamline the recruitment process and reduce the corporate overall examination cycle.
12
The main concern of this project is to improve the efficiency and effectiveness of the
whole system.
Chapter 3
Analysis
13
User
Registration
User test
ONLINE EXAM
SYSTEM
User test
report
User Course
14
Ha
s
Registered Student
Incorrect
Login
Details
Login
Student Home
Forgot Password
Select Course
Has
Test
Result
15
Admin
Login
FUNCTION
ALTY
ADD
QUESTION
ADD
COURSE
ADD
FACULTY
16
CREATE
TEST
17
Chapter 4
Design
E-R DIAGRAM
Online Exam System
Has
U_id
U_fname
Registered User
u_dob
U_pass
Add
Q_id
t_id
Q_name
t_name
Q_opt4
Test
Question
Has
t_Dis
Q_opt3
t_time
Q_opt1
c_id
c_name
Course
C_des
18
Q_opt2
tbltest table
tblquestion Table
tblstudent Table
tblcourse Table
tbllogin Table
tbladmin Table
19
1. Faculty table
Field Name
id
fname
qualification
experties
photo
Data Type
Int(Primary key)
varchar(20)
varchar(20)
text
varchar(MAX)
2. dcap Table
Field Name
qid
question
op1
Op2
Op3
Op4
Data Type
Int(Primary key)
text
text
text
text
text
3. Course Table
Field Name
course_id
course_name
duration
fee
Data Type
Int(Primary key)
varchar(15)
varchar(10)
int
4. Admin Table
Field Name
admin_name
password
Data Type
varchar(20)
varchar(20)
5. Ansd Table
20
Field Name
qus_no
ans
Data Type
varchar(5)
text
6. Login2 table
Field Name
st_roll
stname
password
address
dob
gender
course
fee
duration
marks
U_block
U_no
Data Type
int(Primary key)
varchar(10)
varchar(10)
varchar(10)
varchar(10)
varchar(10)
varchar(10)
int
varchar(10)
int
Char
int
7. Question table
Field Name
qid
question
opt1
Opt2
Opt3
Opt4
correctans
Data Type
int(Primary key)
text
text
text
text
text
varchar(MAX)
8. Result Table
Field Name
enroll
marks
Data Type
int(Primary key)
int
21
9.test Table
Field Name
id
test_name
test_des
Data Type
numeric(18, 0) (Primary key)
varchar(250)
varchar(1000)
22
23
Company profile
24
Education
25
Institutes
26
Examination
27
Faculties
28
Result
29
Sign up
30
31
32
Data Validation
A crucial phase in the system life cycle is the successful implementation of the new system
design. Implementation simply means converting a new system design into operation. This
involves creating computer compatible files, training the operating staff and installing hardware,
terminals, communication network before the system is up and running. A critical factor in
conversion is not disrupting the functioning of the organization.
Following conversion, it is desirable to review the performance of the system and to evaluate it
against established criteria. Software maintenance follows conversion to the extent that changes
are necessary to maintain satisfactory operation relative to changes in the users environment.
Maintenance often includes minor enhancement or correction to problems that surface late in the
systems operation.
5.2 Sample Code
Last October I blogged about our plan to release the source code to the .NET Framework
libraries, and enable debugging support of them with Visual Studio 2008. Today I'm happy to
announce that this is now available for everyone to use. Specifically, you can now browse and
debug the source code for the following .NET Framework libraries:
33
We are in the process of adding additional framework libraries (including LINQ, WCF and
Workflow) to the above list. I'll blog details on them as they become available in the weeks and
months ahead.
34
By programmer
By user
Programmer level testing started at the time of development. Each and every form/report
designed was thoroughly tested with multiple sets of data satisfying various conditions. User was
involved at each level of development, as to avoid interface problems. Then, once the system
was complete it was tested with the test data, taken from the old system. A series of tests were
conducted. Errors incurred were removed simultaneously until users are satisfied.
After in house testing on the sample data the system was installed at users end. Some of the
problems faced were removed simultaneously.
35
S No.
A.
Observations
1) User-friendliness
OK
2) Consistent menus
NA
C.
VALIDATION TESTING
OK
D.
OK
Exception)
OK
OK
EFFICIENCY TESTING
1) Response time of the system
OK
OK
OK
Remarks:
PREPARED BY: ..
VERIFIED BY:
DATE:
36
We can have the SMS facility for the student and student search engine that can provide
the result on the basis of different criteria to search
Home.aspx
37
38
39
40
companyprofile.aspx
41
42
43
44
45
46
methodology.</span></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody
></table></td></tr></tbody></table></td></tr></tbody></table></td></tr>
<tr>
<td style="height: 21px">
<table cellspacing=0 cellpadding=0 width=780 border=0 align="center" style="left: 0px;
position: relative; top: -106px">
<tbody>
<tr>
<td class=verysmall bgcolor=#5293e2 height=45>
<p align=center><font color=#ffffff>this site is designed for 800 x 600
resolution for ie 4.0 and above<br>copyright 2000 educationgroom<a
href="http://www.dewsoftoverseas.com/"><font
color=#ffffff>.com</font></a> all rights
reserved.<br>site designed and developed by RAVI
KANTH</font></p></td></tr></tbody></table></td></tr>
</tbody></table>
</form></body></html>
companyprofile.aspx.cs
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class companyprofile : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
47
education.aspx
<%@ Page Language="C#" MasterPageFile="~/education.master" AutoEventWireup="true"
CodeFile="education.aspx.cs" Inherits="education" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table>
<tr>
<td><br /><br /><asp:TreeView runat="server" ID="tv1"
DataSourceID="SiteMapDataSource1" ShowLines="True"></asp:TreeView>
<asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" />
</td>
</tr>
</table>
</asp:Content>
education.aspx.cs
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class education : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
48
contact.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="contact.aspx.cs"
Inherits="contact" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html><head><title>dewsoftoverseas.com</title>
<meta http-equiv=content-type content="text/html; charset=windows-1252">
<meta content="mshtml 6.00.5730.13" name=generator>
<meta content=frontpage.editor.document name=progid><link
href="http://www.dewsoftoverseas.com/stylesheet1.css" type=text/css
rel=stylesheet>
<style>a {
color: black; text-decoration: none
}
a:hover {
color: #ff0000; text-decoration: underline
}
</style>
</head>
<body leftmargin=0 topmargin=0>
<table cellspacing=0 cellpadding=0 width=780 border=0 align="center">
<tbody>
<tr>
<td valign=bottom align=right bgcolor=green height=40>
<p style="margin-right: 12px">
</p></td></tr>
<tr>
<td valign=top>
<table cellspacing=0 cellpadding=0 width=780 border=0>
<tbody>
<tr>
49
50
51
contact.aspx.cs
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class contact : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
53
signin.aspx.cs
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
public partial class signin : System.Web.UI.Page
{
protected void b1_Click(object sender, EventArgs e)
{
Session["m"] = tb1.Text;
if(tb1.Text.Equals(""))
{
lb1.Text="please enter name";
return;
}
if(tb2.Text.Equals(""))
55
faculty.aspx
56
faculty.aspx.cs
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
57
result.aspx
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
CodeFile="result.aspx.cs" Inherits="result" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table style="width: 100%">
<tr>
<td style="width: 170px; font-size: 12pt; height: 26px;">
Eenrollment<asp:TextBox ID="tb1" runat="server"
Style="position: relative; left: 21px; top: 0px;" Width="49px" ></asp:TextBox>
<td><asp:Button ID="Button1" runat="server" OnClick="Button1_Click"
Style="position: relative; left: 14px; top: 0px;"
Text="SUBMIT" /></td>
<td><asp:Label ID="lblmsg" runat="server" Style="position: relative; left: 52px; top:
0px;" Text=" " Width="435px" ForeColor="Red" Font-Bold="True" FontSize="10pt"></asp:Label></td>
</tr>
</table>
58
result.aspx.cs
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
public partial class result : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
global.type = "0";
DataSet ds = global.searchstudent(tb1.Text);
if ((ds != null) && (ds.Tables[0].Rows.Count > 0))
{
DataView dw = new DataView(ds.Tables[0]);
GridView1.DataSource = dw;
59
}
else
{
lblmsg.Text = "No student found for entered search criteria";
}
}
}
protected void Button1_Click(object sender, EventArgs e)
{
try
{
DataSet ds = global.searchstudent(tb1.Text);
if (ds != null && ds.Tables[0].Rows.Count > 0)
{
GridView1.Visible = true;
DataView dw = new DataView(ds.Tables[0]);
dw.AllowEdit = false;
dw.AllowDelete = false;
dw.AllowNew = false;
GridView1.DataSource = dw;
GridView1.DataBind();
lblmsg.Text = "";
}
else
{
GridView1.Visible = false;
lblmsg.Text = "No student found for entered search criteria";
return;
}
}
catch (Exception ex)
{
lblmsg.Text = (ex.Message.ToString());
return;
}
60
}
protected void GridView1_SelectedIndexChanged(object sender, EventArgs e)
{
GridViewRow row = GridView1.SelectedRow;
global.studentname = row.Cells[0].Text;
global.student_name = row.Cells[1].Text;
}
}
s.aspx
61
62
s.aspx.cs
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
63
64
65
66
1. Bibliography
I used several books and web-sites during the development of this project. Details of
some books and web-sites are given below:Books:
ASP.NET UNLEASHED.Stephen Walther.
Web References
http://opensmpp.logica.com/introhtml/menu.htm
www.devshock.com
www.msdn.com
http://www.asp.net/
http://msdn.microsoft.com/netframework/windowsforms/
www.sas.com
www.bonrix.net
67