Project in PHP
Project in PHP
SYSTEM
A
Project Report
On
Dr. V. R. Patil
2021-2022
1
ONLINE EXAMINATION
SYSTEM
CERTIFICATE
Date: / /
2022 Place:
Kowad
2
ONLINE EXAMINATION
SYSTEM
DIST. KOLHAPUR
GUIDANCE CERTIFICATE
Place: Kowad
Date: /
/2022
(Project Guidance)
Prof. Madhavi K. Patil (BE Cs)
3
ONLINE EXAMINATION
SYSTEM
DECLARATION
Date: /
/2022
Place: Kowad
4
ONLINE EXAMINATION
SYSTEM
ACKNOWLEDGEMENT
Thanking You,
5
ONLINE EXAMINATION
SYSTEM
Index
Introduction to project: -
Introduction
Organization profile
Manual System :-
Existing system
Limitation of existing system
Proposed system
System Analysis : -
Database Structure
Source Code
Input(Form Layout)
Output (report)
Conclusion
Bibliography
6
ONLINE EXAMINATION
ABOUT PROJECT
INTRODUCTION
This project is developed for “Online Examination System” the information for
this project is collected from, Zep Academy, Gadhinglaj. The system maintains
the record of Student’s, Exam Time Table, Questions Bank and their respective
set, Answers, Result of Examination. Our project is based on network.
7
ONLINE EXAMINATION
time.
All the calculation and work is done manually so the error rate is high.
All works were done by workers and hence the profit rate was very low.
collapsed.
8
ONLINE EXAMINATION
The system takes much time to find, modify particular records of students.
9
ONLINE EXAMINATION
1
ONLINE EXAMINATION
METHODOLOGY
1
ONLINE EXAMINATION
PROPOSED SYSTEM
There are several aspects where computerization scores over the Manual
system. Some of them are:-
Searching any specific record becomes easier just enter unique id and you will get
the corresponding information very faster
Computer are very accurate than man. Computer calculates anything without
mistake.
One of the important features of the computer is its speed. It works very faster than
man.
1
ONLINE EXAMINATION
The full system is automatic and there is no need of human interaction for any
calculation.
The final reports of the system will be accurate and changing in the system
database will be much easier.
While generating the record proposed system auto generate all the important
reports and saves the times.
The software keeps the information out of the hands of unauthorized peoples and
hence keeps the information secure.
1
ONLINE EXAMINATION
SYSTEM
REQUIREMENT
1
ONLINE EXAMINATION
Software Requirement:
JAVA(Net beans IDE)
MySQL 5.5 or later
Jas per Report.
Operating System:-Windows-7 or Later.
Hardware Requirement:
Intel Dual Core or Higher Processor.
2 GB of RAM or Above.
Minimum 20 GB Hard-Disk.
1 Keyboard and Mouse.
Front End:
JSP, Servlet
Back End:
MySQL 5.5 or later.
1
ONLINE EXAMINATION
SYSTEM
ANALYSIS
1
ONLINE EXAMINATION
The process model used for this system “classic life cycle” as this is simple and is best for
small scale project.
1
ONLINE EXAMINATION
(DFD)
DATAFLOWDIAG
RAM
1
ONLINE EXAMINATION
1
ONLINE EXAMINATION
2
ONLINE EXAMINATION
2
ONLINE EXAMINATION
2
ONLINE EXAMINATION
(ERD)
ENTITY
RELATIONSHIP
DIAGRAM
2
ONLINE EXAMINATION
2
ONLINE EXAMINATION
SYSTEM
REQUIREMENT
2
ONLINE EXAMINATION
Software Requirement:
JAVA(Net beans IDE)
MySQL 5.5 or later
Jas per Report.
Operating System:-Windows-7 or Later.
Hardware Requirement:
Intel Dual Core or Higher Processor.
2 GB of RAM or Above.
Minimum 20 GB Hard-Disk.
1 Keyboard and Mouse.
Front End:
JAVA
Back End:
MySQL 5.5 or later.
2
ONLINE EXAMINATION
ABOUT JAVA
2
ONLINE EXAMINATION
ABOUT JAVA
Java applications are typically compiled to byte code that can run on any Java
virtual machine (JVM) regardless of computer architecture. As of 2016, Java is one of
the most use, particularly for client-server web applications, with a reported 9 million
developers. Java was originally developed by James Gosling at Sun
Microsystems(which has since been acquired by Oracle Corporation) and released in
1995 as a core component of Sun Microsystems' Java platform. The language derives
much of its syntax from C and C++, but it has fewer low-level facilities than either of
them.
The latest version is Java 9, released on September 21, 2017 and is one of the
two versions currently supported for free by Oracle. Versions earlier than Java 8 are
supported by companies on a commercial basis; e.g. by Oracle back to Java 6 as of
October 2017 (while they still "highly recommend that you uninstall" pre-Java 8 from
at least Windows computers).
2
ONLINE EXAMINATION
James Gosling, Mike Sheridan, and Patrick Naught on initiated the Java
language project in June 1991.[24] Java was originally designed for interactive
television, but it was too advanced for the digital cable television industry at the time.
The language was initially called Oak after an oak tree that stood outside Gosling’s
office. Later the project went by the name Green and was finally renamed Java, from
Java coffee. Gosling designed Java with a C/C++-style syntax that system and
application programmers would find familiar.
There were five primary goals in the creation of the Java language:-
2
ONLINE EXAMINATION
ABOUT MYSQL
DATABASE
3
ONLINE EXAMINATION
WHAT IS DATABSASE
A database is a separate application that stores a collection of data. Each database has
one or more distinct Application for creating, accessing managing, searching and
replicating the data it holds.
Other kinds of data stores can be used such as files on the file system or large hash
tables in memory but data fetching and writing would not be fast and easy with those
types of systems.
So now days we use relational database management systems (RDBMS) TO store and
manage huge volume of data. This is called relational database because all the data is
stored into different bales and relations are established using primary keys or other
keys known as for sign keys.
3
ONLINE EXAMINATION
3
ONLINE EXAMINATION
MySQL DATABASE
3
ONLINE EXAMINATION
DATABASE
DESIGN
3
ONLINE EXAMINATION
Table Description
1 Add_exam This table contains details of exam name which are added
By admin
2 Admin_signup This table contains details of Admin
3 User_signup This table contains details of User
4 exam This table contains details of Exam like Questions and
option.
5 Exam_page This table contains details of Questions and option.
6 registration This table contains details of User registration.
7 result This table contains details of result.
3
ONLINE EXAMINATION
1. Add_exam table -
2. Admin_signup table-
3. User_signup table-
3
ONLINE EXAMINATION
4. Exam table–
5. Exam_page table–
3
ONLINE EXAMINATION
6. Result table -
7. Registration table-
3
ONLINE EXAMINATION
DATA
CODE
<%@PAGE IMPORT="JAVA.SQL.RESULTSET"%>
<%@PAGE IMPORT="JAVA.SQL.DRIVERMANAGER"%>
<%@PAGE IMPORT="JAVA.SQL.STATEMENT"%>
<%@PAGE IMPORT="JAVA.SQL.CONNECTION"%>
<!DOCTYPE HTML>
<HTML>
<HEAD>
<TITLE>QUERY PAGE</TITLE>
<SCRIPT SRC="VALIDATION.JS"></SCRIPT>
<STYLE>
.DIV1
FONT-FAMILY:TIME OF ROMEN;
3
ONLINE EXAMINATION
HEIGHT:400PX;WIDTH:45%;
MARGIN-LEFT:390PX;
BACKGROUND-COLOR: WHITE;
FONT-SIZE: LARGER;
MARGIN-TOP: 100PX;
H1:HOVER
FONT-FAMILY:TIME OF ROMEN;
MARGIN-TOP:50PX;
COLOR: BLUE;
.DIV1:HOVER
BACKGROUND-COLOR: WHITESMOKE;
INPUT[TYPE=TEXT]
{
4
ONLINE EXAMINATION
BORDER: NONE;
INPUT[TYPE=PASSWORD]
BORDER: NONE;
LABEL:HOVER
COLOR:BLUE
</STYLE>
<SCRIPT>
FUNCTION CLEAR()
DOCUMENT.GETELEMENTBYID("SSELECT").VALUE="";
DOCUMENT.GETELEMENTBYID("SCODE").VALUE="";
DOCUMENT.GETELEMENTBYID("SDISC").VALUE="";
4
ONLINE EXAMINATION
</SCRIPT>
</HEAD>
<BODY STYLE="BACKGROUND-IMAGE:URL(IMAGES_1.JPG)">
<%
CONNECTION CN=NULL;
STATEMENT ST=NULL;
TRY
CLASS.FORNAME("COM.MYSQL.JDBC.DRIVER");
4
ONLINE EXAMINATION
CN=DRIVERMANAGER.GETCONNECTION("JDBC:MYSQL://LOCALHOST:3306/DEMO1","ROOT","ROOT"
);
CATCH(EXCEPTION EX)
OUT.PRINTLN(EX);
INT ID=1;
TRY
ST=CN.CREATESTATEMENT();
RESULTSET RS=ST.EXECUTEQUERY(SQL);
WHILE(RS.NEXT())
ID=INTEGER.PARSEINT(RS.GETSTRING("USER_ID"))+1;
CATCH(EXCEPTION EX)
OUT.PRINTLN(EX);
4
ONLINE EXAMINATION
%>
<DIV CLASS="DIV1">
<CENTER><H1 STYLE="BACKGROUND-COLOR:GAINSBORO">ADD
LANGUAGE</H1></CENTER><BR>
<DIV CLASS="ROW">
<DIV CLASS="COL-SM-2">
</DIV>
<DIV CLASS="COL-SM-3">
<LABEL>ID</LABEL>
</DIV>
<DIV CLASS="COL-SM-6">
</DIV>
</DIV><BR>
<DIV CLASS="ROW">
<DIV CLASS="COL-SM-2">
4
ONLINE EXAMINATION
</DIV>
<DIV CLASS="COL-SM-3">
<LABEL>LANGUAGE</LABEL>
</DIV>
<DIV CLASS="COL-SM-6">
</DIV>
<BR><BR>
<DIV CLASS="ROW">
<DIV CLASS="COL-SM-2">
</DIV>
<DIV CLASS="COL-SM-3">
<LABEL>LANGUAGE CODE</LABEL>
</DIV>
<DIV CLASS="COL-SM-6">
</DIV>
</DIV><BR>
<DIV CLASS="ROW">
<DIV CLASS="COL-SM-2">
</DIV>
<DIV CLASS="COL-SM-3">
4
ONLINE EXAMINATION
<LABEL>DISCRIPTION</LABEL>
</DIV>
<DIV CLASS="COL-SM-6">
</DIV>
</DIV><BR>
<DIV CLASS="ROW">
<DIV CLASS="COL-SM-2">
</DIV>
<DIV CLASS="COL-SM-2">
</DIV>
<DIV CLASS="COL-SM-2">
</DIV>
<DIV CLASS="COL-SM-2">
</DIV>
<DIV CLASS="COL-SM-2">
4
ONLINE EXAMINATION
VALUE="SEARCH">
</DIV>
</DIV><BR>
</DIV>
</FORM>
<%
IF(REQUEST.GETATTRIBUTE("SCODE")==NULL)
%>
<SCRIPT>
CLEAR();
</SCRIPT>
<%
%>
</BODY>
</HTML>
4
ONLINE EXAMINATION
SOURCE
CODE
4
ONLINE EXAMINATION
<script src="validation.js"></script>
</head>
<style>
label
{
font: bold;
font-size: 15px;
font-family: arial black;
}
input[type=text]:hover
{
border: 2px solid darkgrey;
input[type=password]:hover
{
border: 2px solid darkgrey;
.div1
{
background-image:url(2.jpg);
width:400PX;
margin-left:180px;
margin-top:10px;
height:600px;
background-size:100% 660px;
background-repeat:no-repeat;
4
ONLINE EXAMINATION
float:left;
.div2
{
background-color:white;
width:450PX;
margin-top:10px;
height:600px;
float:left;
}
ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #333;
}
li {
float: left;
}
li a {
display: block;
color: white;
text-align: center;
padding: 14px 35px;
text-decoration: none;
}
li a:hover:not(.active) {
background-color: #111;
}
.active {
background-color: #4CAF50;
}
li a:hover
{
color: white;
5
ONLINE EXAMINATION
</style>
<script type="text/javascript">
function get()
{
varretval=confirm("Please Login First...........");
if(retval==true){
window.location="signup.jsp";
return true;
}
else
{
return false;
window.location="paperselection.jsp"
}
}
</script>
<body>
<ul>
<li><a class="active" href="home.html">Home</a></li>
<li><a href="signup.jsp">User Signup</a></li>
</ul>
</
5
ONLINE EXAMINATION
<div class="col-sm-2"></div>
</div>
<div class="row">
<div class="col-sm-2"></div>
<div class="col-sm-8">
<hr style="height:2px;background-color: black">
</div>
<div class="col-sm-2"></div>
</div>
<br>
<div class="row">
<div class="col-sm-2"></div>
<div class="col-sm-8">
<label> User Id:</label>
</div>
<div class="col-sm-2"></div>
</div>
<div class="row">
<div class="col-sm-2"></div>
<div class="col-sm-8">
<div class="input-container">
<i class="fafa-lock icon" style="background-
color:darkgrey;color:black;height:33px;width:35px;size:50px;padding:10px;text-
align:center"></i>
<input type="text" autocomplete="off" placeholder="Enter Id" name="uid"
autocomplete="off" style="width:80%;height:31px;padding:15px"></div>
</div>
<div class="col-sm-2"></div>
</div>
<br>
<div class="row">
<div class="col-sm-2"></div>
<div class="col-sm-8">
<label> Password:</label>
</div>
<div class="col-sm-2"></div>
</div>
<div class="row">
<div class="col-sm-2"></div>
<div class="col-sm-8">
<div class="input-container">
<i class="fafa-key icon" style="background-
color:darkgrey;color:black;height:33px;width:35px;size:50px;padding:10px;text-
align:center"></i>
<input type="password" placeholder="Enter Password" name="pass"
style="width:80%;height:31px;padding:15px">
</div>
</
5
ONLINE EXAMINATION
<div class="col-sm-2"></div>
</div>
<br>
<div class="row">
<div class="col-sm-2"></div>
<div class="col-sm-8">
<label> Confirm Password:</label>
</div>
<div class="col-sm-2"></div>
</div>
<div class="row">
<div class="col-sm-2"></div>
<div class="col-sm-8">
<div class="input-container">
<i class="fafa-key icon" style="background-
color:darkgrey;color:black;height:33px;width:35px;size:50px;padding:10px;text-
align:center"></i>
<input type="password" placeholder="Reenter Password" name="cpass"
style="width:80%;height:31px;padding:15px">
</div>
</div>
<div class="col-sm-2"></div>
</div>
<br>
<div class="row">
<div class="col-sm-2"></div>
<div class="col-sm-8">
<label> Mobile Number:</label>
</div>
<div class="col-sm-2"></div>
</div>
<div class="row">
<div class="col-sm-2"></div>
<div class="col-sm-8">
<div class="input-container">
<i class="fafa-mobile-phone icon" style="background-
color:darkgrey;color:black;height:33px;width:35px;size:50px;padding:10px;text-
align:center"></i>
<input type="text" placeholder="Enter Mobile Number" name="mno"
autocomplete="off" onkeypress="javascript:returnisNumber(event)"
maxlength="10"style="width:80%;height:31px;padding:15px">
</div>
</div>
<div class="col-sm-2"></div>
</div>
<br>
<div class="row">
5
ONLINE EXAMINATION
<div class="col-sm-2"></div>
<div class="col-sm-8">
<label> Email Id:</label>
</div>
<div class="col-sm-2"></div>
</div>
<div class="row">
<div class="col-sm-2"></div>
<div class="col-sm-8">
<div class="input-container">
<i class="fafa-envelope icon" style="background-
color:darkgrey;color:black;height:33px;width:35px;size:50px;padding:10px;text-
align:center"></i>
<div class="col-sm-3"></div>
</div>
</div>
</div>
</form>
</body>
</html>
5
ONLINE EXAMINATION
OUTPUT
DESIGN
5
ONLINE EXAMINATION
Home Page –
5
ONLINE EXAMINATION
5
ONLINE EXAMINATION
5
ONLINE EXAMINATION
5
ONLINE EXAMINATION
UserPaperSelectionPage -
6
ONLINE EXAMINATION
6
ONLINE EXAMINATION
6
ONLINE EXAMINATION
6
ONLINE EXAMINATION
6
ONLINE EXAMINATION
6
ONLINE EXAMINATION
REPORTS
6
ONLINE EXAMINATION
6
ONLINE EXAMINATION
6
ONLINE EXAMINATION
Result Report–
6
ONLINE EXAMINATION
7
ONLINE EXAMINATION
7
ONLINE EXAMINATION SYSTEM
CONCLUSION
The Online Banking Examination System is developed using Java and Sql fully
meets the objectives of the system for which it has been developed.
The system has reached a steady state where all bugs have been eliminated.
The system is operated at a high level of efficiency and all the teachers and user
associated with the system understands its advantage.
The system solves the problem.
It was intended to solve as requirement specification.
72
ONLINE EXAMINATION SYSTEM
BIBILIOGRAPHY
https://stackoverflow.com/java
73