Recover Code

- Backup -

Introduction

In case of code loss, the Coders store backups in the planetary base. And thank goodness! Some lines of code were destroyed during the Drakonid attack. Clever Coders can now successfully recreate all code chains thanks to the planetary code base. If they didn't have these copies, the code would be irretrievable. They learned that it's worth saving the results of important work, so in case of a malfunction or another Drakonid invasion, they wouldn't lose the effects of their work so far. Correct the code according to the pattern preserved in the backup, by stomping on the selected LED from the bottom row to change its color to the one in the code above.

Application Instructions

In case of code loss, the Coders store backups in the planetary base. Some lines of code were destroyed during the Drakonid attack. Help restore the correct version of the code! Stomp on the selected LED from the bottom row to change its color to the one in the code above.

Conversation Inspirations with Children

Talk to students about known life situations or examples from their immediate environment in which they use or may encounter the concept mentioned:

  • What materials are particularly important to you? What would you like to have in many copies in case of losing or destroying them?
  • How do people secure valuable items, important documents?
  • When going on vacation, we often take more than one piece of the same type of clothing, to have a spare in case of need.

Why create backups?

Creating a backup of data helps to restore the original data in case of its loss or damage, e.g. due to hardware failure. Source code and data should be saved in a base so that they can be recovered in case of loss of the local copy. Saving all versions of the program's source code in the base is an important principle of a programmer's work.