Dim loginCheck as boolean
Console.Writeline ("In this quiz there will be 5 questions with multiple choiceanswers. Type a,b,c or d to choose the answer.")
Console.Writeline ("How can I prevent cyberbullying?")
Console.Writeline ("a) Talk to a trusted adult")
Console.Writeline ("b) Say something back to the bully")
answer1 = Console.Readline()
Console.Writeline ("Correct!")
elseif answer1 = "b" then
Console.Writeline ("false :(")
Console.Writeline ("Thats not a or b. Try again (press enter to continue)")
Loop Until loginCheck = true
Console.Writeline ("What will protect you from a phishing attack?")
Console.Writeline ("a) Share personal information")
Console.Writeline ("b) Do not click on any links listed in the email message")
Console.Writeline ("c) Open any attachments contained in a suspicious email")
answer1 = Console.Readline()
Console.Writeline ("Correct!")
elseif answer1 = "a" then
Console.Writeline ("false :(")
elseif answer1 = "c" then
Console.Writeline ("false :(")
Console.Writeline ("Thats not a,b or c. Try again (press enter to continue)")
Loop Until loginCheck = true
Console.Writeline ("Which of these are classed as privacy?")
Console.Writeline ("a) Date of birth")
Console.Writeline ("b) Online nickname")
Console.Writeline ("c) Gender")
answer1= Console.ReadLine()
Console.Writeline ("Correct!")
elseif answer1 = "b" then
Console.Writeline ("false :(")
elseif answer1 = "c" then
Console.Writeline ("false :(")
Console.Writeline ("Thats not a,b or c. Try again (press enter to continue)")
Loop Until loginCheck = true
Console.Writeline ("What name would you give to an email attachment that may harm your computer?")
Console.Writeline ("a) Phishing")
Console.Writeline ("b) Spam")
Console.Writeline ("c) Malware")
answer1 = Console.Readline()
Console.Writeline ("Correct!")
elseif answer1 = "a" then
Console.Writeline ("false :(")
elseif answer1 = "c" then
Console.Writeline ("false :(")
Console.Writeline ("Thats not a,b or c. Try again (press enter to continue)")
Loop Until loginCheck = true
Console.Writeline ("Which of the following is a simple way to stay safe online?")
Console.Writeline ("a) Don't give out personal information")
Console.Writeline ("b) Don't connect te computer to the interent")
Console.Writeline ("c) Don't leave the computer on overnight")
answer1 = Console.ReadLine()
Console.Writeline ("Correct!")
elseif answer1 = "b" then
Console.Writeline ("false :(")
elseif answer1 = "c" then
Console.Writeline ("false :(")
Console.Writeline ("Thats not a,b or c. Try again (press enter to continue)")
Loop Until loginCheck = true