Grade 7 / Some algorithms 3 exercises (including 0 corrected)

a
1. Introduction E.6719 The arrow must follow the path to reach the square. Use a loop and the mini-mum number of actions to complete the path : E.6720 1 Consider the excerpt from ˇ Essays ı by Montaigne : ˇThe speech I like is a simple and naive speech, such on paper as in the mouth : a succulent and nervous speec a Count the number of characters needed to store this ex-cerpt in a computer (don’t forget to count the spaces) . b We decide to use the symbol to represent a sequence of characters. What will be your choice to reduce the storage size needed for this quote. 2 Same question for the excerpt from ˇ Essays ı by Mon-taigne : ˇeach lopin makes its body there : not pedantic, not fratesque, not pleading, but rather soldatesqueı E.6721 1 Use the symbol to represent the same sequence of char-acters to reduce the storage size of the following sentence : ˇ Thus, always pushed toward new rivages ı (Lamar-tine) What is the sequence of characters chosen for compres-sion? 2 Consider the following sentence : ˇ Bloody, slow Fridays from enterrements ı. (Apolli-naire) We take the liberty of changing the sentence to : ˇ The bloody, slow vandredis of anterremants ı. (Apol-linaire) Note that the ˇsonı of the sentence has not changed. a Which character sequence is then selected? b With this transformation, can we recover the original sentence? This type of compression is called lossy compression . https://chingmath.fr sacados/6719 sacados/6720 sacados/6721