Introduction



https://pixabay.com/photos/cyclone-storm-hurricane-clouds-2102397/ (Free)

Calling all adventurers! What are the signs for spotting natural disasters? Staying safe in an extreme event could save lives!

Being able to identify risks and even create a family communication plan for risks in your area can help us remember what to do to stay safe in the case of an emergency. 

Natural disasters can be aggravated by inadequate building norms, marginalization of people, inequities, overexploitation of resources, extreme urban sprawl and climate change. Look at the link with Penguin the Pedro talking about different natural disasters, what can happen and how to react and think about what you have seen or heard about. Have these things happened in your country? Look at the video of 10 most dangerous disasters which have happened and try to think about the consequences. 

Task



https://www.asciiart.eu/nature/tornado (Art by Jeremy)

In this lesson you will learn how you can create ASCII art with Python. At the same time, you will learn about natural disasters and how they come "alive" and also, what one can do to prevent them or hide from. 

Some of the Python commands are those of printing, using input and output and IF statements. Learning how to create fun artictic pictures with ASCII and Python can be so much fun and at the same time, you will learn about the topic as well. Look at the links given about ASCII art and make a quiz using it (look at the example video given on the right side).

Write an informative quiz using a few of the following disasters given in this lesson as an example.

Kuvat├Ámmis_2022-05-30_112412.png

Process

First think and discuss in group the following questions.

  • When you think about a natural desaster, what comes to mind at first?
  • Have there been any big disasters in your country? What kind?
  • Do you know, what is the biggest disaster that has happened in the world? Can you name any other disasters, which has had a big affect on the world or something people still talk about?
  • Can you name some big disasters? You will get some hints from this link
  • What are the biggest consequenses after a disaster?

Discuss these aspects with your classmates and make a poster/drawing, what are in your mind the things causing the disasters? Can people do something to prevent them?

The process is described in the document called "Natural disaster_quiz.pdf" attached to this page (on the right side). This quiz consists of various example questions, but---of course---you can think about more. The document consists of four (4) different steps and describes the Python commands needed to create the quiz.

  1. You need to start a Python IDE, or use Python online editor https://www.collegeofcoding.com/
  2. Attempt the Python code activity given on page 8 of Natural disaster_quiz.pdf.
  3. Test the printing command works by running the lines 1-2 given at Natural disaster_quiz.pdf.
  4. Follow the guide until step 4, and regularly test the program.
  5. On page 19 there is the final combined version of the code which you can use to compare against your code.

 

Conclusion

  • Now you should be able to make a quiz in Python on any topic.
  • You should be able to know about ASCII code and how to use it.
  • You should be able to find material on your topic, and write the questions.
  • You should know what kind of natural disasters there are happening and how one can protect himself.

Next steps:

  • This is a good start for your own quiz creation.
  • Create your own quiz and share it.
  • Enrich your quiz with more personalised ASCII characters.
  • Move to Level 2 Python activity.

Links to everyday life:

  • Play - interactive quiz that makes staying safe fun.
  • Community - helping others become aware about natural hazards.
  • Environment - being aware about the forces of nature.

 

Book available in many languages to help prepare: https://www.ready.gov/sites/default/files/2019-06/prepare_with_pedro_activity_book_eng.pdf

Learning Objectives

Learning Objectives

  • You will be able to use output function (print)
  • You will be able to use input function (input)
  • You will be able to use if statements
  • You will be able to update a score by 1 (increment score by 1)
  • You will be able to learn and use ASCII art to make a nice graphical user interface