Solved exercises🧮 Solve my exercise

Brevet (DNB) 2021 — Mathematics general stream, Amérique du Sud 23 novembre 2021 — exercise 4 : Scratch Programming and Figures (official exam paper)

MathematicsLevel : Middle schoolScratch Programming and Figures🌐 Lire en français
Statement
In this exercise, no justification is required. The following program is given. Main script: - when green flag clicked; - erase all; - go to x: 0 y: 0; - point in direction 90; - repeat 4 times: execute the Square block, then move 50 steps. Square block: - define Square; - pen down; - repeat 4 times: move 50 steps, then turn left 90 degrees; - pen up. Recall that the instruction « point in direction 90 » means that you are facing right. 1. Run the program. Draw the figure obtained using 1 cm for 25 length units. The Main script is modified, and the two scripts below are obtained. Main script A: - when green flag clicked; - erase all; - go to x: 0 y: 0; - point in direction 90; - repeat 3 times: execute the Square block, then move 25 steps. Main script B: - when green flag clicked; - erase all; - go to x: 0 y: 0; - point in direction 90; - repeat 4 times: execute the Square block, then turn left 90 degrees. 2. Among the three figures below, match on your answer sheet each of the two main scripts A and B with the figure it produces. Description of the proposed figures: - Figure 1: a square of side 2 units, divided into 2 columns and 2 rows, thus made up of 4 identical small squares. - Figure 2: a rectangle of length 4 units and height 1 unit, divided into 4 small aligned squares. - Figure 3: a rectangle of length 3 units and height 2 units, divided into 3 columns and 2 rows, thus made up of 6 identical small squares. We want to produce the following figure: it is centered on the starting point; it contains an unrotated square, centered at the same point, with horizontal and vertical sides, and its horizontal and vertical medians drawn; it also contains the same drawing rotated by 45 degrees about the center. Thus, two squares of the same size, one upright and the other tilted by 45 degrees, are superimposed, each being subdivided by its two medians. The starting point is at the center of the figure. 3. Complete the new main script below by copying onto your answer sheet only lines 5 and 7. For reference, the statement below on the right recalls the description of the Square block. New main script to complete: 1. when green flag clicked; 2. erase all; 3. go to x: 0 y: 0; 4. point in direction 90; 5. repeat …… times; 6. execute the Square block; 7. …… Square block recalled: - define Square; - pen down; - repeat 4 times: move 50 steps, then turn left 90 degrees; - pen up.
⏳ 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