Brevet (DNB) 2024 — Mathematics general stream, Amérique du Sud 2 décembre 2024 — exercise 5 : Scratch programming and geometric patterns (official exam paper)
Statement
In this exercise, no justification is expected for the answers given to questions 1. and 2.
Using programming software, a block called « Rhombus » is defined to construct a rhombus.
Block « Rhombus » :
- define « Rhombus »;
- pen down;
- repeat 2 times:
- move 20;
- turn right 60 degrees;
- move $a$;
- turn right $b$ degrees;
- pen up.
Rhombus obtained: the starting point and orientation are indicated by a horizontal arrow pointing to the right. The rhombus is drawn starting from this point, with a first side horizontal to the right, then a slanted side descending to the right, then a horizontal side to the left, then a slanted side ascending to the left to return to the starting point.
1. In the block « Rhombus », what values should replace $a$ and $b$ to obtain the rhombus above?
2. A new block named « Pattern A » is then defined:
- define « Pattern A »;
- repeat 3 times:
- Rhombus;
- turn right 60 degrees.
Among the following figures, which one is obtained by executing the block « Pattern A »?
Figure 1: three identical rhombuses start from the same central vertex; the first has its first side horizontal to the right then descending, and the next two are obtained by successive rotations of 45° clockwise.
Figure 2: six identical rhombuses start from the same central vertex and are arranged regularly all around this vertex, by successive rotations of 60°.
Figure 3: three identical rhombuses start from the same central vertex; the first has its first side horizontal to the right then descending, and the next two are obtained by successive rotations of 60° clockwise.
3. A new block named « Pattern B » has been defined. By executing it, the figure below was obtained: three identical rhombuses to the one in block « Rhombus » are aligned horizontally, side by side, from left to right; each has its first side horizontal to the right then descending, and the three rhombuses have the same orientation.
Write a script for the block « Pattern B ».
⏳ 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