
C4M2-S7-J1-ListsetTuples
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
Rasha Ali
Used 1+ times
FREE Resource
Enhance your content in a minute
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Quelle est la sortie du code suivant ?
list = [ 'Tech', 404, 3.03, 'Beamers', 33.3 ]
print(list[1:3])
[ 'Tech', 404, 3.03, 'Beamers', 33.3 ]
Aucune des réponses
[404, 3.03]
['Tech', 'Beamers']
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Quelle est la valeur des couleurs[2] ?
couleurs = ['rouge', 'orange', 'jaune', 'vert', 'bleu', 'indigo', 'violet']
bleu
orange
indigo
jaune
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Si le code suivant est exécuté en Python, quel serait le résultat ?
num = '5'*'5'
27
TypeError : impossible de multiplier la séquence par la non-int du type 'str'
9
55555
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
list1 = list("Technology")
#Crée une liste avec les caractères T, e, c, h, n, o, l, o, g, y
Vrai
Faux
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
list1=['t', 'e', 'c', 'h', 'n', 'o', 'l', 'o', 'g', 'y']
max(list1)
't'
'g'
'y'
'e'
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
list1=['t', 'e', 'c', 'h', 'n', 'o', 'l', 'o', 'g', 'y']
sum(list1)
154
345
12
TypeError: unsupported operand type(s) for +: 'int' and 'str'
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
list1=['I', 'love']
list2=['data', 'and' , 'python']
list3 = list1+list2
list3
TypeError: unsupported operand type(s) for +
['I', 'love', 'data', 'and', 'python']
34
Create a free account and access millions of resources
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
10 questions
ทำความรู้จักกับภาษาไพทอน
Quiz
•
University
12 questions
Python: Strings and Lists
Quiz
•
University
10 questions
ÔN TẬP BÀI 16 - K10
Quiz
•
10th Grade - University
10 questions
GSI DP-100 Day 1
Quiz
•
University - Professi...
15 questions
HTML is FuN! 2
Quiz
•
10th Grade - University
10 questions
Intro-Computação_3.3
Quiz
•
University
8 questions
Python String Slicing
Quiz
•
University
10 questions
PF Unit 10
Quiz
•
9th Grade - University
Popular Resources on Wayground
10 questions
Forest Self-Management
Lesson
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
30 questions
Thanksgiving Trivia
Quiz
•
9th - 12th Grade
30 questions
Thanksgiving Trivia
Quiz
•
6th Grade
11 questions
Would You Rather - Thanksgiving
Lesson
•
KG - 12th Grade
48 questions
The Eagle Way
Quiz
•
6th Grade
10 questions
Identifying equations
Quiz
•
KG - University
10 questions
Thanksgiving
Lesson
•
5th - 7th Grade
Discover more resources for Computers
10 questions
Identifying equations
Quiz
•
KG - University
7 questions
Different Types of Energy
Interactive video
•
4th Grade - University
20 questions
HS2C2 AB QUIZIZZ
Quiz
•
1st Grade - Professio...
14 questions
Homonyms Quiz
Quiz
•
KG - University
16 questions
Parts of a Parabola
Quiz
•
8th Grade - University
10 questions
A Brief History of Geologic Time
Interactive video
•
11th Grade - University
15 questions
Black Friday/Cyber Monday
Quiz
•
9th Grade - University
7 questions
Biomolecules (Updated)
Interactive video
•
11th Grade - University
