0% found this document useful (0 votes)
54 views19 pages

Quiz Management Sysytem: A Mini Project

This document summarizes a mini project report on a Quiz Management System. It includes an abstract describing the system as allowing efficient evaluation of students through automated testing and fast results. It also includes an introduction outlining some key functions of the quiz game like editing scores, resetting scores, and showing records. Finally, it provides sample code for the quiz game including functions for different rounds, questions, answer options, and scoring.

Uploaded by

Uniquejoker
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
54 views19 pages

Quiz Management Sysytem: A Mini Project

This document summarizes a mini project report on a Quiz Management System. It includes an abstract describing the system as allowing efficient evaluation of students through automated testing and fast results. It also includes an introduction outlining some key functions of the quiz game like editing scores, resetting scores, and showing records. Finally, it provides sample code for the quiz game including functions for different rounds, questions, answer options, and scoring.

Uploaded by

Uniquejoker
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 19

QUIZ MANAGEMENT SYSYTEM

A MINI PROJECT
REPORT

submitted by

NAME UNIVERSITY REGISTRATION


ROLL NO.
ADITYA PAUL 123180702001 181230110182
AKASH DUTTA 123180702003 181230110184
AMRITENDU NATH 123180702004 181230110185
GOUTAM SUTRADHAR 123180702026 181230110207
DEBABRATA DEBNATH 123180702023 181230110204
DIBYENDU PAUL 123180702024 181230110205

in partial fulfillment for the award of the degree of


Bachelor of Technology
in
ELECTRONICS AND COMMUNICATION ENGINEERING
CERTIfICATE
Certified that this project report “ QUIZ MANAGEMENT SYSTEM”
is the work of “ ADITYA PAUL, AKASH DUTTA, AMRITENDU NATH,
GOUTAM SUTRADHAR, DEBABRATA DEBNATH & DIBYENDU PAUL”
who carried out the mini project under my supervision.

-------------- --------------
INTERNAL EXAMINER EXTERNAL EXAMINER
TABLE Of CONTENTS
CHAPTER CONTENT PAGE NO.

1 Abstract 4
2 Introduction 5
3 Program code 6
4 Result & Discussions 17
5 Acknowledgement 18
6 Conclusion 19
7 References 20
ABSTRACT
The QUIZ MANAGEMENT SYSTEM is a for to take quiz in an efficient manner
and no time wasting for checking the paper. The main objective of QUIZ
MANAGEMENT SYSTEM is to efficiently evaluate thoroughly through a fully
automated system that not only saves lot of time but also gives fast results.
It give papers for students according to their convenience and time and there
is no need of using extra thing. This can be also used in educational institutions
to conduct exam. No restriction that examiner has to be present when the
candidate takes the test. It saves time as it allows number of students to give
the exam at a time and displays the results as the test gets over, so no need
to wait for the result. It is automatically generated by the server.
Administrator has a privilege to create, modify and delete account for
teachers. Anyone can register, login and give the test with his specific id, and
can see the results as well. Teachers can also evaluate different contexts.
Anyone can also see who is currently online and also the highest scores. It
provides a competitive platform, where a anyone not only judges their

knowledge but also they can improve their knowledge at the same time .
INTRODUCTION
It is divided into many functions, and listed below are some of those which may
help to understand the project better.

 edit_score() – adds the current cash prize won to the previous one upon
giving the right answer to a question
 help() – help menu with game summary and rules
 reset_score() – to reset the highest score/cash prize to default
 show_record() – shows the highest cash prize won by a particular user
 show_score() – to view the highest score

In this quiz game mini project, one can store the user name, view the highest
score secured by a user, and even reset the score. Additionally, to make the game
look a little more interesting, it is divided into two rounds; user must pass the
first round to reach the second one.

Of the 2 rounds I mentioned above, the first is called the Warm-up Round; the
second is the Challenge round. In the warm-up round, the user is asked a total
of three simple questions and they must be able to answer at least two of them
correctly to enter the next round. If the user is not capable of doing that, he is
not permitted to proceed further.

The game ends when the user’s cash prize. For each question asked, there are 4
options, namely A, B, C and D. There are no negative markings, so the user’s
accumulated cash money won’t be deducted for wrong answers to the questions.
PROGRAM CODE

#include<stdio.h>

#include<conio.h>

#include<ctype.h>

#include<stdlib.h>

#include<string.h>

void show_record();

void reset_score();

void help();

void edit_score(float , char []);

int main()

int countr,r,r1,count,i,n;

float score;

char choice;

char playername[20];

mainhome:

system("cls");

printf("\t\t\tC PROGRAM QUIZ GAME\n");

printf("\n\t\t________________________________________");

printf("\n\t\t\t WELCOME ");

printf("\n\t\t\t to ");

printf("\n\t\t\t THE GAME ");

printf("\n\t\t________________________________________");

printf("\n\t\t________________________________________");

printf("\n\t\t BECOME A MILLIONAIRE!!!!!!!!!!! ") ;

printf("\n\t\t________________________________________");

printf("\n\t\t________________________________________");

printf("\n\t\t > Press S to start the game");

printf("\n\t\t > Press V to view the highest score ");


printf("\n\t\t > Press R to reset score");

printf("\n\t\t > press H for help ");

printf("\n\t\t > press Q to quit ");

printf("\n\t\t________________________________________\n\n");

choice=toupper(getch());

if (choice=='V')

show_record();

goto mainhome;

else if (choice=='H')

help();getch();

goto mainhome;

else if (choice=='R')

{reset_score();

getch();

goto mainhome;}

else if (choice=='Q')

exit(1);

else if(choice=='S')

system("cls");

printf("\n\n\n\n\n\n\n\n\n\n\t\t\tResister your name:");

gets(playername);

system("cls");

printf("\n ------------------ Welcome %s to C Program Quiz Game --------------------------",playername);

printf("\n\n Here are some tips you might wanna know before playing:");

printf("\n -------------------------------------------------------------------------");

printf("\n >> There are 2 rounds in this Quiz Game,WARMUP ROUND & CHALLANGE ROUND");

printf("\n >> In warmup round you will be asked a total of 3 questions to test your");

printf("\n general knowledge. You are eligible to play the game if you give atleast 2");
printf("\n right answers, otherwise you can't proceed further to the Challenge Round.");

printf("\n >> Your game starts with CHALLANGE ROUND. In this round you will be asked a");

printf("\n total of 10 questions. Each right answer will be awarded $100,000!");

printf("\n By this way you can win upto ONE MILLION cash prize!!!!!..........");

printf("\n >> You will be given 4 options and you have to press A, B ,C or D for the");

printf("\n right option.");

printf("\n >> You will be asked questions continuously, till right answers are given");

printf("\n >> No negative marking for wrong answers!");

printf("\n\n\t!!!!!!!!!!!!! ALL THE BEST !!!!!!!!!!!!!");

printf("\n\n\n Press Y to start the game!\n");

printf("\n Press any other key to return to the main menu!");

if (toupper(getch())=='Y')

goto home;

else

goto mainhome;

system("cls");

home:

system("cls");

count=0;

for(i=1;i<=3;i++)

system("cls");

r1=i;

switch(r1)

case 1:

printf("\n\nWhich of the following is a Palindrome number?");

printf("\n\nA.42042\t\tB.101010\n\nC.23232\t\tD.01234");
if (toupper(getch())=='C')

printf("\n\nCorrect!!!");count++;

getch();

break;

else

printf("\n\nWrong!!! The correct answer is C.23232");

getch();

break;

case 2:

printf("\n\n\nThe country with the highest environmental performance index is...");

printf("\n\nA.France\t\tB.Denmark\n\nC.Switzerland\t\tD.Finland");

if (toupper(getch())=='C')

{printf("\n\nCorrect!!!");count++;

getch();

break;}

else

{printf("\n\nWrong!!! The correct answer is C.Switzerland");

getch();

break;}

case 3:

printf("\n\n\nWhich animal laughs like human being?");

printf("\n\nA.Polar Bear\t\tB.Hyena\n\nC.Donkey\t\tD.Chimpanzee");

if (toupper(getch())=='B')

{printf("\n\nCorrect!!!");count++;

getch();

break;}

else

{printf("\n\nWrong!!! The correct answer is B.Hyena");

getch();
break;}

case 4:

printf("\n\n\nWho was awarded the youngest player award in Fifa World Cup 2006?");

printf("\n\nA.Wayne Rooney\t\tB.Lucas Podolski\n\nC.Lionel Messi\t\tD.Christiano Ronaldo");

if (toupper(getch())=='B')

{printf("\n\nCorrect!!!");count++;

getch();

break;}

else

{printf("\n\nWrong!!! The correct answer is B.Lucas Podolski");

getch();

break;}

case 5:

printf("\n\n\nWhich is the third highest mountain in the world?");

printf("\n\nA.Mt. K2\t\tB.Mt. Kanchanjungha\n\nC.Mt. Makalu\t\tD.Mt. Kilimanjaro");

if (toupper(getch())=='B')

{printf("\n\nCorrect!!!");count++;

getch();

break;}

else

{printf("\n\nWrong!!! The correct answer is B.Mt. Kanchanjungha");

getch();

break;}

case 6:

printf("\n\n\nWhat is the group of frogs known as?");

printf("\n\nA.A traffic\t\tB.A toddler\n\nC.A police\t\tD.An Army");

if (toupper(getch())=='D' )

{printf("\n\nCorrect!!!");count++;

getch();

break;}

else

{printf("\n\nWrong!!! The correct answer is D.An Army");


getch();

break;}}

if(count>=2)

{goto test;}

else

system("cls");

printf("\n\nSORRY YOU ARE NOT ELIGIBLE TO PLAY THIS GAME, BETTER LUCK NEXT TIME");

getch();

goto mainhome;

test:

system("cls");

printf("\n\n\t*** CONGRATULATION %s you are eligible to play the Game ***",playername);

printf("\n\n\n\n\t!Press any key to Start the Game!");

if(toupper(getch())=='p')

{goto game;}

game:

countr=0;

for(i=1;i<=10;i++)

{system("cls");

r=i;

switch(r)

case 1:

printf("\n\nWhat is the National Game of England?");

printf("\n\nA.Football\t\tB.Basketball\n\nC.Cricket\t\tD.Baseball");

if (toupper(getch())=='C')

{printf("\n\nCorrect!!!");countr++;getch();

break;getch();}

else

{printf("\n\nWrong!!! The correct answer is C.Cricket");getch();


goto score;

break;}

case 2:

printf("\n\n\nStudy of Earthquake is called............,");

printf("\n\nA.Seismology\t\tB.Cosmology\n\nC.Orology\t\tD.Etimology");

if (toupper(getch())=='A')

{printf("\n\nCorrect!!!");countr++;getch();

break;}

else

{printf("\n\nWrong!!! The correct answer is A.Seismology");getch();

goto score;

break;

case 3:

printf("\n\n\nAmong the top 10 highest peaks in the world, how many lie in Nepal? ");

printf("\n\nA.6\t\tB.7\n\nC.8\t\tD.9");

if (toupper(getch())=='C')

{printf("\n\nCorrect!!!");countr++;getch();

break;}

else

{printf("\n\nWrong!!! The correct answer is C.8");getch();

goto score;

break;}

case 4:

printf("\n\n\nThe Laws of Electromagnetic Induction were given by?");

printf("\n\nA.Faraday\t\tB.Tesla\n\nC.Maxwell\t\tD.Coulomb");

if (toupper(getch())=='A')

{printf("\n\nCorrect!!!");countr++;getch();

break;}

else

printf("\n\nWrong!!! The correct answer is A.Faraday");getch();


goto score;

break;

case 5:

printf("\n\n\nIn what unit is electric power measured?");

printf("\n\nA.Coulomb\t\tB.Watt\n\nC.Power\t\tD.Units");

if (toupper(getch())=='B')

{printf("\n\nCorrect!!!");countr++;getch(); break;}

else

printf("\n\nWrong!!! The correct answer is B.Power");

getch();

goto score;

break;

case 6:

printf("\n\n\nWhich element is found in Vitamin B12?");

printf("\n\nA.Zinc\t\tB.Cobalt\n\nC.Calcium\t\tD.Iron");

if (toupper(getch())=='B' )

{printf("\n\nCorrect!!!");countr++;getch();

break;}

else

{printf("\n\nWrong!!! The correct answer is B.Cobalt");goto score;

getch();

break;}

case 7:

printf("\n\n\nWhat is the National Name of Japan?");

printf("\n\nA.Polska\t\tB.Hellas\n\nC.Drukyul\t\tD.Nippon");

if (toupper(getch())=='D')

{printf("\n\nCorrect!!!");countr++;getch();

break;}

else
{printf("\n\nWrong!!! The correct answer is D.Nippon");getch();

goto score;

break;}

case 8:

printf("\n\n\nHow many times a piece of paper can be folded at the most?");

printf("\n\nA.6\t\tB.7\n\nC.8\t\tD.Depends on the size of paper");

if (toupper(getch())=='B')

{printf("\n\nCorrect!!!");countr++;getch(); break;}

else

{printf("\n\nWrong!!! The correct answer is B.7");getch();

goto score;

break;}

case 9:

printf("\n\n\nWhat is the capital of Denmark?");

printf("\n\nA.Copenhagen\t\tB.Helsinki\n\nC.Ajax\t\tD.Galatasaray");

if (toupper(getch())=='A')

{printf("\n\nCorrect!!!");countr++; getch();

break;}

else

{printf("\n\nWrong!!! The correct answer is A.Copenhagen");getch();

goto score;

break;}

case 10:

printf("\n\n\nWhich is the longest River in the world?");

printf("\n\nA.Nile\t\tB.Koshi\n\nC.Ganga\t\tD.Amazon");

if (toupper(getch())=='A')

{printf("\n\nCorrect!!!");countr++;getch(); break;}

else

{printf("\n\nWrong!!! The correct answer is A.Nile");getch();break;goto score;}

case 11:

printf("\n\n\nWhat is the color of the Black Box in aeroplanes?");


printf("\n\nA.White\t\tB.Black\n\nC.Orange\t\tD.Red");

if (toupper(getch())=='C')

{printf("\n\nCorrect!!!");countr++;getch();

break;}

else

{printf("\n\nWrong!!! The correct answer is C.Orange");getch();

break;goto score;}

case 12:

printf("\n\n\nWhich city is known at 'The City of Seven Hills'?");

printf("\n\nA.Rome\t\tB.Vactican City\n\nC.Madrid\t\tD.Berlin");

if (toupper(getch())=='A')

{printf("\n\nCorrect!!!");countr++;getch();

break;}

else

{printf("\n\nWrong!!! The correct answer is A.Rome");getch();

break;goto score;}

case 13:

printf("\n\n\nName the country where there no mosquitoes are found?");

printf("\n\nA.Japan\t\tB.Italy\n\nC.Argentina\t\tD.France");

if (toupper(getch())=='D')

{printf("\n\nCorrect!!!");countr++;getch();

break;}

else

{printf("\n\nWrong!!! The correct answer is D.France");getch();

break;goto score;}

case 14:

printf("\n\n\nWho is the author of 'Pulpasa Cafe'?");

printf("\n\nA.Narayan Wagle\t\tB.Lal Gopal Subedi\n\nC.B.P. Koirala\t\tD.Khagendra


Sangraula");

if (toupper(getch())=='A')

{printf("\n\nCorrect!!!");countr++;getch();

break;}
else

{printf("\n\nWrong!!! The correct answer is A.Narayan Wagle");

getch();

break;goto score;

case 15:

printf("\n\n\nWhich Blood Group is known as the Universal Recipient?");

printf("\n\nA.A\t\tB.AB\n\nC.B\t\tD.O");

if (toupper(getch())=='B')

printf("\n\nCorrect!!!");countr++;

getch();

break;}

else

{printf("\n\nWrong!!! The correct answer is B.AB");

getch();

goto score;

break;

return 0;

}
RESULT & DISCUSSIONS
CONCLUSION

The QUIZ MANAGEMENT SYSTEM is a for to take quiz in an efficient manner


and no time wasting for checking the paper. The main objective of QUIZ
MANAGEMENT SYSTEM is to efficiently evaluate thoroughly through a fully
automated system that not only saves lot of time but also gives fast results.
It give papers for students according to their convenience and time and there
is no need of using extra thing. This can be also used in educational institutions
to conduct exam. No restriction that examiner has to be present when the
candidate takes the test. It saves time as it allows number of students to give
the exam at a time and displays the results as the test gets over, so no need
to wait for the result. It is automatically generated by the server.
Administrator has a privilege to create, modify and delete account for
teachers. Anyone can register, login and give the test with his specific id, and
can see the results as well. Teachers can also evaluate different contexts.
Anyone can also see who is currently online and also the highest scores. It
provides a competitive platform, where a anyone not only judges their

knowledge but also they can improve their knowledge at the same time .
REfERENCE

1. https://www.slideshare.net/SARASWATENDRASINGH/online-
examination-system-project-report

2. https://www.codewithc.com/quiz-game-mini-project-in-c/

3. http://www.quiz-creator.com/quiz-management-system.html

4.

You might also like