dim Bonus_question as string
Console.WriteLine("Hello and welcome to my E-safety quiz (2.0)")
console.writeline("anyway, on we go!")
console.writeline("question 1, what is the name of the virus that pretends it is an app or a cool programme but is actually a virus?")
answer = console.readline
if answer = "Trojan" or answer = "trojan" or answer = "Trojan virus" or answer = "trojan virus" then
console.writeline("well done, that is correct")
console.writeline("sorry thats wrong")
console.writeline("Question 2, what is the name for all of the types of dangerous programmes?")
answer = console.readline
if answer = "Malware" or answer = "malware" then
console.writeline("well done, that is correct")
console.writeline("sorry thats wrong")
console.writeline("question 3, what is the name for the malware that steals data and sensitive information without you knowing?")
answer = console.readline
if answer = "Spyware" or answer = "spyware" then
console.writeline("well done, that is correct")
console.writeline("sorry thats wrong")
console.writeline("question 4, what programme spreads from one device to more from one programme?")
answer = console.readline
if answer = "Worm" or answer = "worm" or answer = "Worm virus" or answer = "worm virus" then
console.writeline("well done, that is correct")
console.writeline("sorry thats wrong")
console.writeline("question 5, what is the name of software that tries to prevent viruses?")
answer = console.readline
if answer = "Antivirus" or answer = "antivirus" then
console.writeline("well done, that is correct")
console.writeline("sorry thats wrong")
if points = "4" or points = "5" then
console.writeline("would you like to take a bonus question for 1 extra point? you only have 1 attempt...")
Bonus_question = console.readline
if Bonus_question = "Yes" or Bonus_question = "yes" then
console.writeline("ok, what is the name of the malware that locks your computer or steals files, and demands for money to get them back?")
answer = console.readline
if answer = "Ransomware" or answer = "ranswomware" then
console.writeline("well done, that is correct")
console.writeline("sorry, you don't get a bonus point :(")
console.writeline("Well done for finishing, your points are, " & points)
console.writeline("Your grade is A")
console.writeline("Your grade is B")
console.writeline("Your grade is C")
console.writeline("Your grade is D")
console.writeline("Your grade is E")
console.writeline("Your grade is F")
console.writeline("would you like to go again?")
answer = console.ReadLine
if answer = "yes" or answer = "Yes" then
loop until go_again = false