Défi

Decoding a picture - level 2

lundi 18 octobre 2021, par c.chartraire

Toutes les versions de cet article : [English] [français]

Défi non relevé.

Support pédagogique

Papier et crayons

Cycles

Cycle 2

Cycle 3

Cycle 4

Compétences travaillées

C4. Notion d’algorithme et de programme

C3. Initiation à la programmation

Projets / Challenges

CodeWeek

In the previous assignment, we saw that an image was encoded pixel by pixel in binary language (O and 1). You have managed to decode a black and white image.
How does it work for a colour image ?

Objective
Decode the following image

Principle
Each colour corresponds to a number.

There are different techniques to decode the image :

  • colour in box after box by matching the colours
  • Look at the first colour code and colour in all the corresponding boxes before moving on to the next colour.
  • Look at the first box and colour in all the matching boxes that touch it.

Download