Introduction



https://pixabay.com/illustrations/hands-globe-earth-protection-1222866/ (Pixabay free)

Climate change refers to the long-term changes in global temperatures and other characteristics of the atmosphere. Climate has changed throughout Earth's long history, but this time it's different. Human activity is causing worldwide temperatures to rise higher and faster than any time we know of in the past.

Learning about the causes and effects of climate change can help us raise awareness about the importance of looking after our planet.

Climate Change icon PNG and SVG Vector Free DownloadThe Story of Fossil Fuels, Part 4: Next | NASA Climate Kids

Test your knowledge on Java with the link attached on the right side - Top 25 Java Quiz questions! This will help you see how good you are and what should you work on!

Task



https://pixabay.com/photos/pxclimateaction-climate-landscape-4684217/ (Pixabay free)

Create a quiz game using Java about the diffferent types of climate changes or what is causing them to test your knowledge on how much do you know what is happening in the world! Look up different stories and videos to see, what has been happening in the world! 

In this video you can see how badly our nation overall is affected by what is happening in the world because of climate change, also think about your actions and what you could do, to change something or help someone. 

You will learn coding in Java language, and about climate and how it has been, is and will be changing still. Some of the Java commands are those of classes, creating and using of looping. Furthermore, you'll learn how to compare the written answer to the correct one. 

You can create your own questions about climate changes, but these examples give you a bit of a push on how to get on with your own quiz. 

Process

Before you start, think about what do you know about climate change. What is causing climate change? Do you know the consequenses?

Look up different climate changes in the world and think about, what can you do, to stop them or make them somehow better. Look at this video, to get an idea of climate change and what is causing them.

With your teacher, look at the pdf file and create a quiz about climate changes. Mix them up or create a quiz for one of them. Make it interesting and link it to something, that could be new knowledge to the person solving it. 

In this project you will be making a climate change quiz. In this project we will:

  • Research and gather information about climate change to put in your quiz
  • Make a Question class that we can use to model questions
  • Allow the user to enter their choice and have their score displayed.

The process is described in the document called "Climate Change quiz.pdf" attached to this page (on the right side). This quiz consists of different example questions, but---of course---you can add more of your own. The document consists of nine (9) different steps and describes the Java commands needed to create the quiz.

  1. You need to start a Python IDE (newest version of Java https://www.oracle.com/java/technologies/downloads/#java8); if you are new to Java, go through lesson Level 3 - Introduction to Java. The videos added in this lesson on the right side, will also help you to get a better idea behind Java (Building a multiple choice quiz and Java quiz game). 
  2. Attempt the Java code activity given on page 9 of Climate Change quiz pdf.
  3. Test if the printing command works by running the lines.
  4. Follow the guide until step 9, and regularly test the program.

 

Conclusion

  • Now you should be able to make a quiz in Java on any topic.
  • You should be able to find material on your topic, and write the questions.
  • You should know about the effects of climate change and what causes them.
  • You should now be aware of the future and think about what you can do, to change yourself of others from destroying our planet.
  • You should be able to use loops and different classes in Java.

Next steps:

  • This is a good start for your own quiz creation.
  • Create your own quiz and share it.

Links to everyday life: 

  • Play – Quizzes are fun to play and are an opportunity to learn new things! Can you expand the quiz and test your friends?
  • Helping Others – Educating others about the importance of being environmentally aware is crucial in keeping our planet healthy!
  • Environment – Keeping our planet healthy keeps biodiversity alive and well.

Learning Objectives

Learning Objectives

  • You will be able to learn to use loops in Java
  • You will be able to learn to use classes to make Java objects
  • You will be able to apply programming skills to a real life problem
  • You will be able to create a working and expandable quiz game

Resources

Click each section below to see all resources available.

Videos

A world going hungry? How conflict and climate change disrupt global food supply | Business Beyond
Causes and Effects of Climate Change | National Geographic
Building a Multiple Choice Quiz | Java | Tutorial 29
Java quiz game ⌛