Looking for CC - P1 - Promo 2029 test answers and solutions? Browse our comprehensive collection of verified answers for CC - P1 - Promo 2029 at moodle.myefrei.fr.
Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!
Sous quelles conditions l'instruction d'affichage est-elle exécutée ?
Répéter
Lire(val)
Tant que (val < 0 OU val >= 10)
Ecrire(val)
Quelle est la sortie produite par la suite d'instructions suivante ?
res <- 1
x <- 2
n <- 3
Pour i <- 1 à n Faire
res <- res * x
Fin Pour
Ecrire(x, " puissance ", n = res)
Quel est le rôle de la suite d'instructions suivante ?
Lire(n)
k <- 1
Tant que n > 2 Faire
n <- n - 2
k <- k + 1
Fin tant que
Parmi les propositions suivantes, lesquelles sont vraie ?
i <- 1
Tant que i < 10 Faire
Si i % 2 = 0 Alors
Ecrire(i)
Fin Si
i <- i + 1
Fin tant que
What is the value of the list L at the end of the execution of these instructions?
Which input(s) cause the display of each of the messages "Arbre," "But," "Cygne," and "Doigt" exactly once?
Note: The order of the display does not matter.
Please note that incorrect answers are penalized.
What is the output produced by the execution of the code below?
What is the value of the variable `res` after the execution of the code below?
Please note that incorrect answers are penalized.
Among the following expressions, determine which ones evaluate to `True` or `False`.