0% found this document useful (0 votes)
39 views35 pages

Srinandan Document

The document describes a project to build a quiz building program to automate the existing manual system of managing student details, exams, marks and results. The objectives are to store data for longer periods, allow easy access and manipulation of the information. The program will have modules for student management, results management, exam management, marks management and user management. Python programming language is used to develop the software. The source code provided includes the registration process and sample questions for easy and medium difficulty quizzes.

Uploaded by

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

Srinandan Document

The document describes a project to build a quiz building program to automate the existing manual system of managing student details, exams, marks and results. The objectives are to store data for longer periods, allow easy access and manipulation of the information. The program will have modules for student management, results management, exam management, marks management and user management. Python programming language is used to develop the software. The source code provided includes the registration process and sample questions for easy and medium difficulty quizzes.

Uploaded by

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

DESCRIPTION

PROBLEM DEFINITION:-

The purpose of Quiz building is to automate the existing manual


system by the help of computerized equipments and full-fledged computer
software, fulfilling their requirements, so that their valuable data/information
can be stored for a longer period with easy accessing and manipulation of the
same. The required software and hardware are easily available and easy to
work with.

OBJECTIVE:-

The main objective of the project is to manage the details of students,


Examination, Marks , etc... The purpose of the project is to build a quiz
building program to reduce the manual work for managing the Students,
Examination , Marks , Result .

The aim of quiz building is to automate its existing manual system by the
help of computerized equipment’s and full-fledged computer software,
fulfilling their requirements, so that their valuable data/information can be
stored for a longer period with easy accessing and manipulation of a same.
Basically, the project describes how to manage for good performance and
better services for the clients. It can lead to error free secure, reliable and fast
management system.

~1~
Registration

Quiz

USER SYSTEM
Score

MODULES:-

A module is a software component or part of a program that contains one or


more routines. One or more independently developed modules make up a
program. An enterprise-level software application may contain several
different modules, and each module serves unique and separate business
operations.

Modules make a programmer's job easy by allowing the programmer to focus


on only one area of the functionality of the software application. Modules are
typically incorporated into the program (software) through interfaces.

~2~
 Students management module:
Used for managing the students details.
 Results module:
Used for managing the details of results.Result Module
is specially designed to make the work of Result Preparation in
accordance with all the Rules and Regulation of the Board together
with calculation of Marks on the basis of conversion, the totals and
preparation of the Marksheet, a work of ease.
 Examinations management module:
Used for managing the information and details of the
examinations.
 Marks module:
Used for managing the marks details.
 Users module:
Used for managing the users of the system. The user module
allows users to register, log in, and log out. Users benefit from being
able to sign on because this associates content they create with their
account and allows various permissions to be set for their roles.

TOOLS/PLATFORM USED:-

We have used Python programming language.

~3~
SOURCE CODE
print('
______________________________________________________________
_____________________________________________')

print("\n !!Wellcome to quiz game!!\t\t\


t\t")

print('
______________________________________________________________
_____________________________________________')

print('\n>>>We have 3 different types of round, like..easy,mediam and


hard...')

print('\n\n\t\t\t\tS.No. | Levels | Age gruup ')

print('\t\t\t\t----------+-------------+-----------------')

print('\t\t\t\t 1 | Easy | <18 ')

print('\t\t\t\t 2 | Medium | 18-24 ')

print('\t\t\t\t 3 | Hard | >24 ')

print('\t\t\t\t--------------------------------------------')

print('If your age group number is 1 : Your only eligible for easy level.')

print('If your age group number is 2 : Your only eligible for mediam level.')

print('If your age group number is 3 : Your only eligible for hard level.')

print('\nNOTE: if your spelling is incorrect then it is considered as wrong


answer ')

~4~
#---Registration:

print('\nFor age input your age group number:')

print('Before starting quiz you must do registration :')

print('\nRegistration:')

n=input('Enter your name:').upper()

a=int(input('Enter your age group number:'))

f=input("Enter your father's or mother name :").upper()

score = 0

question_no = 0

if a==1:

print('you are only eligible for easy level :')

question_no += 1

ques = input(f'\n{question_no}. what does CPU stand for? ').lower()

if ques == 'central processing unit':

score +=1

print('correct! you got 1 point')

else:

print('Incorrect!')

~5~
print(f'current answer is --> central processing unit')

#------2

question_no += 1

ques =input(f'\n{question_no}. Which is the brain of the computer?


').lower()

if ques == 'central processing unit' :

score +=1

print('correct! you got 1 point')

else:

print('Incorrect!')

print(f'current answer is -->central processing unit')

# -----3

question_no += 1

ques = input(f'\n{question_no}. what does GPU stand for? ').lower()

~6~
if ques == 'graphics processing unit':

score +=1

print('correct! you got 1 point')

else:

print('Incorrect!')

print(f'current answer is --> graphics processing unit')

#------4

question_no += 1

ques =input(f'\n{question_no}. Which language does the computer


understand? ').lower()

if ques == 'Binary Language' :

score +=1

print('correct! you got 1 point')

else:

print('Incorrect!')

print(f'current answer is -->Binary Language')


~7~
# -----5

question_no += 1

ques = input(f'\n{question_no}. what does RAM stand for? ').lower()

if ques == 'random access memory':

score +=1

print('correct! you got 1 point')

else:

print('Incorrect!')

print(f'current answer is --> random access memory')

#------6

question_no += 1

ques =input(f'\n{question_no}. The correct abbreviation of


COMPUTER? ').lower()

~8~
if ques == 'Commonly Operated Machines Used in Technical and
Educational Research' :

score +=1

print('correct! you got 1 point')

else:

print('Incorrect!')

print(f'current answer is -->Commonly Operated Machines Used in Technical


and Educational Research')

#------7

question_no += 1

ques = input(f'\n{question_no}. what does PSU stand for? ').lower()

if ques == 'power supply unit':

score +=1

print('correct! you got 1 point')

else:

print('Incorrect!')

print(f'current answer is --> power supply unit')

~9~
#------8

question_no += 1

ques =input(f'\n{question_no}. Which computer language is written in


binary codes only? ').lower()

if ques == 'machine language' :

score +=1

print('correct! you got 1 point')

else:

print('Incorrect!')

print(f'current answer is -->machine language')

# ------9

question_no += 1

ques =input(f'\n{question_no}. Who is the father of Computers?


').lower()

~ 10 ~
if ques == 'charlesbabbage' :

score +=1

print('correct! you got 1 point')

else:

print('Incorrect!')

print(f'current answer is -->Charles Babbage')

#------10

question_no += 1

ques = input(f'\n{question_no}. what does ROM stand for? ').lower()

if ques == 'read only memory':

score +=1

print('correct! you got 1 point')

else:

print('Incorrect!')

print(f'current answer is --> read only memory')

~ 11 ~
print('\nName:',n)

print('Age group:',a)

print(f'nnumber of question is', question_no)

print(f'your score is', score)

percentage = (score *100)/question_no

print(f'{percentage}% questions are correct.')

print('Thank you:')

# ---- mediam level:

#------1

if a==2:

q_no=0

so=0

print('\n\nyou are only eligible only for mediam level :')

print('Note: Enter the answer with out typing the option for mcq question :')

print('NOTE: if your spelling is incorrect then it is considered as wrong


answer ')

q_no+=1

~ 12 ~
ques = input(f'\n{q_no}. Which of the following is not a type of
computer on the basis of operation?\na) Digital\nb) Analog\nc) Hybrid\nd)
Remote ').lower()

if ques == 'remote':

score +=1

print('correct! you got 1 point')

else:

print('Incorrect!')

print(f'current answer is -->Remote')

#------2

q_no += 1

ques =input(f'\n{q_no}.Which of the following type of computer is


mostly used for automatic operations?\na) analog\nb) digital\nc) hybrid\nd)
remote').lower()

if ques == 'hybrid' :

so +=1

print('correct! you got 1 point')

else:

~ 13 ~
print('Incorrect!')

print(f'current answer is -->hybrid')

# -----3

q_no += 1

ques = input(f'\n{q_no}.Which of the following invention gave birth to


the much cheaper microcomputers?\na) PDAs\nb) Microprocessors\nc)
Microcomputers\nd) Mainframes ').lower()

if ques == 'microprocessors':

so +=1

print('correct! you got 1 point')

else:

print('Incorrect!')

print(f'current answer is -->Microprocessors')

#------4

q_no += 1

~ 14 ~
ques =input(f'\n{q_no}. Which language does the computer understand?
').lower()

if ques == 'Binary Language' :

so +=1

print('correct! you got 1 point')

else:

print('Incorrect!')

print(f'current answer is -->Binary Language')

# -----5

q_no += 1

ques = input(f'\n{q_no}.Which of the following computers are lower


than mainframe computers in terms of speed and storage capacity?\na)
Mainframes\nb) Hybrid\nc) Mini\nd) Super').lower()

if ques == 'mini':

~ 15 ~
so +=1

print('correct! you got 1 point')

else:

print('Incorrect!')

print(f'current answer is -->Mini')

#------6

q_no += 1

ques =input(f'\n{q_no}. The correct abbreviation of COMPUTER?


').lower()

if ques == 'Commonly Operated Machines Used in Technical and


Educational Research' :

so +=1

print('correct! you got 1 point')

else:

print('Incorrect!')

~ 16 ~
print(f'current answer is -->Commonly Operated Machines Used in Technical
and Educational Research')

#------7

q_no += 1

ques = input(f'\n{q_no}.Which of the following is the first neural


network computer?\na) AN\nb) AM\nc) RFD\nd) SNARC ').lower()

if ques == 'snarc':

so +=1

print('correct! you got 1 point')

else:

print('Incorrect!')

print(f'current answer is -->SNARC')

#------8

q_no += 1

ques =input(f'\n{q_no}. Which of the following can access the server?\


na) Web Client\nb) User\nc) Web Browser\nd) Web Server ').lower()

~ 17 ~
if ques == 'web client' :

so +=1

print('correct! you got 1 point')

else:

print('Incorrect!')

print(f'current answer is -->Web Client')

# ------9

q_no += 1

ques =input(f'\n{q_no}. Which of the following devices provides the


communication between a computer and the outer world?\na) Compact\nb)
I/O\nc) Drivers\nd) Storage').lower()

if ques == 'i/o' :

so +=1

print('correct! you got 1 point')

~ 18 ~
else:

print('Incorrect!')

print(f'current answer is -->I/O')

#------10

q_no += 1

ques = input(f'\n{q_no}.Which of the following defines the assigned


ordering among the characters used by the computer?\na) Accumulation\nb)
Sorting\nc) Collating Sequence\nd) Unicode ').lower()

if ques == 'collating sequence':

so +=1

print('correct! you got 1 point')

else:

print('Incorrect!')

print(f'current answer is -->Collating Sequence')

print('\nName:',n)

print('Age group:',a)

print(f'nnumber of question is', q_no)

~ 19 ~
print(f'your score is', so)

percentage = (so *100)/q_no

print(f'{percentage}% questions are correct.')

print('Thank you:')

# ---- Hard level:

#------1

if a==3:

_no=0

sco=0

print('\n\nyou are only eligible only for Hard level :')

print('Note: Enter the answer with out typing the option for mcq question :')

print('\nNOTE: if your spelling is incorrect then it is considered as wrong


answer ')

_no+=1

ques = input(f'\n{_no}. what does CPU stand for? ').lower()

if ques == 'central processing unit':

sco +=1

print('correct! you got 1 point')

else:
~ 20 ~
print('Incorrect!')

print(f'current answer is --> central processing unit')

#------2

_no += 1

ques =input(f'\n{_no}. Which is the brain of the computer? ').lower()

if ques == 'cpu' :

sco +=1

print('correct! you got 1 point')

else:

print('Incorrect!')

print(f'current answer is -->cpu')

# -----3

~ 21 ~
_no += 1

ques = input(f'\n{_no}. what does GPU stand for? ').lower()

if ques == 'graphics processing unit':

sco +=1

print('correct! you got 1 point')

else:

print('Incorrect!')

print(f'current answer is --> graphics processing unit')

#------4

_no += 1

ques =input(f'\n{_no}. Which language does the computer understand?


').lower()

if ques == 'Binary Language' :

sco +=1

print('correct! you got 1 point')

~ 22 ~
else:

print('Incorrect!')

print(f'current answer is -->Binary Language')

# -----5

_no += 1

ques = input(f'\n{_no}.Which of the following are physical devices of a


computer?\na) Hardware\nb) Software\nc) System Software\nd) Package
').lower()

if ques == 'hardware':

sco +=1

print('correct! you got 1 point')

else:

print('Incorrect!')

print(f'current answer is -->Hardware')

~ 23 ~
#------6

_no += 1

ques =input(f'\n{_no}. The correct abbreviation of COMPUTER?


').lower()

if ques == 'commonly operated machines used in technical and


educational research' :

sco +=1

print('correct! you got 1 point')

else:

print('Incorrect!')

print(f'current answer is -->Commonly Operated Machines Used in Technical


and Educational Research')

#------7

_no += 1

ques = input(f'\n{_no}. what does PSU stand for? ').lower()

if ques == 'power supply unit':

~ 24 ~
sco +=1

print('correct! you got 1 point')

else:

print('Incorrect!')

print(f'current answer is --> power supply unit')

#------8

_no += 1

ques =input(f'\n{_no}. Which of the following defines the assigned


ordering among the characters used by the computer?\na) Accumulation\nb)
Sorting\nc) Collating Sequence\nd) Unicode? ').lower()

if ques == 'collating sequence' :

sco +=1

print('correct! you got 1 point')

else:

print('Incorrect!')

print(f'current answer is -->Collating Sequence')

~ 25 ~
# ------9

_no += 1

ques =input(f'\n{_no}. Who is the father of Computers? ').lower()

if ques == 'charlesbabbage' :

sco +=1

print('correct! you got 1 point')

else:

print('Incorrect!')

print(f'current answer is -->Charles Babbage')

#------10

_no += 1

ques = input(f'\n{_no}. hich of the following storage is a system where a


robotic arm will connect or disconnect off-line mass storage media according
~ 26 ~
to the computer operating system demands?\na) Magnetic\nb) Secondary\nc)
Virtual\nd) Tertiary').lower()

if ques == 'tertiary':

sco +=1

print('correct! you got 1 point')

else:

print('Incorrect!')

print(f'current answer is --> Tertiary ')

#------11

_no+=1

ques = input(f'\n{_no}. Which of the following is known as the interval


between the instant a computer makes a request for the transfer of data from a
disk system to the primary storage and the instance the operation is
completed?\na) Disk utilization time\nb) Drive utilization time\nc) Disk
access time\nd) Disk arrival time ').lower()

if ques == 'disk access time':

sco +=1

print('correct! you got 1 point')

~ 27 ~
else:

print('Incorrect!')

print(f'current answer is -->Disk access time ')

#------12

_no += 1

ques =input(f'\n{_no}. Which of the following service allows a user to


log in to another computer somewhere on the Internet?\na) e-mail\nb)
UseNet\nc) Telnet\nd) FTP').lower()

if ques == 'telnet' :

sco +=1

print('correct! you got 1 point')

else:

print('Incorrect!')

print(f'current answer is -->Telnet')

# -----13

~ 28 ~
_no += 1

ques = input(f'\n{_no}.Which of the following is a type of technique in


which dumb terminals are connected to a central computer system?\na) Time
Sharing\nb) Message passing\nc) Batch environment\nd) User environment
').lower()

if ques == 'time sharing':

sco +=1

print('correct! you got 1 point')

else:

print('Incorrect!')

print(f'current answer is -->Time Sharing')

#------14

_no += 1

ques =input(f'\n{_no}. Which of the following is a technique that


marked the beginning of computer communications?\na) User Environment\
nb) Batch Environment\nc) Time Sharing\nd) Message passing ').lower()

if ques == 'time sharing' :

~ 29 ~
sco +=1

print('correct! you got 1 point')

else:

print('Incorrect!')

print(f'current answer is -->Time Sharing')

# -----15

_no += 1

ques = input(f'\n{_no}.Which of the following is created when a user


opens an account in the computer system?\na) SFD\nb) MFD\nc)
Subdirectory\nd) RFD ').lower()

if ques == 'subdirectory':

sco +=1

print('correct! you got 1 point')

else:

print('Incorrect!')

print(f'current answer is -->Subdirectory ')

print('\nName:',n)

~ 30 ~
print('Age group:',a)

print(f'nnumber of question is', _no)

print(f'your score is', sco)

percentage = (sco *100)/_no

print(f'{percentage}% questions are correct.')

print('Thank you:')

else:

print("Thank you")

~ 31 ~
OUTPUT

REGISTRATION :(if age <18)

~ 32 ~
FINAL RESULT FOR AGE GROUP 1

REGISTRATION :(if age 18-24)

~ 33 ~
FINAL RESULT FOR AGE GROUP- 2

REGISTRATION :(if age 18-24)

~ 34 ~
FINAL RESULT FOR AGE GROUP -3

~ 35 ~

You might also like