
Interro 2
Authored by Philippe ROUSSILLE
Information Technology (IT)
University
Used 15+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Comment récupérer une valeur saisie par l'utilisateur dans un programme Python ?
get_input()
input()
read()
fetch()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quelle est la fonction correcte pour afficher un texte et une variable dans Python ?
echo()
output()
print()
display()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quel est l'opérateur utilisé pour obtenir le reste d'une division entière en Python ?
//
%
/
*
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quelle est la syntaxe correcte pour une structure conditionnelle en Python ?
if x = 10 then
if x == 10:
if x equal 10:
if x := 10 then
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quelle est la boucle qui permet de répéter un bloc d'instructions un nombre déterminé de fois ?
while
for
repeat
loop
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quel est l'opérateur logique utilisé pour maintenir une boucle en exécution tant qu'une condition est vraie ?
while
for
until
loop
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Comment appelle-t-on une fonction qui prend des paramètres et retourne une valeur en Python ?
def
return
func
method
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?