Download as pdf or txt
Download as pdf or txt
You are on page 1of 19

APPENDIX 1

ONLINE TEST SYSTEM

A MINI PROJECT REPORT

Submitted by

R RAHUL
PAARI CG
PREMKUMAR R
MUTHUKUMARAN R
MONISH DP

in partial fulfillment for the award of

the degree of

BACHELOR OF ENGINEERING
in
COMPUTER SCIENCE AND ENGINEERING

EASWARI ENGINEERING COLLEGE,


CHENNAI-600089

MAY 2023
APPENDIX 2

BONAFIDE CERTIFICATE
Certified that this project report “ONLINE TEST SYSTEM” is the bonafide
work of “R Rahul, Paari CG, Monish DP, Premkumar R, Muthukumaran
R”(310621104127,310621104111,310621104097,310621104100,310621104
123) who carried out the project work under my supervision. Certified further
that to the best of my knowledge the work reported herein does not form part
of any other thesis or dissertation on the basis of which a degree or award was
conferred on an earlier occasion on this or any other candidate.

SIGNATURE SIGNATURE

Internal HEAD OF THE DEPARTMENT

Submitted for Semester Mini-Project viva-voce examination held on _________

INTERNAL EXAMINER. EXTERNAL EXAMINER.


TABLE OF CONTENTS

CHAPTER NO TITLE PAGE NO

ABSTRACT V

1 INTRODUCTION 7
1.1 Overview of the project 7
1.2 Aim of the project 7

2 Requirement Specification 8
2.1 Functional Requirements 8
2.2 Non-Functional Requirements
8
2.2.1 Dependability 8
2.2.2 Availability
8
2.2.3 Reliability 8
2.2.4 Safety
8
2.2.5 Security 8
2.3 Details of the Software 8
2.4 Hardware Requirements 9
2.5 Software Requirements
9

3 SYSTEM IMPLEMENTATION 10
4 SNAPSHOTS 16
5 CONCLUSION 18
6 REFERENCES 19
ACKNOWLEDGEMENT

We hereby place our deep sense of gratitude to our beloved Founder


Chairman of the institution, Dr.T.R.Pachamuthu, B.Sc., M.I.E., for providing
us with the requisite infrastructure throughout the course. We would also like to
express our gratitude towards our Chairman Dr.R.Shivakumar, M.D., Ph.D. for
giving the necessary facilities.
We convey our sincere thanks to Dr.R.S.Kumar, M.Tech., Ph.D.
Principal Easwari Engineering College, for his encouragement and support. We
extend our hearty thanks to Dr.V.Elango, M.E., Ph.D., Vice Principal
(academics) and Dr.S.Nagarajan, M.E, Ph.D, Vice Principal (admin), Easwari
Engineering College, for their constant encouragement.
We take the privilege to extend our hearty thanks to Dr.G.S.Anandha
Mala, M.S, M.E, Ph.D., Head of the Department, Computer Science and
Engineering, Easwari Engineering College for her suggestions, support and
encouragement towards the completion of the project with perfection.
We would like to express our gratitude to our Mini Project and Lab
Coordinator, Mr. Justin Dhas Y, M.Tech, PhD Assistant Professor, Department
of Computer Science and Engineering, Easwari Engineering College, for his
constant support and encouragement.

Finally, we wholeheartedly thank all the faculty members of the Department


of Computer Science and Engineering for warm cooperation and encouragement.
ABSTRACT
Internet is the means for people to communicate, fulfil their needs and
exchanging ideas. Applications on Internet is playing very vital role now a
days. Internet made this world into a global ville . Now a days Internet is
means to full-fill your desire at mouse click and roam around the world
sitting in front of your computer.

This project can be useful to practice java questions and enrich their
knowledge in the field of Computer Science and engineering.

With modern technologies available all the examinations have been made
online for the convenience of students as well and hence this can be a good
tool to practice java questions as well.
CHAPTER 1
1.1 Overview of the project
In the existing system details are maintained manually. Due to this the data
retrieved is time consuming. Due to human calculation errors occur. Even
when the data is maintained on spreadsheet inconsistency occurs as an order
might be missed or wrongly entered or twice. Data are stride an excel sheet
which takes lot of time and data may be corrupted. Here we are not using
database to store the records but we are using an array to store the records

Let us see what is there in the application: You can answer to the set of java
questions that are displayed and you can verify finally how many answers have
been answered correctly and all these have been done using Swing concepts only.

• Following are the user interface components that will be shown in our
application-

1.2. Aim of the project


The objectives of online examination system or rather any other exam (purpose
of online examination system) is to make sure that the student is thoroughly
ware of the course curriculum and that the exam reflects the course content
he/she has studied.
Mapping your course content and exam questions is paramount to teaching and
education. It’s what gives us the satisfaction that we’re on track and that what
was intended to be taught and addressed in questions is actually done.
That’s why having structured courses, e.g., credit hours or weight, and item
mapping to establish the best designed exam questions is one of the top
advantages of online examination for students and teachers both.
CHAPTER 2
REQUIREMENT SPECIFICATION
A software requirement definition is an abstract description of the services which the system
should provide, and the constraints under which the system must operate. It should only specify
the external behavior of the system.

2.1 Functional requirements

In software engineering, a functional requirement defines a function of a software


system or its component. A function is described as a set of inputs, the behavior,
and outputs (see also software). Functional requirements may be calculations,
technical details, data manipulation and processing and other specific
functionality that define what a system is supposed to accomplish.
Behavioral requirements describing all the cases where the system uses the
functional requirements are captured in use cases. The various methods used in
this project are as follows:
Mouse: To navigate through the emulator.
Keyboard: To give inputs to the project.

2.2 Non-functional requirements: These are constraints on the services


or functions offered by the system. They include timing constraints,
constraints on the development process and standards. Non-functional
requirements often apply to the system as a whole.

Non-Functional Requirements are as follows:-


2.2.1 Dependability:
The dependability of a computer system is a property of the system
that equates to its trust worthiness. Trustworthiness essentially means the
degree of user confidence that the system will operate as they expect and that the
system will not ‘fail’ in normal use.

2.2.2 Availability: The ability of the system to deliver services when


requested. There is no error in the program while executing the program.

2.2.3 Reliability: The ability of the system to deliver services as specified.


The program is compatible with all types of operating system without any failure.

2.2.4 Safety: The ability of the system to operate without catastrophic failure.
This program is user friendly and it will never effects the system.

2.2.5 Security: The ability of the system to protect itself against accidental or
deliberate intrusion.
2.3 Details of the software
• This application was developed using Java that is mainly using concepts
of Graphics that is button, Labels and other components were used for the
creation of this application. To make it convenient for users bookmark has
been added so that they can revisit the unattempted questions.

• 2.4 Software and Hardware requirements


• HARDWARE REQUIREMENTS:
• System : Pentium Dual Core.
• Hard Disk : 120 GB.
• Monitor : 15’’ LED
• Input Devices : Keyboard, Mouse
• Ram : 1 GB.

• SOFTWARE REQUIREMENTS:
• Operating system : Windows 10.
• Coding Language : JAVA
CHAPTER 4
IMPLEMENTATION
To implement the Current system we have used different functions of our project which are as
follows:
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].setText("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].setText("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("ActionEvent");
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("destroy");
}
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 5
SNAPSHOTS
CHAPTER 6
CONCLUSION
The development of the project is not an easy process as it involves lot of challenges indifferent
stages of software analysis, design, coding and testing. Having understood the requirements
properly and implementing the solutions as per the expectation as brought to the closure of the
project. We have tried our best to make this project very realistic, so that the user does not face
any trouble when switching over from any real life to this highly useful one.
CHAPTER 7

REFERNCES:
Websites:

www.Github.com
javatpoint.com
www.Youtube.com

You might also like