print("Hello Everyone, This is fill in blanks Quiz Game.They are five subjects are there:Physics, Mathematics, General knowledge, Reasoning Ability, Social Studies."
"Each subject carry 5 questions and each question carry one mark and one mark is represented as correct!🌟 and wrong one is ✖️."
"As we can start Quiz game by press run button")
OUTPUT:-
Hello Everyone, This is fill in blanks Quiz Game.They are five subjects are there:Physics, Mathematics, General knowledge, Reasoning Ability, Social Studies.
Each subject carry 5 questions and each question carry one mark and one mark is represented as correct!🌟 and wrong one is ✖️.
As we can start Quiz game by press run button.
print("PHYSICS")
Science=input("What is the unit of wavelength?")
if Science=="Meter":
print("Correct!🌟")
else:
print(f"The dot is 'Meter', not✖️{Science}")
Science=input("What is the S.I unit of electric charge")
if Science=="Coulomb":
print("Correct!🌟")
else:
print(f"The dot is 'Coulomb',not✖️{Science}")
Science=input("Name the part of the eye on which image is formed?")
if Science=="Cornea":
print("correct!🌟")
else:
print(f"The dot is 'Cornea',not✖️{Science}")
Science=input("Name the metal which is easily by a simple knife")
if Science=="sodium":
print("correct!🌟")
else:
print(f"The dot is 'Sodium',not✖️{Science}")
Science=input("Name the part of the body on which coronavirus affects the most?")
if Science=="Lungs":
print("correct!🌟")
else:
print(f"The dot is 'Lungs',not✖️{Science}")
print("MATHEMATICS")
Mathematics=input("How many times hand clock coincide in a day")
if Mathematics=="22":
print("correct!🌟")
else:
print(f"The dot is '22',not✖️{Mathematics}")
Mathematics=input("A train moving at the speed of 80 km/hr crosses a pole in 7 seconds.Find the length of the train")
if Mathematics=="175":
print("correct!🌟")
else:
print(f"The dot is '175',not✖️{Mathematics}")
Mathematics=input("If January 1,1996, was Monday,what day of the week was January 1,1997")
if Mathematics=="Wednesday":
print("correct!🌟")
else:
print(f"The dot is 'Wednesday',not✖️{Mathematics}")
Mathematics=input("Find the square root of the perfect square made by multiplying 4050 with a least positive integer?")
if Mathematics=="90":
print("correct!🌟")
else:
print(f"The dot is '90',not✖️{Mathematics}")
Mathematics=input("Rohit multiples a numbers by 2 instead dividing the number by 2.Resultant number is what percentage of the correct value?")
if Mathematics=="400%":
print("correct!🌟")
else:
print(f"The dot is '400%',not✖️{Mathematics}")
print("GENERAL_KNOWLEDGE")
General_knowledge=input("What is the largest moon in our solar system?")
if General_knowledge=="Ganymede":
print("correct!🌟")
else:
print(f"The dot is 'Ganymede',not{General_knowledge}")
General_knowledge=("What country has highest life expectancy?")
if General_knowledge=="Hong kong":
print("correct!🌟")
else:
print(f"The dot is 'Hong kong',not✖️{General_knowledge}")
General_knowledge=input("What is the largest lake in India?")
if General_knowledge=="Loktak Lake":
print("correct!🌟")
else:
print(f"The dot is 'Loktak Lake',not✖️{General_knowledge}")
General_knowledge=input("What is the largest mammal in the world?")
if General_knowledge=="blue whale":
print("correct!🌟")
else:
print(f"The dot is 'blue whale',not✖️{General_knowledge}")
General_knowledge=input("Who was the first man step on the moon?")
if General_knowledge=="Neil Armstrong":
print("correct!🌟")
else:
print(f"The dot is 'Neil Armstrong',not✖️{General_knowledge}")
print("REASONING ABILITY")
Reasoning=input("The least perfect square,which is divisible by each of 21,36 and 66 is")
if Reasoning=="213444":
print("correct!🌟")
else:
print(f"The dot is '213444',not✖️{Reasoning}")
Reasoning=input("It was Sunday on Jan 1,2006.What is the day of week Jan 1,2010?")
if Reasoning=="Friday":
print("correct!🌟")
else:
print(f"The dot is 'Friday',not✖️{Reasoning}")
Reasoning=input("Paisa:Rupee::?:Kilometre")
if Reasoning=="decametre":
print("correct!🌟")
else:
print(f"The dot is 'decametre',not✖️{Reasoning}")
Reasoning=input("X introduces Y saying,He is the husband of the grand daughter of the father of my father.How is Y related to X?")
if Reasoning=="Brother-in-law":
print("correct!🌟")
else:
print(f"The dot is 'Brother-in-law',not✖️{Reasoning}")
Reasoning=input("139:228::122:211::2:?")
if Reasoning=="91":
print("correct!🌟")
else:
print(f"The dot is '91',not✖️{Reasoning}")
print("SOCIAL STUDIES")
Social=input("Green colour in Indian National Flag signifies")
if Social=="Relation to soil and prosperity":
print("correct!🌟")
else:
print(f"The dot is 'Relation to soil and prosperity',not✖️{Social}")
Social=input("Alluri Seeta Ram Raju was a tribal freedom fighter from which state of India")
if Social=="Andhra Pradesh":
print("correct!🌟")
else:
print(f"The dot is 'Andhra Pradesh',not✖️{Social}")
Social=input("When the East Indian Company was formed,the Mughal Emperor in India was")
if Social=="Akbar":
print("correct!🌟")
else:
print(f"The dot is 'Akbar',not✖️{Social}")
Social=input("The single biggest item was investment in India was")
if Social=="Railways":
print("correct!🌟")
else:
print(f"The dot is 'Railways',not✖️{Social}")
Social=input("The land was owned by temples known as")
if Social=="Dewaswam":
print("correct!🌟")
else:
print(f"The dot is 'Dewaswam',not✖️{Social}")
a=["After finishing the exam we can check Results."]
b=["Before Results we enter each subject marks in a given input."]
c=["After we got results Total Marks, Average, Percentage.Press the run button we check Results"]
for a,b,c in zip(a,b,c):
print(a,b,c)
OUTPUTS:-
After finishing the exam we can check Results.
Before Results we enter each subject marks in a given input.
After we got results Total Marks, Average, Percentage.Press the run button we check Results
print("Enter your marks Obtained in 5 subjects:")
Science=int(input())
mathematics = int(input("Enter your Mathematics score: "))
general_knowledge = int(input("Enter your General Knowledge score: "))
reasoning_ability = int(input("Enter your Reasoning Ability score: "))
social_studies = int(input("Enter your Social Studies score: "))
science = int(input("Enter your Science score: "))
sum = science + mathematics + general_knowledge + reasoning_ability + social_studies
avg=sum/5
perc=(sum/5)*100
print(end="Total Marks=")
print(sum)
print(end="Average Mark=")
print(avg)
print(end="Percentage=")
print(perc)
OUTPUT:-
Enter your marks Obtained in 5 subjects:
5
Enter your Mathematics score: 22
Enter your General Knowledge score: 30
Enter your Reasoning Ability score: 25
Enter your Social Studies score: 30
Enter your Science score: 45
Total Marks152
Average Mark=30.4
Percentage=3040.0
0 Comments