Solved exercises🧮 Solve my exercise

Brevet (DNB) 2025 — Mathematics general stream, Asie 9 juin 2025 — exercise 4 : Scratch and hexagons (official exam paper)

MathematicsLevel : Middle schoolScratch and hexagons🌐 Lire en français
Statement
In this exercise, no justification is expected. Reminder: the Scratch instruction "point in direction 90" means that the sprite is facing right. PART A A student wants to draw a hexagon from 6 equilateral triangles as in the figure opposite. The figure is a regular hexagon divided into 6 equilateral triangles having a common vertex at the center; the segments joining the center to the 6 vertices and the 6 sides of the hexagon are drawn. To do this, they first write the script below for the "equilateral triangle" pattern: Scratch block: define equilateral triangle; repeat [blank] times; move [blank] steps; turn left [blank] degrees. A small figure shows an equilateral triangle. 1. Complete and copy onto your answer sheet lines 2, 3 and 4 of the script so that the sprite draws an equilateral triangle with side length 50 steps. 2. This student tests programs A and B. They obtain the two drawings below. Which program makes it possible to draw the desired hexagon? Program A: when key A is pressed; go to x: 0 y: 0; point in direction 90; clear all; pen down; repeat 6 times { equilateral triangle; turn left 60 degrees }. Program B: when key B is pressed; go to x: 0 y: 0; point in direction 90; clear all; pen down; repeat 6 times { equilateral triangle; turn left 120 degrees }. Drawings obtained: the first drawing is the complete regular hexagon divided into 6 equilateral triangles; the second drawing is an incomplete figure made up of several triangle segments but not forming the complete desired hexagon. PART B Another student wants to draw a regular hexagon with side length 50 steps as in the figure below. Description of the obtained figure: a regular hexagon is drawn; an arrow indicates the point with coordinates $(0;0)$ located at the lower-left vertex of the hexagon. The information about hexagons indicates that the sides are equal and that the interior angles measure $120\degres$. They wrote the following program: when the green flag is clicked; go to x: 0 y: 0; point in direction 90; pen down; clear all; repeat A times { [blank block] }. On the answer sheet, copy the "repeat" block by replacing A with its value and completing it with 2 instructions chosen from the 6 instructions proposed below: - move 50 steps; - turn right 120 degrees; - turn left 60 degrees; - move 5 steps; - turn left 120 degrees; - turn right 60 degrees.
⏳ 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 solution

Have a similar exercise? Get it solved step by step, for free.

🧮 Solve my exercise