SNLTW_Lv1_buoi9
Quiz
•
Education
•
6th Grade
•
Medium
Long Trần
Used 1+ times
FREE Resource
Enhance your content
10 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
20 sec • 3 pts
family=['Dad', 'Mom', 'Me', 'Sister', 'Brother']
Hãy chọn các phát biểu đúng
List family có 5 phần tử
Phần tử family[1] là 'Dad'
Phần tử family[1] là 'Mom'
Phần tử family[-1] là 'Brother'
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
family=['Dad', 'Mom', 'Me', 'Sister', 'Brother']
Làm sao để in ra các phần tử từ 'Mom' đến 'Sister'?
print(family[1:4])
print(family[1:3])
print(family[2:5])
print(family[2:4])
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
family=['Dad', 'Mom', 'Me', 'Sister', 'Brother']
Làm thế nào để nhân bản các thành viên trong gia đình?
print(family*family)
print(family*2)
print(famiy x family)
print(family)*2
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
family1=['Dad', 'Mom', 'Me', 'Sister', 'Brother']
family2=['Grandpa', 'Grandma', 'Uncle']
Làm thế nào nào để gom các thành viên lại thành một đại gia đình?
bigFamily = family1:family2
bigFamily = family1*family2
bigFamily = family1+family2
bigFamily = family1&family2
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
family=['Dad', 'Mom', 'Me', 'Sister', 'Brother']
Làm thế nào để thêm cô dâu 'My wife' vào gia đình này?
family.add('My wife')
family.plus('My wife')
family.append('My wife')
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
family=['Dad', 'Mom', 'Me', 'Sister', 'Brother']
Chị gái 'Sister' vừa mới đi lấy chồng và đã theo chồng ra nước ngoài định cư
Hãy cập nhật lại danh sách các thành viên hiện tại còn 4 người
delete family[3]
del family[3]
cancel famiy[4]
del family[4]
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Cú pháp để tạo list trong python là gì?
<ten_list> = [giatri1, giatri2, ..., giatriN]
<ten_list> = {giatri1, giatri2, ..., giatriN}
<ten_list> = [giatri1+ giatri2+ ...+ giatriN]
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
WH-questions
Quiz
•
1st - 12th Grade
10 questions
Vowel E Short and Long
Quiz
•
1st - 10th Grade
9 questions
Home Economics
Quiz
•
6th Grade
10 questions
The Renaissance
Quiz
•
3rd Grade - Professio...
13 questions
Jinnah- the Great Leader
Quiz
•
5th - 9th Grade
10 questions
National Education Day
Quiz
•
KG - Professional Dev...
15 questions
String Family Orchestra
Quiz
•
1st - 6th Grade
10 questions
Prepositions of place
Quiz
•
1st - 12th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
