You are on page 1of 20

PRINCE SRIVARI SENIOR SECONDARY SCHOOL

NO 93,COLLEGE ROAD ,NANGANALLUR,CHENNAI-600061

Academic Year 2020-2021


Computer science project

TOPIC: To present a Python program on conducting


a quiz competition.
NAME OF THE STUDENT: M. SANKAR

CLASS & SECTION : XI-A

ROLL NO: 7

1
Miss. P. Kavitha Date:

PRINCE SRIVARI SENIOR SECONDARY SCHOOL

No 93, College road

Nanganallur

Chennai-600061

Certificate

This is to certify that the project work entitled “to present a python program on conducting a
quiz competition” was done under my supervision.

The project work was submitted by ‘M.SANKAR’ of class ‘XI-A’ as a part of the assessment in
AISSCE Computer Science practical examination .This is the original work done by the
candidate during the academic year 2020-2021.

Signature of Subject Teacher in–Charge Signature of External

Examiner

Signature of Principal School seal


2
INDEX

SNO TOPIC PAGE NO


1 Introduction 4

2 Source code 7

3 Output 13

4 Conclusion 18

5 acknowledgement 19

6 Bibliography 20

3
INTRODUCTION

WHAT IS A QUIZ?

A quiz is a form of game or mind sport, in which the players (as individuals or in teams) attempt to
answer questions correctly. It is a game to test the knowledge about a certain subject. In some
countries, a quiz is also a brief assessment used in education and similar fields to measure growth its
knowledge, abilities, and/or skills. The earliest known examples of the word date back to 1780; its
etymology is unknown, but it may have originated in student slang. It initially meant an "odd, eccentric
person" or a "joke, hoax Later (perhaps by association with words such as "inquisitive") it came to mean
"to observe, study intently and thence from about mid-19th century) "test, exam. Companies and
education usually want to test a specific area of knowledge rather than general Knowledge. In this way,
quizzes are an engaging method for companies and schools to measure growth in knowledge, abilities,
and/or skills. Typically, a quiz is a short test and doesn't have as great an impact on grades as a test.
Some teachers might not include the quiz score to determine the overall grade at all. Quizzes are often
given by teachers several times throughout a course. It's an easy way to keep track of progress from
both perspectives because it gives teachers and students a moment of reflection. Students can find the
subjects they need to focus on, and teachers gain insight into the knowledge gaps. There are different
kinds of questions that can be used for quizzes. Some examples include fill-in-the blank, multiple choice,
and true or false questions. It's even power able to have images as answers

ETYMOLOGY OF QUIZ

There is a well-known myth about the word quite that says that in 1791 a Dublin theatre owner named
Richard Daly made a bet that he could introduce a word into the language within 24 hours He then went
out and hired a group of street urchins to write the word "quiz", which was a nonsense word, on walls
around the city of Dublin, Within a day, the word was common currency and had acquired a meaning
(since p one knew what it meant, everyone thought it was some sort of test) and Daly hail some extra
cash in his pocket. However, there is no evidence to support the story, and the term was already in use
before the alleged bet in 1791.

4
IMPORTANCE OF QUIZ:

The earliest known examples of the word date back to 1780, its etymology is unknown, but it may have
originated in student slang. It initially meant an "odd, eccentric person" or a "joke, hoax". Later (perhaps
by association with words such as "inquisitive") it came to mean "to observe, study intently, and thence
(from about mid-19th century test, exam. There is a well-known myth about the word quiz that says that
in 1791 a Dublin theatre owner named Richard Daly made a bet that he could introduce a word into the
language within 24 hours. He then went out and hired a group of street urchins to write the word "quiz",
which was a nonsense word, on walls around the city of Dublin. Within a day, the word was common
currency and had acquired a meaning (since no one knew what it meant, everyone thought it was some
sort of test and Daly had some extra cash in his pocket. However, there is no evidence to support the
story, and the term was already in use before the alleged bet in 1791.

VARIOUS TYPES OF QUIZES.

1. Multiple-Choice Questions:

Probably the most common type of quiz questions, multiple-choice questions, or MCQS as they are
popularly known, are amongst the most effective ways to test learners. They present multiple possible
answer options for one question, one of which is right and the others are just distractors

a. Spin the Wheel:

A unique interactive template to present a pool of multiple-choice questions on a range of topics


subjects. Once the user spins the wheel it randomly selects and throws one question at a time from the
topic on which the wheel's needle rests.

2. Match-The-Pair:

A match-the-pair quiz involves two adjacent lists of words, pictures, or phrases. Each item in the first list
will pair with one (or more) items in the second. The classic interaction template to set a comprehensive
assessment using a variety of question types including match-the-pair questions

5
IN EDUCATION:

In an educational context, a quiz is usually a form of a student assessment, but often has fewer
questions of less difficulty and requires less time for completion than a test. This use is typically found in
the United States, Canada. The Philippines, and some colleges in India. For instance, in a mathematics
classroom, a quiz may check comprehension of a type of mathematical exercise. Some instructors
schedule a daily or weekly quiz ranging from five to thirty relatively easy questions for the purpose of
having the students review their previous lessons before attending the next class. A "pop quiz" is a quiz
that students are given no time to prepare for they are simply surprised with it in class

OTHER QUIZES:

Additionally, a personality quiz may be a series of multiple-choice questions about the respondent
without right or wrong answers. The responses to these questions are tallied according to a key, and the
result purports to reveal some quality of the respondent. This kind of "quiz" was originally popularized
by women's magazines such as Cosmopolitan. They have since become common on the Internet, where
the result page typically includes code which can be added to a blog entry to publicize the result. There
are also many online quizzes. Many webmasters have quiz sections on their websites and forums: for
instance, phpH82 has one MOD (modification) which allows users to submit quizzes, called the Male Is
MOD. The results of online quizzes are generally to be taken lightly, as they do not often reflect the true
personality or relationship. They are also rarely psychometrically valid However, they may occasion
reflection on the subject of the quiz and provide a springboard for a person to explore his or her
emotions, beliefs, or actions.

6
Source code

name= input ('enter your name :')

print('\n\n WELCOME',name)

print('\n\nWELCOME TO MEGA QUIZ \nLETS GO')

print('\nfirst question')

print('WHO FOUND PYTHON')

print('(a)chales babbage \n(b)graham bell\n(c)guido van rossum\n(d)arnold')

a=input('enter your answer:')

b='guido van rossum'

count=0

if a==b:

print(' correct answer')

count+=1

else:

print(' wrong answer')

7
print('\nsecond question')

print('WHO INVENTED THE ADDING MACHINE')

print('(a)gottfried \n(b)blaise pascal\n(c)john napier\n(d)none of these')

c=input('enter your answer:')

d='blaise pascal'

if c==d:

print(' correct answer')

count+=1

else:

print(' wrong answer')

print('\nthird question')

print('HOW MANY UNIQUE SYMBOLS ARE THERE IN HEXADECIMAL SYSTEM')

print('(a)16 \n(b)12\n(c)10\n(d)8')

e=input('enter your answer:')

f='16'

if e==f:

print(' correct answer')

count+=1

else:

print(' wrong answer')

8
print('\nfourth question')

print('HOW MANY BYTES ARE THERE IN 1 KLIOBYTE')

print('(a)65\n(b)1424\n(c)54\n(d)1024')

g=input('enter your answer:')

h='1024'

if g==h:

print(' correct answer')

count+=1

else:

print(' wrong answer')

print('\nfifth question')

print('WHICH OF THE FOLLOWING DEVICE CAN STORE LARGE ')

print('(a)zip disk\n(b)cd rom\n(c)hard disk\n(d)floppy disk')

i=input('enter your answer:')

j='hard disk'

if i==j:

print(' correct answer')

count+=1

else:

9
print(' wrong answer')

print('\nsixth question')

print('WHICH OF THE FOLLOWING IS NOT A CYBER CRIME ')

print('(a)scam’\n(b)phishing\n(c)child pornography\n(d)downvote a social media


post ')

k=input('enter your answer:')

l='downvote a social media post'

if k==l:

print(' correct answer')

count+=1

else:

print(' wrong answer')

print('\nseventh question')

print('KEY LOGGER IS A ')

print('(a)firmware\n(b)antivirus\n(c)spyware\n(d)all of these ')

m=input('enter your answer:')

n='spyware'

if m==n:

print(' correct answer')

count+=1
10
else:

print(' wrong answer')

print('\neighth question')

print('WHAT IS AN EXAMPLE FOR E-WASTE')

print('(a)an old computer\n(b)old clothes\n(c)empty cans\n(d)all of these ')

o=input('enter your answer:')

p='an old computer'

if o==p:

print(' correct answer')

count+=1

else:

print(' wrong answer')

print('\nninth question')

print('ACCORDING TO BOOLEAN LAWS: A+1=')

print("(a)1\n(b)A\n(c)0\n(d)A' ")

s=input('enter your answer:')

t='A'

if s==t:

print(' correct answer')

11
count+=1

else:

print(' wrong answer')

print('\nLAST question')

print('HOW MANY CHARACTERS IN ASCII CODE')

print('(a)300\n(b)256\n(c)298\n(d)260 ')

u=input('enter your answer:')

v='256'

if u==v:

print(' correct answer')

count+=1

else:

print(' wrong answer')

print("THANK YOU")

print('\n\n YOU HAVE SCORED ',count,'OUT OF 10')

print('HAVE A NICE DAY')

12
Output
enter your name:vishan

WELCOME vishan

WELCOME TO MEGA QUIZ

LETS GO

first question

WHO FOUND PYTHON

(a)chales babbage

(b)graham bell

(c)guido van rossum

(d)arnold

enter your answer:guido van rossum

correct answer

second question

WHO INVENTED THE ADDING MACHINE

13
(a)gottfried

(b)blaise pascal

(c)john napier

(d)none of these

enter your answer:blaise pascal

correct answer

third question

HOW MANY UNIQUE SYMBOLS ARE THERE IN HEXADECIMAL SYSTEM

(a)16

(b)12

(c)10

(d)8

enter your answer:16

correct answer

fourth question

HOW MANY BYTES ARE THERE IN 1 KLIOBYTE

(a)65

(b)1424

(c)54

14
(d)1024

enter your answer:1024

correct answer

fifth question

WHICH OF THE FOLLOWING DEVICE CAN STORE LARGE

(a)zip disk

(b)cd rom

(c)hard disk

(d)floppy disk

enter your answer:hard disk

correct answer

sixth question

WHICH OF THE FOLLOWING IS NOT A CYBER CRIME

(a)scam

(b)phishing

(c)child pornography

(d)downvote a social media post

enter your answer:downvote a social media post

correct answer

15
seventh question

KEY LOGGER IS A

(a)firmware

(b)antivirus

(c)spyware

(d)all of these

enter your answer:spyware

correct answer

eighth question

WHAT IS AN EXAMPLE FOR E-WASTE

(a)an old computer

(b)old clothes

(c)empty cans

(d)all of these

enter your answer:an old computer

correct answer

ninth question

ACCORDING TO BOOLEAN LAWS: A+1=

16
(a)1

(b)A

(c)0

(d)A'

enter your answer:A

correct answer

LAST question

HOW MANY CHARACTERS IN ASCII CODE

(a)300

(b)256

(c)298

(d)260

enter your answer:256

correct answer

THANK YOU

YOU HAVE SCORED 10 OUT OF 10

HAVE A NICE DAY

17
Conclusion

Thus in this project we have learnt how to a Python program on conducing a quiz competition, which
has been considered a best software due to its easy manipulation, reducing the large amount of paper
work Etc, which is Often regarded as a mesh work and time consuming.

From the output given above we get to sec the sample and working of the program.

18
Acknowledgement

I Thank my Computer science teacher P.Kavitha, for giving me a wonderful opportunity to do this project

I also thank my teacher, who guided and helped in completing this project. I would also like to thank my
Parents, who helped me in completing this project successfully. I would also like to thank my friends
who helped me in completing the project

Name of the student

M.SANKAR

19
Bibliography

1. Google.com

2. Wikipedia

3. Scribd.com

4. Computer Science with python Sumita Arora

5. Google images

6. Geeksforgeeks.org

20

You might also like