Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Project Report On
Submitted by
Bharati Vidyapeeth’s
BATCH: 2017-2020
BVIMIT Page 1
Question Paper Generator
Bharati Vidyapeeth’s
CERTIFICATE
This is to certify that the project titled Question Paper Generatoris submitted by
Mr. Akshay A. Rokade during MCA SEM I of his course in partial fulfillment of Master of
Computer Application under the University of Mumbai, Mumbai through the Bharati
Vidyapeeth's Institute of Management and Information Technology,Navi Mumbai during
academic year 2016-17.
Dr. D.Y.Patil
Director
BVIMIT Page 2
Question Paper Generator
Bharati Vidyapeeth’s
CERTIFICATE
This is to certify that the project titled Question Paper Generator is successfully done by
Mr. Akshay A. Rokade during MCA SEM I of his course in partial fulfillment of Master’s
of Computer Application under the University of Mumbai, Mumbai through the Bharati
Vidyapeeth's Institute of Management and Information Technology, Navi Mumbai carried
out by him/her under our guidance and supervision.
BVIMIT Page 3
Question Paper Generator
Declaration
I hereby solemnly declare that the project entitled “Question Paper Generator” is an original
work done by me under the guidance and supervision of Prof. Rasika Patil submitted to
University of Mumbai in partial fulfillment of the requirement for the award of Master of
Computer Application(SEM I) during academic year 2017-2018.
I further declare that, to the best of my knowledge, this report or any part of the report is not
submitted in this University or in any other University.
BVIMIT Page 4
Question Paper Generator
Acknowledgment
I avail this opportunity to express my sincere and deep gratitude to many who are a factor in
helping me gain the knowledge and experience during the project and throughout the course.
I have great pleasure in presenting this project. The completion of this project is not merely
due to only my own efforts but also due to the guidance given by our professors.
I am thankful to our project guide Dr. Abhijit S. Desai / Prof. Rasika Patil for her support. I
also thank Dr. D.Y.Patil, Director BVIMITand respected faculty members for their kind
support and help throughout the entire course.
Finally I express my deep regards to all of those who stretch their helping hands in the
execution of my project.
BVIMIT Page 5
Question Paper Generator
Table of Contents
Abstract :
1. Literature Survey
2. Introduction
2.1 Introduction to Project (purpose , type of audience, Modules)
2.2 Domain Knowledge
2.3 Objective
2.4 Scope
3.Requirement Analysis
3.1 Requirement Gathering Techniques
4. System Study
4.1Existing system with Limitations
4.2 Proposed system with Advantages
5. System Analysis.
5.1 Gantt chart
5.2 Operating tools and technology
6. System Design
6.1 Use Case Diagram
6.2 DFD Diagram
6.3 Design Approaches
6.4 Database Design (with Normalization)
7. Coding
(Sample source code)
8. System Implementation
(Screen shots)
9. System Testing
9.1 Testing Methodologies
9.2 Test Cases
10. Limitation & Future Enhancement
11. References
BVIMIT Page 6
Question Paper Generator
Abstract :
In today’s age, education is the most important way of achieving success. When we discuss
education, it is imperative to mention tests and examination. Examinations prepare students in their
quest for knowledge. So, having a proper examination paper and format is quite necessary. Now the
traditional method of generating question paper has been manual. In this method certain officials
chalk out the question paper. But this method can be ineffective at times owing to bias, repetition
and security concerns. We have proposed an Automated process of Question Paper Generation
which is fast, streamlined, randomized and secure. Every task performed by this system is
automated so that storage space, bias and security is not a concern anymore. Furthermore, we have
proposed a new algorithm which ensures total randomization of questions and avoids repetitions.
The proposed system can be helpful to many educational institutes and NGO based institutes.
1. Literature Survey :
The outcome of coaching and education can be attained by performing evaluation to compute
student’s intellectual levels and therefore the written exam is a method for teachers to validate
student understanding and knowledge, as well as, to evaluate the degree to which students are able
to adjust a learning thesis in a given environment. Evaluation through written examination is a
conventional procedure but it is a universal test technique performed in almost of the educational
colleges present day. Therefore, the question must be catering in following with the subject contents
learned by students to attain learning outcomes. However, the technique of questions writing is very
demanding task for the teacher. The state is getting more challenging when teacher try to essential
learning that learners have achieved, and can reliably demonstrate at the end of a course or
program. Mapping of questions with the Course outcomes is one of the important challenges faced
while making Question paper. So Question paper validation is to be ensured to get desired standard
from outcome attainment perspective as well as learning levels perspective.
1. repetition of questions
2. Chapter wise allocation
3. Analysis of database
4. Formatting of paper
5. Paper pattern
2. Introduction :
In today’s world, time is a major concern. Any product that can effectively reduce time and power
consumption is accepted and appreciated. Thus we are presenting an Automated Question Paper
Generator System that can reduce time consumption by replacing the conventional method of
question paper generation system
A design of suitable automated system for generating question papers and managing related data
may prove vital in an Educational Institute. In this paper, we have proposed an integrated
automated system that stores questions related to a particular course and prints a question paper
based on its syllabus and curriculum.There are provisions to enter and edit data suitable to any
educational organization with complete freedom for specifying courses, semesters, syllabus and
pattern. This enables an educational institute to generate question ensuring security and non-
repetitiveness of question papers and is a boon for organizations with limited staff and resources.
BVIMIT Page 7
Question Paper Generator
Purpose :
Type of audience :
This project is use full for students and subject teachers….Teachers can put questions on the
site and they simply create Question paper.
Modules :
1. Login
2. Registration
3. OTP generation
4. Paper generation
Many Automatic Question Generation systems have been evolved for different domain like reading
comprehension, vocabulary assessment etc. There are some approaches that have been developed
for generating factual questions from reading material. In , HidenobuKunichika and Tomoki Katyama
employs highly advanced NLP technology based system. They have developed AQG system to
generate factual questions from the contents of story. The system employed the five methods for
question generation: to ask about the content of one sentence, to use synonyms or antonyms, to
use modifiers appeared in plural sentences, to ask the contents represented by plural sentences by
using a relative pronoun, and to ask relationship of time and space
BVIMIT Page 8
Question Paper Generator
2.3 Objective :
2.4 Scope :
BVIMIT Page 9
Question Paper Generator
3. Requirement Analysis :
For requirement gathering for the proposed system “Questing paper generator” we have used
the following requirement gathering technique: -
Asking: - Asking strategy has been most frequently used while developing the system.
Deriving information from existing system: - we have gone through the
communication technologies available in the present day. Also we have gone through
the number of site to collect the information regarding the proposed system.
4. System Study :
4.1 Existing system with Limitations :
The existing system for Question Paper Generation requires human staff to chalk out questions that
appear in the question paper. These teachers or professors select the questions according to the
syllabus and pattern as prescribed by the curriculum. The question paper then may be referred to a
higher authority who has the final say in these matters.
Limitation :
As most human working processes, this system suffers due to bias. There might be some questions
which are repeated in many question papers as the professor has a personal inclination towards
them. So there is no guarantee of pure randomly generated question paper. Other problems that
may plague this system are non-availability of staff and resources, natural calamities and accidents.
Also, the security of the system can be easily compromised if leverage over the person responsible
for generating question papers is obtained. Other limitations include: -
BVIMIT Page 10
Question Paper Generator
BVIMIT Page 11
Question Paper Generator
5. System Analysis :
Hardware Required
Processor : Pentium p4
RAM : 128MB
Hard Disc : 100GB
Software Required
Operating system : Windows 10.
Developing Tool : my sql,xamp server,
BVIMIT Page 12
Question Paper Generator
6. System Design :
6.1 Use case diagram:
6.2 DFD :
Level 0 :
0.0
7. Request Request
Questing paper
Profesor ADMIN
8. generation
9. Response Response
BVIMIT Page 13
Question Paper Generator
Level 1
Home
2.0 User_db
login
registration
4.0 home_db
Place question
5.0 home_db
Generating
paper
BVIMIT Page 14
Question Paper Generator
This model is used only when the requirements are very well known, clear and fixed.
Product definition is stable.
Technology is understood and easy to generate paper.
There are no ambiguous requirements
Ample resources with required expertise are available freely
The project is short.
professor and customer interaction is involved during the development of the product. Once
the product is ready then only it can be delivered to the end users. Once the product is
developed and if any failure occurs then the cost of fixing such issues are very high, because
we need to update everywhere from document till the logic.
BVIMIT Page 15
Question Paper Generator
AUTO_INCREMENT
2 email Varchar(255) Not null
7. Coding :
(Sample source code)
1. Index.php :-
<!DOCTYPE html>
<html lang="en">
<head>
<title>QuestionPaperGenerator</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
BVIMIT Page 16
Question Paper Generator
</ul>
</div>
</nav>
<div class="container">
<h1>Login</h1>
<div class="form-group">
<label for="inputEmail">Email</label>
<input class="form-control" type="email" name="inputEmail" required placeholder="Email
address" />
</div>
<div class="form-group">
<label for="password">Otp/Password</label>
<input class="form-control" type="password" name="password" required
placeholder="Password" />
</div>
<div class="form-group">
<button type="submit" class="btnbtn-default" name="submit">Login</button>
</div>
<div class="form-group">
<p><a href="#" id="myBtn11">Forgot Password?</a></p>
</div>
</div>
</form>
</div></div></div>
</div>
<div class="modal fade" id="myModal1" role="dialog">
<div class="modal-dialog">
BVIMIT Page 17
Question Paper Generator
<div class="jumbotron">
<div class="container text-center">
<h1>Question Paper Generator</h1>
<p>Generate Question Paper Automatically...</p>
</div><!-- End container -->
</div><!-- End jumbotron-->
<div class="row">
<div class="col-sm-8">
<h3>Generated Question Papers will be in encrypted
format.</h3>
<p>After generating the question paper the admin can
encrypt it using his/her public key.Hence no one can read and misuse it.Before the exam
admin will decrypt it and can take print of it.</p>
</div>
BVIMIT Page 18
Question Paper Generator
BVIMIT Page 19
Question Paper Generator
</section>
</div>
</div>
</div>
</body>
</html>
2.Login.php :
<?php
include 'dbcon.php';
//loginphp
//email college code
$email=$_POST['inputEmail'];
$otp=$_POST['password'];
$con = connect();
//login fetching code
$result=mysqli_query($con,"select * from registration where email='$email'");
$num_rows=mysqli_num_rows($result);
if($num_rows>0)
BVIMIT Page 20
Question Paper Generator
{
WHILE ($rows = mysqli_fetch_array($result))
{
if($rows[3]=="")
{
if($otp==$rows[2])
{
header("Location: changepasswd.php");
}
else
{
echo "<script type='text/javascript'>
alert('Please enter the correct OTP.');
window.open('index.php','_self');
</script>";
}
}
else if($email=="kolambkarashutosh@gmail.com" && $otp=="14101996")
{
echo "<script type='text/javascript'>
alert('Welcome Admin.');
window.open('admin.php','_self');
</script>";
}
else if($otp==$rows[3])
{
echo "<script type='text/javascript'>
alert('connection Successfull');
</script>";
session_start();
$_SESSION['user']=$email;
$_SESSION['coll']=$rows[1];
$link =
"<script>window.open('teacherprofile.php','_self')</script>";
echo $link;
}
else
{
echo "<script type='text/javascript'>
alert('please enter correct password');
window.open('index.php','_self');
</script>";
BVIMIT Page 21
Question Paper Generator
}
}
}
else
{
echo "<script type='text/javascript'>
alert('college code dose not exists.');
window.open('index.php','_self');
</script>";
}
mysqli_close($con);
?>
3.Registration.php :
<?php
include 'dbcon.php';
$con = connect();
function getotp(){
$pass="";
$alphabet =
"abcdefghijklmnopqrstuwxyzABCDEFGHIJKLMNOPQRSTUWXYZ0123456
789";
for ($i = 0; $i< 8; $i++)
{
$n = rand(0,strlen($alphabet)-1);
$pass = $pass . $alphabet[$n];
}
return $pass;
}
$otp=getotp();
function sendMail($email,$otp){
$to = $email; // this is your Email address
$from = "kolambkarashutosh@gmail.com"; // this is the sender's Email
address
$subject = "Form Signup";
$message = "Your Email address :".$email."\nYour one time password :
".$otp."\n \n \n Thank you for Registering under Question Paper Generation.";
$headers = "From:" . $from;
$headers2 = "From:" . $to;
mail($to,$subject,$message,$headers);
}
if(isset($_POST['submit']))
BVIMIT Page 22
Question Paper Generator
BVIMIT Page 23
Question Paper Generator
8. System Implementation :
(Screen shots)
1. Index page :-
2. Loginpage :-
BVIMIT Page 24
Question Paper Generator
3. Welcome page :
4. Editing page :
BVIMIT Page 25
Question Paper Generator
5. Generated paper :
6. Database :
BVIMIT Page 26
Question Paper Generator
9. System Testing
9.1 Testing Methodologies :
The software developed has been tested successfully using the following
testing strategies and any errors that are encountered are corrected and again the
part of the program or the procedure or function is put to testing until all the errors
are removed. A successful test is one that uncovers an as yet undiscovered error.
Note that the result of the system testing will prove that the system is working
correctly. It will give confidence to system designer, users of the system, prevent
frustration during implementation process etc.,
Unit Testing:
Unit testing is essentially for the verification of the code produced during
the coding phase and the goal is test the internal logic of the module/program.
In the Generic code project, the unit testing is done during coding phase of data
entry forms whether the functions are working properly or not. In this phase all
the drivers are tested they are rightly connected or not.
BVIMIT Page 27
Question Paper Generator
4. Uptating Display the 1. Add all the Page should Page is Pass
questions editing page questions and be submitted submitted
details. successfully. successfully.
2. Click on submit
button.
5. Generating Display the 1.Fill all the details. Paper Paper Pass
paper paper generate generating is
2. click on print button.
should be done
done successfully.
successfully.
BVIMIT Page 28
Question Paper Generator
6. Display Display the 1.click on show paper. Paper should paper is seen Pass
question paper. be seen.
paper
11. References :
1. www.stackoverflow.com
2. www.codeacademi.com
3. www.tutorialspoint.com
4. www.codeschool.com
5. www.W3Schools.com
BVIMIT Page 29
Question Paper Generator
BVIMIT Page 30