Python-Partie2
Quiz
•
Other, Computers
•
1st Grade
•
Practice Problem
•
Hard
PASCAL RICHY
Used 73+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quelle fonction insère un objet à un index donné dans une liste ?
list.index(obj)
list.insert(index, obj)
list.pop(obj=list[-1])
list.remove(obj)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
En python, quelle est la bonne méthode pour charger un module ?
include math
import math
#include math.h
using math
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quelle est la sortie pour 'python' [-3] ?
‘h’
‘t’
‘o’
Erreur : index négatif.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quelle sera la sortie du code suivant: print type(type(int)) ?
type ‘int’
type ‘type’
Error
0
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quelle sera la sortie du code suivant ?
[ (a,b) for a in range(3) for b in range(a) ]
[(1,0),(2,0),(2,1)]
[(1,0),(2,1),(2,1)]
[(0,0),(1,1),(2,2)]
[(1,0),(2,1),(3,2)]
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Quelle sera la sortie du code suivant ?
myList = ['a','b','c','d']
print "".join(myList)
[‘a’,’b’,’c’,’d’]
abcd
Null
Erreur
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quelle sera la sortie du code suivant?
print(max('welcom to waytolearnx'))
x
w
y
.
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?
Similar Resources on Wayground
11 questions
3ème vers
Quiz
•
1st Grade
12 questions
Pâtisserie
Quiz
•
1st - 10th Grade
10 questions
Vélo
Quiz
•
1st - 10th Grade
10 questions
Qu'est-ce qu'un PITCH ?
Quiz
•
1st - 10th Grade
15 questions
Les questions en français
Quiz
•
1st - 8th Grade
12 questions
Les adjectifs
Quiz
•
1st - 6th Grade
11 questions
les sports
Quiz
•
1st Grade - Professio...
15 questions
CONTABILIDAD "SALARIOS"
Quiz
•
1st - 12th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Other
8 questions
2 Step Word Problems
Quiz
•
KG - University
10 questions
Martin Luther King, Jr. For Kids
Interactive video
•
1st - 12th Grade
20 questions
Telling Time to the Hour and Half hour
Quiz
•
1st Grade
20 questions
Place Value
Quiz
•
KG - 3rd Grade
12 questions
Telling Time to the Hour and Half Hour
Quiz
•
1st - 3rd Grade
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University
16 questions
Measurement
Quiz
•
1st Grade
20 questions
CVC Words
Quiz
•
KG - 1st Grade
