Mini Project Finalized
Mini Project Finalized
“QUIZ MANIA”
(15CS664)
For the Award of Degree in
AJESH MAHATO(1RI16IS003)
SAMIR PAUDYAL(1RI16IS034)
CERTIFICATE
DEPARTMENT OF INFORMATION SCIENCE ENGINEERING
This is to certify that the project entitled “QUIZ MANIA” is a bonafide work carried out
by SAMIR PAUDYAL, AJESH MAHATO, SADIP KARKI and SAURAB KANDEL bearing USN
1RI16IS034, 1RI16IS003, 1RI16IS033 and 1RI16IS037 bonafide students of RR INSTITUTE
OF TECHNOLOGY in partial fulfillment for the award of degree in BACHELOR OF
ENGINEERING IN INFORMATION SCIENCE ENGINEERING from VISVESVARAYA
TECHNOLOGICAL UNIVERSITY, BELAGAVI during the academic year 2018-19. It is certified
that all the corrections/suggestions indicated for internal Assessment have been incorporated
in the report submitted in the department Library. This Project report has been approved as it
satisfies the academic requirements in respect of Python with Mini Project (15CS664)
prescribed for award of said degree.
External Examination
1……………………………… ……………………….
2……………………………… ……………………….
DECLARATION
We hereby declare that the project entitled in “quiz mania” has been carried out by RR
Institute of Technology under the supervision of Ass Prof. Swetha K B, Dept of ISE and
submitted in partial fulfillment of source requirement for the award of degree in Bachelor of
ACKNOWLEDGEMENT
We are grateful to Principal, Dr. Manjunatha M B, RRIT, Bangalore and all staff members
of Information Science and Engineering Department for their kind co-operation.
We are extremely thankful to Dr. Emmanuel RR, Professor and HOD, Department of
Information Science and Engineering, for his co-operation and encouragement. we thank him for
providing me an opportunity to carry out the project at college.
We express our deepest gratitude and sincere thanks to Mrs. Swetha K B Assistant
professor, Department of Information Science and Engineering for his valuable guidance during
the course of this Project and continuous suggestions to make our Project successful.
Finally, it is a pleasure and happiness to the friendly cooperation showed by all the staff
members of Information science engineering department.
INTRODUCTION
The project entitled “Quiz Mania” enables public to play quiz contest or programme from any PC.
This application provide wide range of questions related to any
country,facts,history,entertainment,sports and many more. A question will have four options and
among them, user has to enter any option indexed with options A,B,C and D. To play game, user has
to install the application. After giving answers of all questions, his/her answers will be compared
with the correct answer. After successful evaluation of the answers, the user will be notified
immediately with obtained score.
Python
Python is an interpreted, high-level, general-purpose programming language. Created by Guido van
Rossum and first released in 1991,
Python's design philosophy emphasizes code readability with its notable use of significant
whitespace. Its language constructs and
object-oriented approach aims to help programmers write clear, logical code for small and large-
scale projects.
Python is dynamically typed and garbage-collected. It supports multiple programming paradigms,
including procedural, object-oriented,
and functional programming. Python is often described as a "batteries included" language due to its
comprehensive standard library.
Python was conceived in the late 1980s as a successor to the ABC language. Python 2.0, released
2000, introduced features like list
comprehensions and a garbage collection system capable of collecting reference cycles. Python 3.0,
released 2008, was a major revision
of the language that is not completely backward-compatible, and much Python 2 code does not run
unmodified on Python 3.
FEATURES
Python is a multi-paradigm programming language. Object-oriented programming and structured
programming are fully supported, and many
of its features support functional programming and aspect-oriented programming (including by
metaprogramming and metaobjects (magic methods)).
Many other paradigms are supported via extensions, including design by contract and logic
programming.
Python uses dynamic typing, and a combination of reference counting and a cycle-detecting garbage
collector for memory management.
It also features dynamic name resolution (late binding), which binds method and variable names
during program execution.
SOURCE CODE
app.py
Question(question_pr
ompts[0], "a"),
Question(question_pr
ompts[1], "a"),
Question(question_pr
ompts[2], "d"),
Question(question_pr
ompts[3], "d"),
Question(question_pr
ompts[4], "b"),
]
def
run_test(questions):
score=0
for question in
questions:
answer=input(questio
n.prompt)
if answer ==
question.answer:
score += 1
print("you got "+
str(score) + "/"+
str(len(questions))+ "
correct ")
run_test(questions)
Question.py
class Question:
def __init__(self,
prompt, answer):
self.prompt=prompt
self.answer=answer
CONCLUSION
The Quiz Mania not only entertains people, it’ll help people to develop
their general knowledge around the globe.
Future Work: