Brevet (DNB) 2025 — Mathematics general stream, Nouvelle Calédonie 11 décembre 2025 — exercise 6 : Scratch (official exam paper)
Statement
1. Match each script below to the figure that corresponds to it.
On the answer sheet, indicate the number of the script and the corresponding figure.
SCRIPT 1:
when the green flag is clicked
pen down
repeat 3 times:
• move 100 steps
• turn right 60 degrees
SCRIPT 2:
when the green flag is clicked
pen down
repeat 3 times:
• move 100 steps
• turn right 90 degrees
SCRIPT 3:
when the green flag is clicked
pen down
repeat 3 times:
• move 100 steps
• turn right 120 degrees
FIGURE A: open broken line made of three segments of the same length: one horizontal segment to the right, then one vertical segment downward, then one horizontal segment to the left; it represents three sides of a square.
FIGURE B: closed equilateral triangle made of three segments of the same length.
FIGURE C: open broken line made of three segments of the same length, with two 60° changes in direction: the four successive points form a zigzag line descending to the right.
The script below controls the construction of figure D.
Script for figure D:
when the green flag is clicked
pen down
move 20 steps
turn right 90 degrees
move 40 steps
turn right 90 degrees
move 60 steps
turn right 90 degrees
move 80 steps
turn right 90 degrees
Figure D: rectangular spiral broken line composed of four successive segments, with right angles and lengths that increase: 20 steps, 40 steps, 60 steps, 80 steps.
Figure E: extension of the same rectangular spiral, composed of successive right-angled segments whose lengths increase regularly. Starting from the center, you move to the right, then downward, then to the left, then upward, and so on. The lengths shown are proportional to 20, 40, 60, 80, 100, 120, 140, 160, 180, 200, 220, 240 and 260 steps.
2. Complete the script on Appendix 2 that controls the construction of figure E.
Appendix 2 - Exercise 6: Question 2.
Script to complete:
when the green flag is clicked
set length to [blank]
pen down
repeat [blank] times:
• move [blank] steps
• turn right 90 degrees
• add [blank] to [blank]
⏳ 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