Solved exercises🧮 Solve my exercise

Brevet (DNB) 2025 — Mathematics general stream, Centres étrangers Groupe I 16 juin 2025 — exercise 5 : Probabilities and Algorithms (official exam paper)

MathematicsLevel : Middle schoolProbabilities and Algorithms🌐 Lire en français
Statement
A digital keypad controls the opening of the front door of Léna’s grandmother’s house. Léna has forgotten the code. She knows that it is made up of a letter A, B, or C, followed by a digit from 0 to 9. 1. Suggest two different codes that Léna can try. 2. What is the probability that Léna’s grandmother chose the letter C in her code? 3. Show that the probability that Léna’s grandmother chose the digit 7 in her code is $\dfrac{1}{10}$. 4. Léna remembers that her grandmother, a retired mathematics teacher, likes prime numbers. What is the probability that the code chosen by her grandmother contains a prime number? 5. a. Léna decides to try all possible codes. She estimates that she needs 5 seconds to try one code. Will she manage to open the house door in less than 3 minutes? 5. b. Does the format of this code guarantee the security of the house? How could this code system be improved? 6. Each time a user enters a code, a program tells them whether the code is correct or wrong. The program used is shown below. Scratch program description: When the green flag is clicked, the program asks “Enter a letter among A, B, and C” and waits. It sets the variable “entered letter” to the response. Then it asks “Enter a number between 0 and 9” and waits. It sets the variable “entered digit” to the response. If “entered letter = B” and “entered digit = 7”, then it says “Code correct” for 2 seconds; otherwise it says “Code wrong” for 2 seconds. 6. a. Léna enters the code B5. What does the program display? 6. b. According to this program, what is the code that allows entry into Léna’s grandmother’s building?
⏳ 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