You are on page 1of 15

In its current scope, the software enables user to retrieve and update the

information from centralized database designed with MySQL. This software


does not require much training time of the users due to limited functionality
and simplicity.
During the development of Quiz management software project, open-source
event-driven form-based development environment is used for modular design
and future expandability of the system. Despite of the best effort of the
developer, the following limitations and functional boundaries are visible,
which limits the scope of this application software.
1.This software can store records in pre-designed format in soft copy. There is
no facility yet to produce customized reports. Only specified reports are
covered.
2.There is no provision to do admission or transfer of a student or a staff
member however it can be developed easily with the help of adding modules.
So far as future scope of the project is concerned, firstly it is open to any
modular expansion i.e. other modules or functions can be designed and
embedded to handle the user need in future. Any part of the software and
reports can be modified independently without much effort

1
BENEFITS OF THIS QUIZ SOFTWARE:
1. Quick and easy to score, by hand or electronically
2. Can be written so that they test a wide range of higher-order thinking skills
3. Can cover lots of content areas on a single exam and still be answered in a
short period
4. Quick and easy to score
5.Students tend to actually read the material.
6.Students show up for class on time since the quiz always comes first.
7.Students are placed in the right attitude for learning.
8.Students feel more confident to discuss the material.
9.Students raise their grades by simply reading the material.
10.The start of class is signaled.
11.The quiz provides a good lead-in for either a lecture or discussion of the
material. 12.Students grow curious about the answers. At the end of quiz
(when the suspense is
killing them).
13.The easy chance to do well gives students a feeling of self-esteem.
14.40 quizzes can be graded in about five minutes, and we don't need to ask
factual questions on tests just to see if they've read the material.

2
3.THEORETICAL BACKGROUND:
Today one cannot afford to rely on the fallible human beings of be really wants
to stand against today's merciless competition where not to wise saying "to err
is human" no longer valid, it's outdated to rationalize your mistake. So, to keep
pace with time, to bring about the best result without malfunctioning and
greater efficiency so to replace the unending heaps of flies with a much-
sophisticated hard disk of the computer.
One has to use the data management software. Software has been an ascent
in atomization various organizations. Many software products working are now
in markets, which have helped in making the organizations work easier and
efficiently. Data management initially had to maintain a lot of ledgers and a lot
of paper work has to be done but now softwareproduct on this organization
has made their work faster and easier. Now only this software has to be loaded
on the computer and work can be done.
This prevents a lot of time and money. The work becomes fully automated and
any information regarding the organization can be obtained by clicking the
button. Moreover, now it's an age of computers of and automating such an
organization gives the better look.

3
What is Database?
Introduction and Concepts:
A database is a collection of information related to a particular subject or
purpose, such as tracking customer orders or maintaining a music collection.
Using any RDBMS application software like MS SQL Server, MySQL, Oracle,
Sybase etc.. you can manage all your information from a single database file.
Within the file, divide your data into separate storage containers called tables.
You may and retrieve the data using queries.
A table is a collection of data about a specific topic, such as products or
suppliers. Using a separate table for each topic means you can store that data
only once, which makes your database more efficient and reduces data-entry
errors. Table organizes data into columns (called fields) and rows (called
records).
A Primary key is one or more fields whose value or values uniquely identify
each record in a table. In a relationship, a primary key is used to refer to
specific record in one table from another table.
A primary key is called foreign key when it is referred to from another table. To
find and retrieve just the data that meets conditions you specify, including data
from multiple tables, create a query. A query can also update or delete
multiple records at the same time, and perform built-in or custom calculations
on your data.

4
A computer database works as a electronic filing system, which has a large
number of ways of cross- referencing, and this allows the user many different
ways in which to re-organize and retrieve data. A database can handle business
inventory, accounting and filing and use the information in its files to prepare
summaries, estimates and other reports. The management of data in a
database system is done by means of a general-purpose software package
called a Database Management System. Some commercially available DBMS
are MS SQL Server, MS ACCESS, INGRES, ORACLE, and Sybase. A database
management system, therefore, is a combination of hardware and software
that can be used to set up and monitor a database, and can manage the
updating and retrieval of database that has been stored in it. Most of the
database management systems have the following capabilities:
1.Creating of a table, addition, deletion, modification of records.
2.Retrieving data collectively or selectively.
3.The data stored can be sorted or indexed at the user's discretion and
direction. Various reports can be produced from the system. These may be
either standardized report or that may be specifically generated according to
specific user definition. Mathematical functions can be performed and the data
stored in the database can be manipulated with these functions to perform the
desired calculations to maintain data integrity and database use.
The DBMS interprets and processes users' requests to retrieve information
from a database. In most cases, a query request will have to penetrate several
layers of software in the DBMS and operating system before the physical
database can be accessed. The DBMS responds to a query by invoking the
appropriate subprograms, each of which performs its special function to
interpret
the query, or to locate the desired data in the database and present it in the
desired order.
MySQL is a database management system.
A database is a structured collection of data. It may be anything from a simple
shopping list to a picture gallery or the vast amounts of information in a
corporate network. To add, access, and process data stored in a computer

5
database; you need a database management system such as MySQL Server.
Since computers are very good at handling large amounts of data, database
management systems play a central role in computing, as standalone utilities,
or as parts of other applications.
MySQL is based on SQL. A relational database stores data in separate tables
rather than putting all the data in one big storeroom. This adds speed and
flexibility. The SQL part of "MySQL" stands for "Structured Query Language."
SQL is the most common standardized language used to access databases and
is defined by the ANSI/ISO SQL Standard. The SQL standard has been evolving
since 1986 and several versions exist. In this manual, "SQL-92" refers to the
standard released in 1992, "SQL: 1999" refers to the standard released in 1999,
and "SQL: 2003" refers to the current version of the standard.
• MySQL software is Open Source. Open-Source means that it is possible for
anyone to use and modify the software. Anybody can download the MySQL
software from the Internet and use it without paying anything. If you wish, you
may study the source code and change it to suit your needs. The MySQL
software uses the GPL (GNU General Public License),
The MySQL Database Server is very fast, reliable, and easy to use. If that is
what you are looking for, you should give it a try. MySQL Server also has a
practical set of features developed in close cooperation with our users. You
can find a performance comparison of MySQL Server with other database
managers on our benchmark page. MySQL Server was originally developed to
handle large databases much faster than existing solutions and has been
successfully used in highly demanding production environments for several
years. Although under constant development, MySQL Server today offers a rich
and useful set of functions. Its connectivity, speed, and security make MySQL
Server highly suited for accessing databases on the Internet. MySQL Server
works in client/server or embedded systems.
The MySQL Database Software is a client/server system that consists of a
multi-threaded SQL server that supports different back ends, several different
client programs and libraries, administrative tools, and a wide range of
application programming interfaces (APIs).

6
The Main Features of MySQL:
Written in C and C++,
Works on many different platforms.
Uses multi-layered server design with independent modules.
Provides transactional and non-transactional storage engines. Designed to
make it relatively easy to add other storage engines. This is useful if you want
to provide an SQL interface for an in-house database. Uses a very fast thread-
based memory allocation system. Executes very fast joins using an optimized
nested-loop join. Implements SQL functions using a highly optimized class
library. that should be as fast as possible. Usually there is no memory
allocation at all after query initialization. Password security by encryption of all
password traffic when you connect to a server. Support for large databases.
We use MySQL Server with databases that contain 50 million records. We also
know of users who use MySQL Server with 200,000 tables and about
5,000,000,000 rows. MySQL client programs can be written in many languages.
A client library written in C is available for clients written in C or C++, or for any
language that provides C bindings. APIs for C, C++, Eiffel, Java, Perl, PHP,
Python, Ruby, and Tel are available, enabling MySQL clients to be written in
many languages of functions. Its connectivity, speed, and security make MySQL
Server highly MySOL Send work suited for accessingdatabases on the Internet.
MySQL Server works in client/server or embedded systems.
The MySQL Database Software is a client/server system that consists of a
multi-threaded SQL server that supports different back ends, several different
client programs and libraries, administrative tools, and a wide range of
application programming interfaces (APIs).
The Main Features of MySQL
Written in C and C++.
Works on many different platforms.

7
 Uses multi-layered server design with independent modules. Provides
transactional and non- transactional storage engines. Designed to make
it relatively easy to add other storage engines,
 This is useful if you want to provide an SQL interface for an in-house
database. Uses a very fast thread-based memory allocation system.
Executes very fast joins using an optimized nested-loop join. Implements
SQL functions using a highly optimized class library. that should be as
fast as possible. Usually there is no memory allocation
 at all after query initialization. Password security by encryption of all
password traffic
 when you connect to a server. Support for large databases. We use
MySQL Server with
 databases that contain 50 million records. We also know of users who
use MySQL
 Server with 200,000 tables and about 5,000,000,000 rows.
MySQL client programs can be written in many languages. A client library
written in C is available for clients written in C or C++, or for any language that
provides C bindings. APIs for C, C++, Eiffel, Java, Perl, PHP, Python, Ruby, and
Tel are available, enabling MySQL clients to be written in many languages

8
1.SYSTEM HARDWARE AND SOFTWARE REQUIREMENT:
1.1. HARDWARE REQUIREMENT:
1. OPERATING SYSTEM
2. PROCESSOR
WINDOWS 7 AND ABOVE
PENTIUM(ANY) OR AMD ATHALON
(3800+-4200+ DUAL CORE)
3. MOTHERBOARD
1.845 OR 915,995 FOR PENTIUM OR MSI K9MM-V VIA K8M800+8237R PLUS
CHIPSET
FOR AMD ATHALON
4. RAM
512MB+
5. Hard disk
SATA 40 GB OR ABOVE
6. CD/DVD r/w multi drive combo : (If back up required)
7. FLOPPY DRIVE 1.44 MB
8. MONITOR 14.1 or 15-17 inch
9. Key board and mouse
10. Printer
(If Backup required)
(if print is required - [Hard copy])
1.2. SOFTWARE REQUIREMENT:
The software used to run the python program are:
1. windows 7/10
2. python 3.9.1

9
6.SYSTEM DESIGN AND IMPLEMENTATION:
6.1. LANGUAGE FEATURES:
1. Interpreted
2. There are no separate compilation and execution steps like C and C++,
3. Directly run the program from the source code.
4. Internally, Python converts the source code into an intermediate form called
byte codes which is then translated into native language of specific computer
to run it.
5. No need to worry about linking and loading with libraries, etc.
6. Platform Independent
7. Python programs can be developed and executed on multiple operating
system platforms. 8. Python can be used on Linux, Windows, Macintosh,
Solaris and many more
9. Free and Open Source; Redistributable
10. High-level Language
11. In Python, no need to take care about low-level details such as managing
the memory used by the program.
12. Simple
13. Closer to English language; Easy to Learn 14. More emphasis on the
solution to the problem rather than the syntax
15. Embeddable
16. Python can be used within C/C++ program to give scripting capabilities for
the
program's users.
17. Robust:
Exceptional handling featuresMemory management techniques in built

10
DESIGNING AND CODING:
CODING:
import mysql.connector
mydb=mysql.connector.connect(host="localhost",user="root",passwd="r
oot", database="quiz_comp")
mycursor-mydb.cursor()
#mycursor.execute("CREATE TABLE questions 1 (qno_no int(3)PRIMARY
KEY,qno_desc VARCHAR(500). opt a VARCHAR(50),opt_b VARCHAR(50),
opt_c VARCHAR(50), opt_d VARCHAR(50), ans VARCHAR(50))
print("QUIZ SOFTWARE")
print("1.questions")
print("2.participants")
") print("4.display") choice-int(input("enter your wish:"))
print("3.scores update")
if choice =1:
sql=int(input("enter the index_no:")) sqll=input("enter the ques_desc:")
sql2-input("enter the option a:") sq13=input("enter the option b:")
sql4=input("enter the option c:") sql5=input("enter the option d:")
sql6=input("the answer is:")
sql_in= "insert into questions 1 values(" + str( sql) + "," + (sql1)+ ""+","" +
(sql2) + ""+", (sql4)+""""""+(sql5)+"""+",""+(sql6)+"""")" +(sq13)+"+"""
mycursor.execute(sql_in)
mydb.commit()
print("your request has been processed. Thank you for making us as a part of
your project")
#mycursor.execute
("CREATE TABLE participants(reg_no int(5)PRIMARY KEY,pname
VARCHAR(50),age_ group int(10),city VARCHAR(50),no_of_appearances_made
int(10)")

11
if choice-2:
sql6=int(input("enter the participant reg_no:"))
sql7=input("enter the participant name:") sql8=int(input("enter the age
group:"))
sql9-input("enter the city:")
sql10=int(input("enter the no of appearances made:"))
sql_int="insert into participants values("+ str(sql6)+","" +
(sql7)+""+"""+str(sq18) + ""+","+(sq19)+"'"+
"""+str(sql10)+""")"
print(sql_int)
mycursor.execute(sql_int)
print("participants are all updated")
mydb.commit()
ycursor.execute("CREATE TABLE scores (ref_no int(5) PRIMARY
KEY,participant_name VARCHAR(50), scores int(50),total_correct
int(50),total_wrong int(50),total_attempted int(50))")
if choice= 3:
a=int(input("enter the reg_no"))
b=input("enter the participants name")
c=int(input("enter the scores"))
d=int(input("enter the total correct answer"))
e-int(input("enter the incorrect answer"))
f=int(input("enter the no_of_attempted_questions"))
sql_insert="insert into scores values("+ str(a) +","+ (b)+"+" "+ str(c)+":"+":"+
str(d)+""+" "+str(e) +*+",
str(f)+"
print(sql_insert)
mycursor.execute(sql_insert)

12
mydb.commit()
mycursor.execute("select * from questions!" )
data-mycursor.fetchall()
print(dat

13
7.CONCLUSION:
The Quiz Management application aims at the Employee assessment programs
carried out in the organization by conducting Quizzes. The application focuses
on creating a well-defined exam/quiz for individual departments. It also
maintains the clear record of our performance. safe and secure.
The 'Quiz management software' project 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.
Use of MySQL in quiz management program:
MySQL project on Quiz Management System is a web-based project and it has
been developed in MySQL and we can manage Quiz from this project. The
main objective to develop Quiz Management System MySQL Project is to
overcome the manual errors and make a computerized system.
In this project, there are various type of modules available to manage quiz. We
can also generate reports for Score, Academic, Quiz, Winner. Here the Quiz
module manages Quiz operations.
This is a Major Quiz Management System Project for our practicals in 12th
standard. Wehave implemented advance search feature for searching records
on various criteria for Score, Academic, participate also admin can perform
Create, read, update and delete (CRUD) operations on Performance, Quiz,
Winner. In this project all the modules like Academic, Quiz, Score are tightly
coupled and we can track the information easily.

14
8. REFERENCE:
https://www.w3schools.com/mysql/default.asp

https://www.w3schools.com/python/python mysal getstarted.asp

http://www.mysal.org/

15

You might also like