PROJECT REPORT Automatic Question Paper Generating System
PROJECT REPORT Automatic Question Paper Generating System
PROJECT REPORT
Supervised By
Dr. Mir Sajjad Hussain Talpur
BY
ASIF ALI KHOSO (LEADER) 2K18-ITC-04
MUHAMMAD KHAN DETHO 2K18-ITC-110
BASIT ALI RAJPAR 2K18-ITC-42
ADBULLAH CHANDIO 2K18-ITC-13
WASEEM SAMOON 2K18-ITC-193
CERTIFICATE II
DEDICATION 04
COPYRIGHT 05
ABSTRACT 06
DECLARATION 07
I
Certificate
This is to certify that Mr. Asif Ali Khoso, Muhammad Khan Detho, Basit
Ali Rajpur, Abdullah Chandio and Waseem Samoon.
In partial fulfillment for the degree of BSIT (Hons.) from Information
Technology Centre, Sindh Agriculture University, Tandojam, he has
submitted report on Automatic Question Paper Generating System, during
the year 2022-2023.
This report is up to the standards of BSIT (Hons.) syllabus of Sindh
Agriculture University, Tandojam.
SUPERVISOR
DR. MIRSAJJAD HUSSAIN TALPUR
Associate Professor,
Information Technology Centre,
Sindh Agriculture University,
Tandojam.
II
T ANDOJAM
Research Certificate
This is to certify that the present project work entitled “Automatic Question
Paper Generating System ” embodied in this report has been carried out by Mr.
Asif Ali Khoso, Muhammad Khan Detho, Basit Ali Rajpur,
Abdullah Chandio and Waseem Samoon , during the academic year 2022-
2023 as a final project.
III
Dedication
Throughout our lives, our parents have been there for us, supporting us, cheering us on,
and doing all they could to help us reach our full potential.
It is devoted to ITC, where we develop, gain not only textual information but also the
We owe a debt of gratitude to the Almighty ALLAH, who bestowed upon us the insight,
For his invaluable assistance in shaping this report, we are eternally grateful. The study,
planning, and development of this project would not have been possible without the oversight
and direction of our project supervisor, DR. MIR SAJJAD HUSSAIN TALPUR, whom we
humbly acknowledge and appreciate. Without his careful supervision and assistance, we never
would have been able to put up the necessary resources and do the necessary study into the
Lastly, we'd want to express our gratitude to everyone who assisted us in any way with
this project, including the professors in our department who have been very supportive over the
Authors
4
Copyright
our report to the libraries and individuals for study purposes. However, no part of this
report or the information contained therein may be included in the publication or referred
5
Abstract
In today’s age, education is the most important way of achieving success. When we
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 Automatic 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.
6
Declaration
This report is our original work and has not been submitted, in whole or in part, for a degree at this or any
other university. Nor does it contain, to the best of our knowledge and belief, any material published or
ADBULLAH CHANDIO
WASEEM SAMOON
7
About Group Members
Realization of thoughts, translation of dreams, and fulfillment of desires and achievements of
aims depend upon coupled with painstaking efforts and sincerity of purpose. There is no denying
the fact that we are very much dedicated and devoted with this project. Off course, we deserve a
NAME REGISTRATION
8
CHAPTER NO. 1
INTRODUCTION
9
Introduction
A design of suitable automatic question paper generating 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. We have implemented a role-
based hierarchy which restricts access to the users. The system also deploys security mechanisms
that prohibit duplication of question papers. 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. Our system aims to provide fast operations, data storage and high security for all its
tasks. The evolution of traditional and existing Question Paper Generation systems and the need
for an automated system is unravelled in Section II. In Section III, we have proposed our revised
implementation and results of the system. Further, Section V concludes the paper and comments
10
Patterns or repetitions may occur Totally random and unbiased process
The research paper Framework for Automatic Examination Paper Generation System‟ has
provided a thorough insight into the process of automated paper generation. As the manual
technology into teaching and learning process is inevitable. A simple and efficient way for an
examination paper generation is provided. A three tier model is provided in this framework.
Generation of Examination Papers is governed by the Syllabus Engine, Pattern Composer and
Question Aggregator. The generated question paper is based on the pattern or skeleton of the
course. Questions are entered through the Question Aggregator. The attributes related to
questions are type, marks and complexity. All these attributes are efficiently used during
Question Paper Generation. The paper generator selects a question according to the pattern and
complexity. This engine also introduces marking systems wherein any selected question is
marked so that it might not be selected again. This prevents repetition of questions in subsequent
11
OBJECTIVES
1. To create a novel system for automatic question paper generation using PHP,
2. To use the Bootstrap Framework for making the design system user-friendly.
IMPORTANCE
For any university, the examination procedure is crucial. It may evaluate each student's
performance. Additionally, it would impact every student's calibre. This system offers a number
of useful modules, despite the fact that it is a very time-consuming and difficult effort for all the
instructors. It has an excellent interface and faultless security, and it can lower the likelihood of
error. excellent user experience, strong stability, tremendous security, Easy flexibility, accurate
database analysis, simple implementation, simple operation, and simple paper formatting .
12
PROJECT DESCRIPTION & SUMMARY
Automatic Question Paper Generator System. This project is a web application that was
Developed in PHP/OOP and MySQL Database. The project can help faculties, teachers, or
mentors to generate question papers for their classes. This system allows the users to store their
questions any time and when they generate a question paper, the system will randomly generate a
question paper. It has a simple and pleasant user interface using Bootstrap Framework and
AdminLTE Template. It also has user-friendly features and functionalities.
This Automatic Question Paper Generator System has 3 sides of user interfaces. It has Public
Side, Registered Users-Side, and Admin Panel user interfaces.
The Admin Panel is the side that is only accessible for the management. This side is mostly for
managing the content and the data list on the public and registered user sides. Here, you can
update the 'home' content, 'about' content, and contact information. The management can also
update the system logo, name, etc. This side can only list, view, and delete the users created
courses, classes, and question papers.
The Registered User-Side is the side of the system where faculties, teachers, or mentors can
manage their stored data. Any user can simply create their system user credential to gain access
to the features and functionalities of this side. They can only manage the data that they were the
ones who added. They can create, list, view, and delete data for courses, classes, and question
papers lists. This side's design is similar to the admin panel.
The Public-Side is the side of the system that serves as the website that is accessible for any
users and this side does not require any login procedure. The said side displays the 'home'
content, 'about' content, and contact information. It also serves as the portal of the management
and registered users to redirect to the pages where they can log in.
In this system, the Generated Question Papers Questions are being randomly fetched from th
database according to the number or count of questions per categories did the user
generates. The Generated Questionnaire or Question Paper is ready to print and if the user wants
to change the question in the same configuration, the user can simply reload the page.
13
CHAPTER NO. 2
LITERATURE SURVEY
14
LITERATURE SURVEY
Because of a growing field of education, examinations and the preparation of appropriate
question papers seems daunting, inefficient, time-consuming, and unnecessary for teachers.
Therefore, various applications, software, and databases have come up to tackle the situation. We
have looked into those applications in advance, which include the following.
Who worked on a system that uses shuffling algorithm, it randomizes the questions generated
from the database. The algorithm applied by them is quite straightforward and also extremely
easy to understand. The implementation of this algorithm can be easily performed in other
systems as well, worked on a question paper generator, which provides a solution to choose from
different challenging constraints and make it easy for the user to generate them within a very
short
Amount of time. It contains various modules which enables the system to affect all the systems
quickly. The modules like admin module, user module, and question entry and question
management makes it an easy task. Noor Hasimah Ibrahim Teo [3] who also worked on a system
in which text matching and question sorting was done by the system itself but one of the major
drawbacks of this system was that only limited questions that could be added into the system.
Suraj Kamya [4] their paper proposed a system based on fuzzy logic in which all constraints
were classified based upon the algorithm so that the system can be easily accustomed with them.
Vijay Krishnan Purohit [5], their proposed system is based on Bloom’s Taxonomy. It was an
adaptive system however the data is entered is assumed to be completely error-free which has the
15
PROPOSED SYSTEM
Conventional exam paper generation systems followed by institutes have many flaws such as
repeated questions in the paper and time requirements. To overcome them we are proposing a
new system.
publishers, and test paper setters who want to possess an enormous database of questions and
generate test papers frequently with ease. It mainly deals with the sorting, gathering and
There are two modules in this software: A. Admin Module B. User Module.
16
Admin Module
The Admin is senior staffs from the colleges or institutes who is responsible to manage questions
with constraints such as addition and updating various parameters such as courses, subjects,
chapters, marks and questions themselves. Admin will have their own login details.
User Module
A user can be a student studying in the institute for their personal study or a professor searching
for a good internal test paper. The user can generate a unique question paper by just filling in the
appropriate information in the constraints table given by the software to search the database and
17
ALGORITHM
The Web Application goes through following tasks for each module:
A: Admin Module: - i. Admin logs into the system using username and password assigned to
him/her to go to the next page. ii. Admin has the access to the database, so he can add, remove
subject, semester, course, and chapter. iii. The admin also has the choice to remove any of these
constraints to meet the user requirements. iv. Admin can also provide login credentials to the
B: User Module: - i. User logs in using their username and password. ii. A simple form that has
the options to select the name of the course, semester, subject, and the weightage of the marks of
the question. iii. Then user writes the question and then selects add option to add the question
into the database. iv. The form which includes the constraints to generate the question paper is
shown to the user. v. The form contains constraints such as course name, semester, subject, and
total marks. vi. User gets the options to generate 20,40, and 80marks question paper. vii. User se-
lects generate paper option and immediately user is provided with a question paper of specified
subject.
18
CHAPTER NO. 3
19
SYSTEM DESIGN
There has been huge progress in the field of web development within just a few years. Using
different libraries, it has become possible to make highly interactive, responsive design.
Eventually, these tools are accelerating web development. In addition to that, a version control
system such as git has created possibilities for working together in any project. Because of this,
many web development tools, finding the best tools for developing web applications can be
intimidating. In the same way, different web de- velopment tools and techniques are needed
for different types of businesses. For example, Website re- quirements for B2B businesses are
Front- End development begins with learning the basics of HTML, CSS, and
JavaScript and Bootstrap Framework. Besides basics of JavaScript, CSS and HTML, there are
20
frameworks and methodologies in JavaScript and CSS. In Ja- vaScript, most popular
frameworks are Angular, React and Vue.js. in CSS, Foundation and Bootstrap are the mostly
scenes activities happen while interacting with any website. Activities like buying books or
developer mainly works with three technologies such as databases, scripting, and the
architecture of websites. A back-end developer writes code and communicates between the
HTML is a markup language that provides the basic structure of the web page.
It is also regarded as the bones of a web page. It is used to create electronic documents,
which are called web pages. HTML code makes sure that the proper formatting of text and
images so that the internet browser displays them as creators intended. Cascading Style
sheets are laid over HTML to change the appearance of web pages. HTML consists of
opening and closing tags along with tag name. For example, tag name a is presented in the
There are not many components in HTML. However, most of the HTML tags have an
opening with tag name, tag attributes, and closing tag with a forward slash and the tag
21
name close. In addition to that, each tag is held within a less than and greater than angle
brackets. In the above example, the <a> tag is generating a link called Computer hope.
CSS is the short version of Cascading Stylesheet. It describes how HTML elements
degree of reuse and scope in a source HTML document. There are mainly three ways of
using CSS in an HTML document. They are external, internal, and inline stylesheets. An
external stylesheet can be used in any number of HTML document by using <link> element
in each HTML document. Internal stylesheets are enclosed in <style></style> tags within
<head> element of an HTML code. It can be only be applied to the document where it is
defined. Another CSS styling method is an inline stylesheet, which can be applied to styling
specific elements. It is not recommended to use inline stylesheet because inline styles
B OOTSTRAP
Bootstrap is very helpful for faster and easier web development. Mark Otto and
project on GitHub in 2011. It is a free front-end framework that gives the ability to make
responsive websites easily. It contains HTML and 7 CSS build design templates for
navigation, tables, buttons, image carousels, and many others. It is compatible with all
22
modern browsers such as Chrome, Firefox, Internet Explorer, and Safari. Bootstrap can be
directly used on the document without downloading and hosting by using Bootstrap CDN.
(w3 school,2020.)
P HP
is used for developing dynamic web pages. A scripting language means that PHP does
not require the compilation step because the original code written by the developer is
converted to computer instructions each time the interpreter meets the code. PHP was
first developed by Rasmus Lerdorf in 1994 to add some dynamic elements in his page.
PHP is open source project; many developers have worked on it to make it more
integrated with HTML and MySQL. Many millions of web pages are still running with
PHP as a back-end programming language. A server and PHP editor is must to run it
successfully. (Mathews, M. 2015.) Thus, in this thesis, the Sublime Text editor and
XAMPP server are used as a code editor and server, respectively. The latest version is
23
OOP
software design around data, or objects, rather than functions and logic. An object can be defined
as a data field that has unique attributes and behavior. OOP focuses on the objects that
developers want to manipulate rather than the logic required manipulating them. This approach
to programming is well-suited for programs that are large, complex and actively updated or
maintained. This includes programs for manufacturing and design, as well as mobile
applications; for example, OOP can be used for manufacturing system simulation software.
collaborative development, where projects are divided into groups. Additional benefits of OOP
include code reusability, scalability and efficiency. The first step in OOP is to collect all of the
objects a programmer wants to manipulate and identify how they relate to each other -- an
Once an object is known, it is labeled with a class of objects that defines the kind of data it
contains and any logic sequences that can manipulate it. Each distinct logic sequence is known as
M Y S QL
uses SQL as the standard database query language. A database is needed to store,
search, sort, and retrieve data over the internet. It is one of the most popular open-
24
source databases with many millions of websites using it. In this thesis, a local server
XAMPP was used as a local server for running the database. (Mathews, M. 2015.) The
best quality about PHP and MySQL is that they run in all hardware, support all
programming languages, and major operating system (Welling & Thompson, 2017).
X AMPP
MySQL, PHP, and Perl. XAMPP is very helpful in starting a project with PHP and
MySQL. It is basically used as a local server for running on its own desktop or laptop.
With the help of XAMPP, it is possible to test the client's website before uploading to the
remote web server. Each module, such as Apache, the database can be started and
stop by using the XAMPP control panel. It speeds up the development process.
(WordPress 2017.) In this thesis, XAMPP is being used as a local server for running
The database is needed to provide faster access to data and to provide non-static data.
Relational database MySQL was used to make a database that commonly consists of tables and
25
Figure: The client-server relationship between a web browser and a web server.
This is the external architecture of a web database system. It consists of two objects: a
web browser and a web server. Communication is needed between them. A web browser
requests the webserver. A web server then sends a request to the PHP engine, and the PHP
engine starts parsing the script. Inside the script, there are commands to connect to the database
and execute a query. PHP opens a connection to the MySQL server and sends the requested
D EVELOPMENT PROCESS
Once the setup is done, the development phase can begin. As the traditional
software development lifecycle, the web application development cycle starts with
deployment and postproduction. These are much-needed steps for the productive
26
D ESIGNING
The application must look and feel good in such a way that it looks different from others
(Web pixel Technologies,2016). Designing the website involves different phases like database
design, server design, and webpages design. A web application is a combination of various well-
structured webpages. Below is the diagram of the web application structure, database diagram,
D ATABASE
Record form were the databases table used in this project. ID was chosen primary key
because it must be unique and not null (GURU 99,2020). The primary key value increases when
a new record is added. The storage database table was used to store the information of comments
in database table. Likewise, the user table was used to store detailed information about comments
in the feedback. Furthermore, the contact Form database table was used to store the information
27
D EVELOPMENT
A server is needed to run and test the application frequently. So, the XAMPP server is
being used locally to create the webserver for developing this application. In this phase, an
application is created which fulfills the requirements identified in the previous steps. Changes are
inevitable during this phase so that the methodology should be scalable and proactive. The
product requirement document is followed while developing the application. This makes sure
that the application development is attained within a given timeframe. (Osetskyi, V, 2018.) This
phase marks the web application complete with forms, fulfilling requirement specifications,
Web programming languages like HTML, CSS. Bootstrap is used in front-end design.
They are combined to design scalable, easily maintainable front-end design. This is the part that
everyone sees without knowing what's going in the back-end part. The front end part has been
designed for all types of users by considering user interface and user experience. It is simple and
attractive. Navigation was made usual so that users could interact with the application easily.
Following figure 14 is the login page of the web application. This login page is like other types
of usual login pages; thus, it is easier for users to login. Furthermore, the color was chosen
28
B ACK - END DESIGN
interactive application, PHP as a back-end language is used. When an admin or user clicks to the
application, they can perform the task they wanted using the PHP programming language. There
are many files with a PHP extension. Each of them is linked whenever needed and made
adjustments accordingly. Data are synchronized between each page so that admin and users able
to get real-time data. In this thesis application, an admin can send the data in real-time to the
users, while users also get data in real-time. An admin has access to create, edit, and delete
orders that came from a different client. An admin would decide to send orders to users or
Figure: Login
29
Figure: Create Account
30
Figure: About Us
C ONTACT U S
This form found in the home page. Whoever visited the company web address could con-
tact the company for their purpose. Data filled by visitors are store in the database, and that data
would send to the database. To access the send button, visitors must fill the name, email address,
31
Figure: Contact
Figure Admin
32
Figure: User
33
Figure: Class Management
34
Figure : Add Question
35
Figure: Backend Database
36
CHAPTER NO. 4
ANALYSIS AND RESULTS
37
ANALYSIS AND RESULTS
The process of making a question paper was done manually which included steps like processing
the paper and allocating the marks to the questions. This was a tedious task, too much time was
The current system is extremely time consuming. ii. An excessive amount of time is consumed
withing the process of creating question papers of more subjects. iii. Numerous questions are
evaluated before finalizing them for the question paper. iv. The probability of paper leakage is
more in the current system as compared to proposed system. v. Processing of the paper takes
longer because it is done manually.
B: Proposed System: -
i. Large portion is covered by the system which helps to generate paper skillfully. ii. Generat-
ing question paper will be faster as it is automated. iii. Probability of paper leakage will dras-
tically decrease because admin will have all the control over the system. iv. This system is to-
tally unbiased and generates random questions with a click of a button. To compare the cur-
rent system and the proposed system we have outputs of 3 papers generated by the proposed
system and the manual system. Comparing two methods, that are,:
A: MANUAL, B: AUTOMATED
38
We found that,
Here we can see that when paper is generated manually, a single paper can take seven to ten
minutes and the proposed system does the same job in seconds. Factors which slow down the
i. Biased decision making ii. Lack of security iii. Time taken in selecting questions from a text
39
CHAPTER NO. 5
40
CONCLUSION AND FUTURE SCOPE
CONCLUSION
question papers based on a constraints table which leads to precise output with minimum
probability of errors. The system is completely unbiased and takes advantage of randomization
while generating the question paper. The user is just a few clicks away from generating an
FUTURE SCOPE
Automatic Question Paper Generator is designed keeping in mind with many future
possibilities that can improve the software to be more productive and secure. [2]
These include:
i. The methodologies that we presented for generating question paper show promising outcomes
and can be utilized as a basis for making a more advanced automatic and independent paper
generator.
ii. ii. This software can take its true form when a large number of questions are added into a dedi -
41
iii. iii. With the large database security threats are a major concern. To avoid this, a more secure
database can also be achieved, which will make sure that only an authorized person can have
iv. iv. Our effort is to develop this software for important exams such as SSC, HSC. This will be
beneficial to the students as they are more inclined to solve multiple papers.
v. v. With all these possibilities, this software will be more secure and will also provide much
better results.
ACKNOWLEDGEMENT
We would like to express our sincere thanks to Prof. Shweta Sharma, for her co
operation and guidance. We would also like to thank our computer department HOD, Prof.
Suvarna Pansambal and all the staff who have directed us to grow this project concept
throughout.
42
CHAPTER NO. 6
REFERENCES
43
References
[1] Mihir Joisher, Swapnil Ghagare, Mittal Patel, and Ritesh Rathi, “Automatic Question Paper
Generation System” International Journal of Advanced Research in computer and
communication Engineering (IJARCCE), vol.4 Dec 2015.
[2] Mrunal Patangare, Rushikesh Pangare, Shreyas Dorle, Uday Biradar, Kaustubh Kale,
“Android Based Exam Paper Generator” Proceeding of the Second International Conference on
Inventive Systems and Control (ICISC 2018).
[3] Noor Hasimah Ibrahim Teo, Nordin Abu Bakar and Moamed RezduanAbd Rashid,
“Representing Examination Question Knowledge into Genetic Algorithm”, IEEE Global
Engineering Education Conference (EDUCON), 2014.
[4] Suraj Kamya, Madhuri Sachdeva, Navdeep Dhaliwal and Sonit Singh, “Fuzzy Logic Based
Intelligent Question Paper Generator” IEEE International Advance Computing Conferenc
(IACC),2014.
[5] Vijay Krishnan Purohit, Abhijeet Kumar, Asma Jabeen, Saurabh Srivastava, R H Goudar,
Shiwangowda, “Design of Adaptive Question Bank Development and Management System”,
2nd IEEE International Conference on Parallel, Distributed and Grid Computing, 2012.
44