Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("Welcome to Luc's Literacy quiz")
- print("Answer each question with the letter of your choice")
- print()
- Score = 0
- print()
- print("Question 1")
- print()
- print("Which of these words comes first in a dictonary")
- print()
- print("A - Bright")
- print("B - Brick")
- print("C - Bring")
- print()
- answer1=input()
- print()
- answer1 = answer1.upper()
- if answer1 == "B" :
- print("You are correct")
- Score = Score+1
- elif answer1 == "A":
- print("You are incorrect")
- print()
- print("The correct answer was: B (Brick)")
- Score = Score+0
- elif answer1 == "C":
- print("You are incorrect")
- print()
- print("The correct answer was: B (Brick")
- Score = Score+0
- else:
- answer1 = answer1.lower()
- answer1 = answer1.title()
- #converts users answer to a grammatically correct version so it can be displayed back to the user
- print(answer1 + " Is not a valid answer")
- print()
- print("The correct answer was: B (Brick)")
- Score = Score+0
- print()
- print("Question 2")
- print()
- print("What tense is the sentace: We're going to the cinema tomorrow")
- print()
- print("A - Past Tense")
- print("B - Present Tense")
- print("C - Future Tense")
- print()
- answer2=input()
- print()
- answer2 = answer2.upper()
- if answer2 == "C" :
- Score = Score+1
- print("You are correct")
- elif answer2 == "A":
- print("You are incorrect")
- print()
- print("The correct answer was: C (Future Tense)")
- Score = Score+0
- elif answer2 == "B":
- print("You are incorrect")
- print()
- print("The correct answer was: C (Future Tense")
- Score = Score+0
- else:
- answer2 = answer2.lower()
- answer2 = answer2.title()
- print(answer2 + " Is not a valid answer")
- print()
- print("The correct answer was: C (Future Tense)")
- Score = Score+0
- print()
- print("Question 3")
- print()
- print("What type of word is a describing word")
- print()
- print("A - Adjective")
- print("B - Noun")
- print("C - Verb")
- print()
- answer3=input()
- print()
- answer3 = answer3.upper()
- if answer3 == "A" :
- print("You are correct")
- Score = Score+1
- elif answer2 == "B":
- print("You are incorrect")
- print()
- print("The correct answer was: A (Adjective)")
- Score = Score+0
- elif answer2 == "C":
- print("You are incorrect")
- print()
- print("The correct answer was: A (Adjective")
- Score = Score+0
- else:
- answer3 = answer3.lower()
- answer3 = answer3.title()
- print(answer3 + " Is not a valid answer")
- print()
- print("The correct answer was: A (Adjective)")
- Score = Score+0
- print("Question 4")
- print()
- print("A figure of speech in which a word or phrase is applied to an object or action to which it is not literally applicable is a:")
- print()
- print("A - Simile")
- print("B - Metaphor")
- print("C - Onomatopoeia")
- print()
- answer4=input()
- print()
- answer4 = answer4.upper()
- if answer4 == "B" :
- print("You are correct")
- Score = Score+1
- elif answer4 == "A":
- print("You are incorrect")
- print()
- print("The correct answer was: B (Metaphor)")
- Score = Score+0
- elif answer4 == "C":
- print("You are incorrect")
- print()
- print("The correct answer was: B (Metaphor")
- Score = Score+0
- else:
- answer4 = answer4.lower()
- answer4 = answer4.title()
- print(answer4 + " Is not a valid answer")
- print()
- print("The correct answer was: B (Metaphor)")
- Score = Score+0
- print()
- print()
- print("Question 5")
- print()
- print("How many letters are there in the English alphabet")
- print()
- print("A - 26")
- print("B - 24")
- print("C - 27")
- print()
- answer5=input()
- print()
- answer5 = answer5.upper()
- if answer5 == "A" :
- print("You are correct")
- Score = Score+1
- elif answer5 == "B":
- print("You are incorrect")
- print()
- print("The correct answer was: A (26)")
- Score = Score+0
- elif answer5 == "C":
- print("You are incorrect")
- print()
- print("The correct answer was: A (26")
- Score = Score+0
- else:
- answer5 = answer5.lower()
- answer5 = answer5.title()
- print(answer5 + " Is not a valid answer")
- print()
- print("The correct answer was: A (26)")
- Score = Score+0
- print()
- print()
- print("You got",Score,"Out of 5 questions correct.")
- print()
- print()
- print()
- print()
- print()
- print()
- print()
- print()
- print()
- print()
- print()
- print()
- print("The quiz is now over, thank you for participating.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement