Solved exercises🧮 Solve my exercise

Brevet (DNB) 2026 — Mathematics general stream, Antilles, Guyane 30 juin 2026 — exercise 3 : Calculation and Algorithmic Program (official exam paper)

MathematicsLevel : Middle schoolCalculation and Algorithmic Program🌐 Lire en français
Statement
Consider the calculation program below. Program A - Choose a number - Subtract 2 - Multiply by 5 - Add three times the starting number 1. Verify that by choosing 1 as the starting number, you obtain $-2$ with this calculation program. 2. Let $x$ be the number chosen at the start. a. Show that the result of the program is $8x - 10$. b. What starting number should be chosen so that the result of the program is equal to 0? 3. Algorithmic question a. Consider below the calculation program B, carried out with the software "Scratch". Program B: When the green flag is clicked; ask "choose a number" and wait; set the variable result to $4 \times$ answer; set the variable result to result $- 5$; set the variable result to $2 \times$ result; say result. Applying this calculation program to the number 1, what final result is obtained? b. Show that the result of program A is always the same as that of program B, whatever number is chosen at the start.
⏳ 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