Java Project
Java Project
Java Project
Introduction to Project
The ‘MCQ Quiz Application’ project will be developed to overcome the time consuming
problem of manual system. Apart from that in current system, checking the answer sheets after
taking test, waste the examiners time, so this application will check the correct answer and save
the examiner time and carry the examination in an effective manner. The users which are use
this system don’t need to high computing knowledge and also system will inform them while
entering invalid data.
The aim of this project is to computerized the existing manual system and help the examiners to
save their valuable time and important data. Apart from this, data which are exist in this system,
will exist for long period of time and will be easy accessible. This project helps the examiners to
manage their services in a good way and provide a better service to their users.
The objective of this project is to manage the details of students, examinations, marks, courses
and papers in a good manner. The performance of the application will be fully control by
administrator and administrator can guaranty any one to access. The project will reduce the
manual process in managing examinations and all issues regarding that.
To conclude introduction, we have use these modules to follow the objectives of our project and
each of these modules have logical connections to other modules which they are depend.
2
selected test’, the questions of selected test will be displayed for the student to
attempt. Than student will be able to attempt the questions and after submitting,
student will receive a message that test is successfully attempt.
o Marks: Which able the particular students to have access to result of the test
which he/she attempt.
Existing Systems
There are various MCQ quiz applications exist in the internet with different criteria. Each
of the existing applications has their own goodness and problems. In this MCQ quiz application
which is designed and implemented in JSP based we try to overcome the existing problems with
following features:
Project Objectives
The main objective of the project MCQ Quiz Application is to manage the details of
students, examinations, marks, courses and papers. The project is totally at administrative end
and thus only the administrator is granted the access. The purpose of the project is to build an
application to reduce the manual work for managing the MCQ quiz and we will follow to achieve
these objectives in this project.
3
Methodology
The methodology of developing of project will be a step-by-step sequence to design,
develop and deliver the application. In software engineering this methodology called ‘waterfall
model’ which one portion of work follows after another in a linear sequence. Following steps will
be followed in this methodology:
- System must store information about users (Student and Teachers), tests, questions and
result;
- System should able the teacher to punch tests;
- Each teacher should be able to punch many tests;
4
- System should do not allow unauthorized user to enter the system;
- Each student should be able to attempt many tests;
- System should keep and display the results of Students;
- System should support test which one or more question dependent on it;
- System should allow the administrator to delete and update tests and questions
dependent on it.
Project Design
For designing and implementing of Online MCQ Quiz application we used HTML, CSS, JavaScript
and SQL Server with the context of Java and JSP. Following pages have been designed using
HTML, CSS and JavaScript to handle the defined objective of this project.
1. Index: This the first page which user observe after running the project. This page will able
the user to select the type of login. Selecting “Login as Teacher” will direct the user to
Teacher Login Page and selecting “Login as Student” will direct the user to Student Login
Page.
2. Login Pages: Login page exist for both teachers and student. After user select the type of
login from figure 2, the login page of particular user will be displayed. Users enter their
user name and password and after clicking on login first system will check is it a valid user
or not. If user is authenticated by the system, will be directed to particular Home Page
and if not authenticated by the system the message “Either user name or password is
incorrect” will be displayed to user.
5
Figure 3: Student & Teacher Login Pages
3. Home Pages: After users successfully login to system. Each particular user will be directed
to their particular Home Page which are “Teacher Home” and “Student Home”. Teacher
Home will able the teachers to observe information about the Online MCQ Quiz and
punch a test by clicking on “Punch Test” and observe student results by clicking on
“Student Marks”. Student Home will able the student to observe the information about
the Online MCQ Quiz, attempt a test by clicking on “Attempt Test” and observe his/her
result by click on “Marks”.
6
Figure 4: Teacher Home Page
By clicking on “Submit to Enter Question” button, teacher will be able to insert question for the particular
test which he/she enter its name. As the teacher enter the test name, an automatic ID will be generated
for this test in Test Table of database and all a session will be created, all questions which entered will be
store for the particular test according to Test ID and session which has been created. Teacher will receive
of “Question Successfully Sored” each time when he/she write the questions and its answer and click on
“Submit Question” button.
7
Figure 7: Insert Question Page
5. Student Marks: Clicking on “Student Marks” will direct the teacher to page which display the
result of all students which attempt the test.
6. Attempt Test: Clicking on “Attempt Test” on Student Home will direct the student to the page
which able the student to select the test he/she wish to attempt. After student select the test
from drop down list and click on “Go to Selected Test”, the system will be directed to the questions
of particular test.
8
Figure 9: Select Test Page of Student
When student select the test and click on “Go to Selected Test” the page will be directed to questions of
selected test. Student can attempt all questions of that test and after clicking on “Submit Test”, will
receive a message that “You Have Successfully Attempt” the test. If the particular student has already
attempt the test before, he/she will receive the message “Sorry, You Have Already Attempted this Test”.
7. Marks: Clicking on “Marks” in Student Home will direct the system to the page which will show
the result of particular student for all test he/she attempt.
9
Figure 11: Result off All Test for Particular Student Which Have Taken
Coding
As mentioned before, project is on java platform and its web based which is coded in NetBeans IDE with
help HTML, CSS and JavaScript. So codding exist for all following pages which sample of index pages
pasted:
- Index page
<%--
Document : index
Created on : Oct 23, 2018, 4:23:10 PM
Author : Behmanush
--%>
- Teacher Home
- Student Home
- Punching Test and its questions
10
- Selecting test and attempting its questions -
….
To conclude, this is a simple Online MCQ Quiz which able a teacher to punch MCQ question to system
which will be store in SQL Server database and able the student to attempt any test for once. The marks
of student will be calculated according to questions they attempt and will be displayed by the system to
teachers and student.
References
1. Patil, Pratek and Karl Moss, 2017, Java Database Programming with JDBC, Coriclis Group
Books.
2. Sierra, Kathy and Bert Bates, 2003, Head First Java, O’Reilly.
3. Sarcar, Vaskaran, 2018, Java Design Patterns, Apress.
4. http://www.javaworld.com/javaworld/jw-01-1998/jw-01-credentialreveiw.html
5. http://jdbc-tutorial.com
6. https://www.tutorialspoint.com/java
7. http://www.javapoint.com/java-tutorial
8. https://docs.oracle.com/javase/tutorial
11
View publication stats
12