A quiz to educate users about climate change and for them to be able to take action. This aim of this project will be to aid in achieving goal #13 of the Global Goals, which is Climate Action to urge people to take urgent action to combat climate change(ref)
Our idea is to build a quiz for people to log in and test their knowledge of how their actions impact climate change and the actions they can do to lower their carbon footprint.
The user will be to register and login in to the portal. Their details will be written to a file to log their details and keep a log of their results for the quiz.
-String email(in specific format "string" + "@" + "string" "." + "string") -String loginName(only numbers and letters) -String loginPassword(needs to be secure(string with 1 uppercase,1 number,1 special character))
verifyLogin()
-String adminID
addUser() removeUser()
-int userID -String firstName -String surName -int age -bool termsAndConditions(do users agreee to terms)
register() login()
The user will take a quiz with a range of up to 20 questions in which the topic is going to be the causes, consecuences and possible actions of climate change. This section will have a defined instance of inheritance using the parent Quiz class and three children, which are going to be Question, Answer and the QuizUI as interface.
The user will receive a grade on how they did on the quiz and information regarding each question that they answered. The user might get an eco-friendly rating or certification based on their awareness level of how their actions affect the climate.