Brevet (DNB) 2022 — Mathematics general stream, Polynésie 6 septembre 2022 — exercise 3 : Scratch Programming, Patterns and Transformations (official exam paper)
Statement
A programming software is used.
Recall that “to face $0°$” means that the pen is oriented upward.
Consider the two following scripts:
Script 1:
- When the green flag is clicked;
- clear all;
- pen down;
- face $0$;
- repeat $2$ times: move $20$ steps, turn right $90$ degrees, move $40$ steps, turn left $90$ degrees.
Script 2:
- When the green flag is clicked;
- clear all;
- pen down;
- face $0$;
- set the variable “length” to $20$;
- repeat $2$ times: move “length” steps, turn right $90$ degrees, move “length” steps, turn left $90$ degrees, add $20$ to “length”.
1. Run script 1 above.
Represent the path traced by the pen on the appendix to be handed in with the paper.
Description of the appendix for this question: grid in which each side of a square measures $20$ pixels; the starting position of the pen is indicated, with an arrow pointing to the starting point of the trace located on the grid.
2. Which drawing among the three below corresponds to script 2?
You should explain why the other two drawings do not correspond to script 2.
Each side of a square measures $20$ pixels.
Description of the proposed drawings: in each one, the starting point of the trace is the same, located at point $(1 ; 4)$ on the grid, and the pen is initially oriented upward.
- Drawing 1: the path follows successively the segments $(1 ; 4) \to (1 ; 5) \to (2 ; 5) \to (2 ; 6) \to (3 ; 6)$.
- Drawing 2: the path follows successively the segments $(1 ; 4) \to (1 ; 5) \to (2 ; 5) \to (2 ; 7) \to (4 ; 7)$.
- Drawing 3: the path follows successively the segments $(1 ; 4) \to (2 ; 4) \to (2 ; 5) \to (4 ; 5) \to (4 ; 7)$.
3. We now wish to obtain the pattern shown in drawing 4.
Description of drawing 4: on a grid in which each side of a square measures $20$ pixels, the starting point of the trace is $(1 ; 4)$ and the pen is initially oriented upward. The pattern is the closed polygonal line passing successively through the points $(1 ; 4)$, $(1 ; 5)$, $(3 ; 5)$, $(3 ; 9)$, $(5 ; 9)$, $(5 ; 10)$, $(6 ; 10)$, $(6 ; 4)$, then back to $(1 ; 4)$.
Complete without justifying the three blanks in script 3 given in the appendix to be handed in with the paper, so as to obtain drawing 4.
Script 3:
- When the green flag is clicked;
- clear all;
- pen down;
- face $0$;
- move $20$ steps;
- turn right $90$ degrees;
- move [blank to fill in] steps;
- turn left $90$ degrees;
- move $80$ steps;
- turn right $90$ degrees;
- move $40$ steps;
- turn left $90$ degrees;
- move [blank to fill in] steps;
- turn right $90$ degrees;
- move $20$ steps;
- turn right $90$ degrees;
- move [blank to fill in] steps;
- turn right $90$ degrees;
- move $100$ steps.
4. Starting from the pattern shown in drawing 4, we can obtain the tiling below.
Description of the tiling: the patterns are arranged on a large grid. The marked points are $A(1 ; 12)$, $B(6 ; 12)$, $C(12 ; 18)$, $D(13 ; 12)$, $E(18 ; 12)$, $F(0 ; 6)$ and $G(12 ; 6)$. The patterns are numbered as follows: at the top, patterns $1$, $2$, $3$, $4$, $5$, $6$ have their numbers placed respectively at the abscissas $4,5$, $7,5$, $10,5$, $13,5$, $16,5$, $19,5$ and at ordinate $14$; in the middle, patterns $7$, $8$, $9$, $10$, $11$, $12$, $13$ have their numbers placed respectively at the abscissas $2$, $5$, $8$, $11$, $14$, $17$, $20$ and at ordinate $9$; at the bottom, patterns $14$, $15$, $16$, $17$, $18$, $19$, $20$ have their numbers placed respectively at the abscissas $2$, $5$, $8$, $11$, $14$, $17$, $20$ and at ordinate $3$.
Answer the following questions on your paper by indicating the number of the appropriate pattern (justification is not required):
a. What is the image of pattern 1 under the translation that maps point B to E?
b. What is the image of pattern 1 under the central symmetry with center B?
c. What is the image of pattern 16 under the central symmetry with center G?
d. What is the image of pattern 2 under the symmetry with respect to the line $(CG)$?
⏳ Solution not generated yet
Open this statement in Expert Maths AI: the step-by-step solution is computed on demand, checked by a second resolution, then published here for everyone.
📝 See the solutionHave a similar exercise? Get it solved step by step, for free.
🧮 Solve my exercise