ONLINE EXAMINATION USING JAVA
AN INTERNSHIP
PROJECT REPORT
Submitted by
RAJALAKSHMI M
Register No. 952621104031
A report submitted in partial fulfillment of the requirements for the award of
Degree of
BACHELOR OF ENGINEERING
IN
COMPUTER SCIENCE ENGINEERING
S.VEERASAMY CHETTIAR COLLEGE OF ENGINEERING
AND TECHNOLOGY, PULIYANGUDI-627 855
ANNA UNIVERSITY: CHENNAI -600 025
AUGUST 2024
S.VEERASAMY CHETTIAR COLLEGE OF ENGINEERING
AND TECHNOLOGY
ANNA UNIVERSITY: CHENNAI- 600 025
S.V.Nagar, Puliyangudi, Tamilnadu, India.
DEPARTMENT OF COMPUTER SCIENCE
BONAFIDE CERTIFICATE
Certified that this project “ONLINE EXAMINATION USING JAVA” is the
bonafide of “RAJALAKSHMI M” who carried out the project work under our supervision.
Internship Coordinator Head of the Department
Miss.Janani Mr.
Software Developer, Assistant Professor
PCS Software Solutions, S,Veerasamy Chettiar College of
Surandai-627859. Engineering And Technology,
Puliyangudi -627 855
AKCNOWLEDGEMENT
Firstly, I express my heartiest thanks and gratefulness to almighty God for His divine
blessing makes us possible to complete the project work successfully.
I really grateful and wish my profound my indebtedness to Supervisor
Miss.Janani, Software Developer, PCS Software Solutions, Surandai-627859. Deep
Knowledge & keen interest of my supervisor in the field of web development has helped
me enormously to carry out this project. Her endless patience, scholarly guidance,
continual encouragement, constant and energetic supervision, constructive criticism,
valuable advice, reading many inferior drafts and correcting them at all stage have made it
possible to complete this project.
I would like to express my heartiest gratitude to Mr.xxxxxx, Department of CSE, for his
kind help to finish my project.
I would also generously welcome each one of those individuals who have helped me
straight forwardly or in a roundabout way in making this project a win. In this unique
situation, I might want to thank the various staff individuals, both educating and non-
instructing, which have developed their convenient help and facilitated my undertaking.
Finally, I must acknowledge with due respect the constant support and patients of my
parents.
RAJALAKSHMI M
(952621104031)
TABLE OF CONTENTS
Content Page No.
CERTIFICATE
AKCNOWLEDGEMENT
TABLE OF CONTENTS
ABSTRACT 5
CHAPTER 1 COMPANY PROFILE 6
CHAPTER 2 WEEKLY OVERVIEW OF INTERNSHIP ACTIVITIES 8
CHAPTER 3 INTRODUCTION 10
CHAPTER 4 SYSTEM SPECIFICATION 13
CHAPTER 5 TECHNOLOGY LEARNT 14
CHAPTER 6 PROJECT DESCRIPTION 15
CHAPTER 7 CODING 17
CHAPTER 8 RESULTS 28
CHAPTER 9 CONCLUSION 29
CHAPTER 10 REFERENCES 30
ONLINE EXAMINATION USING JAVA
ABSTRACT
Most schools, colleges, universities, and even Government and Private Offices
have switched from traditional paper-based examinations to online
examinations. Due to the wide-spread applications, this project might help you
learn more about a wide variety of skills. The purpose of this project is to take
online test in an efficient manner and no time wasting for checking the paper.
The main objective of this project is to efficiently evaluate the candidate
thoroughly through a fully automated system that not only saves lot of time but
also gives fast results.
CHAPTER 1
COMPANY PROFILE
PCS Software Solutions is an independent software development and training
company, driven by industry experts and thought leaders in Web/Mobile
development and training domain. We work with some of the smartest software-
driven businesses around the world including software product start-ups as well
as MNC over 50 companies. We offer Website Development and Hosting
Services at affordable price. We develop the Website and as well as take over
the responsibility of maintaining your Website PCS offers the most effective
and result oriented Digital / Online Marketing Strategies for clients to establish
a good image of their brand in the Digital and Social Media. With keen industry
expertise and market knowledge, we will analyze the targeted audience to
determine the best way of business promotion through Digital Marketing using
various Online Promotions in Google, Facebook, Instagram & Youtube
Promotions.
VISION:
Be a global force in innovative solutions, quality excellence and redefine
creative thoughts. Striving to be a global force in innovative solutions, quality
excellence, and the redefinition of creative thoughts, we embark on a journey
that transcends boundaries. Our commitment extends beyond mere problem-
solving; it encompasses a vision to reshape industries and leave an indelible
mark on the global landscape. At the core of our mission is a relentless pursuit
of innovation, where we challenge the status quo and push the limits of what is
conceivable
MISSION:
We endeavour to bring innovative solutions to the forefront, employing
a simple yet effective approach that underscores our commitment to providing
deserving quality. Our mission is rooted in a dedication to pushing the
boundaries of what's possible, embracing creativity, and maintaining a relentless
pursuit of excellence. By adhering to these principles, we aim to not only meet
but exceed the expectations of our users, clients, and partners. Through a
combination of forward-thinking strategies and a focus on quality, we strive to
make a meaningful impact in every endeavour we undertake.
OUR SERVICES
WEBSITE DEVELOPMENT
MOBILE APPLICATION DEVELOPMENT
E-COMMERCE
WORDPRESS DEVELOPMENT
OUTSOURCING
CLOUD SERVICES
DIGITAL MARKETING
SEO
COLLEGE PROJECT
INTERNSHIP
SOFTWARE TRAINING
CHAPTER 2
WEEKLY OVERVIEW OF INTERNSHIP ACTIVITIES
DATE DAY NAME OF THETOPIC/MODULE
COMPLETED
1st WEEK
08/07/2024 Monday Introduction About JAVA & Set up
09/07/2024 Tuesday Datatypes & Variables
10/07/2024 Wednesday Operators
11/07/2024 Thursday Object Class
12/07/2024 Friday Strings
DATE DAY NAME OF THETOPIC/MODULE
COMPLETED
15/07/2024 Monday Control flow statements
2nd WEEK
16/07/2024 Tuesday JAVA Inheritance
18/07/2024 Thursday Polymorphism
19/07/2024 Friday Task
DATE DAY NAME OF THETOPIC/MODULE
COMPLETED
3rd WEEK 22/07/2024 Monday Abstraction
23/7/2024 Tuesday Encapsulation
24/07/2024 Wednesday Array
25/07/2024 Thursday OOPS
26/07/2024 Friday Task
DATE DAY NAME OF THETOPIC/MODULE
COMPLETED
Regex
4th WEEK
30/07/2024 Monday
31/07/2024 Tuesday Exception Handling
01/08/2024 Wednesday Multithreading
02/08/2024 Thursday Synchronization
03/08/2024 Friday Task & Live Project Explanation
DATE DAY NAME OF THETOPIC/MODULE
COMPLETED
5th WEEK
5/08/2024 Monday Project Requirement Analysis
6/08/2024 Tuesday Modules development
07/08/2024 Wednesday Debugging
08/08/2024 Thursday Project Completion
CHAPTER 3
INTRODUCTION
Online Examinations are being launched because a need for a destination that is
beneficial for both institutes and students. With this project, institutes can
register and host online exams. Students can give exams and view their results.
This project is an attempt to remove the existing flaws in the manual system of
conducting exams.
Online Exam System fulfils the requirements of the institutes to conduct the
exams online. They do not have to go to any software developer to make a
separate site for being able to conduct exams online. They just have to register
on the site and enter the exam details and the lists of the students which can
appear in the exam. Students can give exam without the need of going to any
physical destination. They can view the result at the same time. Thus the
purpose of the site is to provide a system that saves the efforts and time of both
the institutes and the students.
Internship Objectives
Internships are generally thought of to be reserved for college students looking
to gain experience in a particular field. However, a wide array of people can
benefit from Training Internships in order to receive real world experience and
develop their skills.
An objective for this position should emphasize the skills you already possess in
the area and your interest in learning more
Internships are utilized in a number of different career fields, including
architecture, engineering, healthcare, economics, advertising and many more.
Some internship is used to allow individuals to perform scientific research while
others are specifically designed to allow people to gain first-hand experience
working.
Utilizing internships is a great way to build your resume and develop skills that
can be emphasized in your resume for future jobs. When you are applying for a
Training Internship, make sure to highlight any special skills or talents that can
make you stand apart from the rest of the applicants so that you have an
improved chance of landing the position.
MOTIVATION FOR INTERNSHIP
My motivation for this internship was rooted in a desire to learn about
software development, gain practical experience, and contribute to
meaningful projects. This experience not only aimed to solidify my
technical expertise but also to prepare me for a successful career in an
ever-evolving technological landscape.
The motivation behind pursuing this internship was driven by my
passion for combining web development to create efficient, secure, and
user-friendly Web Applications. In an increasingly interconnected
digital world, the synergy between front-end development and back-end
development is crucial for delivering seamless online experiences. I
recognized that gaining practical experience in both domains would be
instrumental in advancing my career and contributing meaningfully to
the tech industry.
From a Software development perspective, my interest in JAVA
stemmed from the desire to build interactive and aesthetically pleasing
web interfaces. However, I also understood that even the most
beautifully designed Web applications require a Programming language
like JAVA.
The decision to undertake this internship was further motivated by the
opportunity to work in a professional setting, where I could apply my
theoretical knowledge to real-world scenarios. I was eager to face the
challenges and complexities of integrating web development with
network management, learning from industry experts, and gaining
hands-on experience with cutting-edge technologies.
Additionally, I was motivated by the prospect of contributing to
projects that have a tangible impact on users and organizations. The chance
to enhance network performance, implement security protocols, and ensure
high availability of applications aligned with my long-term career goals of
becoming a proficient full-stack developer with a strong foundation in
Software Development.
This internship also offered a platform to develop essential soft skills
such as teamwork, problem- solving, and project management.
Collaborating with professionals from diverse backgrounds and
working on interdisciplinary projects provided a holistic learning
experience that extended beyond technical knowledge.
In summary, my motivation for this internship was rooted in a desire to
bridge the gap between web developments, gain practical experience,
and contribute to meaningful projects. This experience not only aimed
to solidify my technical expertise but also to prepare me for a
successful career in an ever-evolving technological landscape
CHAPTER 4
SYSTEM REQUIREMENTS
The software requirement specification can produce at the culmination of
the analysis task. The function and performance allocated to software as part of
system engineering are refined by established a complete information
description, a detailed functional description, a representation of system
behavior, and indication of performance and design constrain, appropriate
validate criteria, and other information pertinent to requirements.
Software Requirements:
Text Editor : Visual Studio.
Language : JAVA.
Operating System : Windows 10.
Hardware Requirements:
Processor : Intel core i3
Memory : 8GB RAM
Hard Disk : 1TB
CHAPTER 5
TECHNOLOGY LEARNT
JAVA
Java is a popular programming language.
Java is used to develop mobile apps, web apps, desktop apps, games and
much more.
Java works on different platforms (Windows, Mac, Linux, Raspberry Pi,
etc.)
It is one of the most popular programming languages in the world
It has a large demand in the current job market
It is easy to learn and simple to use
It is open-source and free
It is secure, fast and powerful
It has huge community support (tens of millions of developers)
Java is an object oriented language which gives a clear structure to
programs and allows code to be reused, lowering development costs
As Java is close to C++ and C#, it makes it easy for programmers to
switch to Java or vice versa.
CHAPTER 6
PROJECT DESCRIPTION
Most schools, colleges, universities, and even Government and Private Offices
have switched from traditional paper-based examinations to online
examinations. Due to the wide-spread applications, this project might help you
learn more about a wide variety of skills.
The project should be capable of the following functionalities.
Login
Update Profile and Password
Selecting answers for MCQs
Writing Answers to questions
Closing session and Logout
EXISTING SYSTEM
The whole process of assigning test and evaluating their scores after the test,
was done manually till date. Processing the test paper i.e. checking and
distributing respective scores used to take time when the software was not
installed.
PROPOSED SYSTEM
The proposed system is to efficiently evaluate the candidate thoroughly through
a fully automated system that not only saves lot of time but also gives fast
results. For students they give papers according to their convenience and time
and there is no need of using extra thing like paper, pen etc.
LIMITATIONS OF THE PROJECT
In this project, there are given only 10 questions to play. User can
bookmark any question for the reconsideration while going to result.
We are using only java array to store the questions, options and answers
not database. You can use collection framework or database in place of
array.
CHAPTER 7
CODING
Online Examination*/
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
class OnlineTest extends JFrame implements ActionListener
JLabel l;
JRadioButton jb[]=new JRadioButton[5];
JButton b1,b2;
ButtonGroup bg;
int count=0,current=0,x=1,y=1,now=0;
int m[]=new int[10];
OnlineTest(String s)
super(s);
l=new JLabel();
add(l);
bg=new ButtonGroup();
for(int i=0;i<5;i++)
jb[i]=new JRadioButton();
add(jb[i]);
bg.add(jb[i]);
b1=new JButton("Next");
b2=new JButton("Bookmark");
b1.addActionListener(this);
b2.addActionListener(this);
add(b1);add(b2);
set();
l.setBounds(30,40,450,20);
jb[0].setBounds(50,80,100,20);
jb[1].setBounds(50,110,100,20);
jb[2].setBounds(50,140,100,20);
jb[3].setBounds(50,170,100,20);
b1.setBounds(100,240,100,30);
b2.setBounds(270,240,100,30);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
setLayout(null);
setLocation(250,100);
setVisible(true);
setSize(600,350);
public void actionPerformed(ActionEvent e)
if(e.getSource()==b1)
if(check())
count=count+1;
current++;
set();
if(current==9)
b1.setEnabled(false);
b2.setText("Result");
if(e.getActionCommand().equals("Bookmark"))
JButton bk=new JButton("Bookmark"+x);
bk.setBounds(480,20+30*x,100,30);
add(bk);
bk.addActionListener(this);
m[x]=current;
x++;
current++;
set();
if(current==9)
b2.setText("Result");
setVisible(false);
setVisible(true);
for(int i=0,y=1;i<x;i++,y++)
if(e.getActionCommand().equals("Bookmark"+y))
if(check())
count=count+1;
now=current;
current=m[y];
set();
((JButton)e.getSource()).setEnabled(false);
current=now;
if(e.getActionCommand().equals("Result"))
{
if(check())
count=count+1;
current++;
//System.out.println("correct ans="+count);
JOptionPane.showMessageDialog(this,"correct ans="+count);
System.exit(0);
} }
void set()
jb[4].setSelected(true);
if(current==0)
l.setText("Que1: Which one among these is not a primitive datatype?");
jb[0].setText("int");jb[1].setText("Float");jb[2].setText("boolean");jb[3].setText
("char");
if(current==1)
{
l.setText("Que2: Which class is available to all the class
automatically?");
jb[0].setText("Swing");jb[1].setText("Applet");jb[2].setText("Object");jb[3].set
Text("ActionEvent");
if(current==2)
l.setText("Que3: Which package is directly available to our class
without importing it?");
jb[0].setText("swing");jb[1].setText("applet");jb[2].setText("net");jb[3].setText(
"lang");
if(current==3)
l.setText("Que4: String class is defined in which package?");
jb[0].setText("lang");jb[1].setText("Swing");jb[2].setText("Applet");jb[3].setTe
xt("awt");
if(current==4)
{
l.setText("Que5: Which institute is best for java coaching?");
jb[0].setText("Utek");jb[1].setText("Aptech");jb[2].setText("SSS
IT");jb[3].setText("jtek");
if(current==5)
l.setText("Que6: Which one among these is not a keyword?");
jb[0].setText("class");jb[1].setText("int");jb[2].setText("get");jb[3].setText("if")
;
if(current==6)
l.setText("Que7: Which one among these is not a class? ");
jb[0].setText("Swing");jb[1].setText("Actionperformed");jb[2].setText("Action
Event");
jb[3].setText("Button");
if(current==7)
{
l.setText("Que8: which one among these is not a function of Object
class?");
jb[0].setText("toString");jb[1].setText("finalize");jb[2].setText("equals");
jb[3].setText("getDocumentBase");
if(current==8)
l.setText("Que9: which function is not present in Applet class?");
jb[0].setText("init");jb[1].setText("main");jb[2].setText("start");jb[3].setText("d
estroy");
if(current==9)
l.setText("Que10: Which one among these is not a valid component?");
jb[0].setText("JButton");jb[1].setText("JList");jb[2].setText("JButtonGroup");
jb[3].setText("JTextArea");
}
l.setBounds(30,40,450,20);
for(int i=0,j=0;i<=90;i+=30,j++)
jb[j].setBounds(50,80+i,200,20);
boolean check()
if(current==0)
return(jb[1].isSelected());
if(current==1)
return(jb[2].isSelected());
if(current==2)
return(jb[3].isSelected());
if(current==3)
return(jb[0].isSelected());
if(current==4)
return(jb[2].isSelected());
if(current==5)
return(jb[2].isSelected());
if(current==6)
return(jb[1].isSelected());
if(current==7)
return(jb[3].isSelected());
if(current==8)
return(jb[1].isSelected());
if(current==9)
return(jb[2].isSelected());
return false;
public static void main(String s[])
new OnlineTest("Online Test Of Java");
CHAPTER 8
RESULTS
CHAPTER 9
CONCLUSION
The On line Examination is developed using Java 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.
FUTURE ENHANCEMENT
There have been numerous cases of computer glitches, errors in content, and
security lapses reported in online examination .So in the near future the so –
called software could be made more secure and reliable. While electronic
glitches are rare, they have been known to occur, for instance when computer
crashes voided the efforts of thousands of student. There are also cases in which
the correction software has corrupted scores. so the software can be
programmed well so as to avoid corrupted scores.
CHAPTER 10
REFERENCES
https://www.w3schools.com/java/java_intro.asp
https://doi.org/10.22214/ijraset.2022.42880
https://ieeexplore.ieee.org/xpl/conhome/9898664/proceeding
https://ieeexplore.ieee.org/xpl/conhome/10143803/proceeding
https://jpinfotech.org/online-examination-system/