Solved exercises🧮 Solve my exercise

Brevet (DNB) 2025 — Mathematics general stream, Amérique du Nord 4 juin 2025 — exercise 5 : Scratch, patterns and probability (official exam paper)

MathematicsLevel : Middle schoolScratch, patterns and probability🌐 Lire en français
Statement
In this exercise, no justification is expected. Part 1: patterns We consider three Scratch scripts. Script 1 — define "Pattern 1": • pen down; • repeat 3 times: move 30 steps, turn left 120 degrees; • pen up. Script 2 — define "Pattern 2": • pen down; • repeat 6 times: move 30 steps, turn left 60 degrees; • pen up. Script 3 — define "Pattern 3": • pen down; • repeat 2 times: move 30 steps, then part of the script is erased (see question 2); • pen up. 1. Scripts 1 and 2 each make one of the drawings below. Match each script to its drawing. Drawing 1: a regular hexagon. Drawing 2: an equilateral triangle. 2. Script 3 makes the rhombus described below. Description of the rhombus: the drawing starts horizontally to the right from the starting point; the rhombus has four sides of 30 steps. The lower side is horizontal and measures 30 steps; the right slanted side also measures 30 steps. The angles indicated are $60°$ at the lower right vertex and $120°$ at the lower left vertex. The erased part of the script contains the 3 instructions A, B and C below. On your answer sheet, copy the hidden instructions in the correct order. Each instruction must be used only once. Instruction A: turn left 60 degrees. Instruction B: turn left 120 degrees. Instruction C: move 30 steps. Part 2: the main script Main script: • When the green flag is clicked; • go to x : $-200$ y : $0$ ; • clear all; • point in direction 90; • set the variable Pattern to a random number between 1 and 3; • if Pattern = 3 then: repeat 6 times: Pattern 3, then move 60 steps ; say "Here is the drawing!" ; • otherwise: say "Lost!". Reminders: • "random number between 1 and 3" gives a random integer among 1, 2 and 3. • "point in direction 90" points the sprite horizontally to the right. 3. What are the coordinates of the sprite's starting point? 4. Among the 5 screenshots proposed below, only two are possible. Which ones? Screenshot no. 1: six identical rhombuses arranged horizontally in a tight chain, with the message "Here is the drawing!" above. Screenshot no. 2: six identical rhombuses arranged horizontally, evenly spaced, with the message "Here is the drawing!" above. Screenshot no. 3: no drawing is made; only the message "Lost!" appears. Screenshot no. 4: three identical rhombuses arranged horizontally, evenly spaced, with the message "Here is the drawing!" above. Screenshot no. 5: six rhombuses arranged in a rosette around a central point, with the message "Here is the drawing!" on the right. 5. The green flag is clicked, and we observe the displayed message. What is the probability that the displayed message is "Here is the drawing!" ? 6. The program is run again 100 times and the results obtained are grouped in the following table: Sprite message: "Here is the drawing!" ; "Lost!". Count: 40 ; 60. a. Calculate the frequency of the display "Here is the drawing!". b. Why is this result different from the one obtained in question 5?
⏳ 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