Ôn tập - Bài 23 Một số lệnh làm việc với kiểu dữ liệu danh sách
Quiz
•
Instructional Technology
•
9th - 12th Grade
•
Practice Problem
•
Medium
IT hl
Used 4+ times
FREE Resource
Enhance your content in a minute
7 questions
Show all answers
1.
MATCH QUESTION
1 min • 1 pt
Em hãy thực hiện ghép các cú pháp với ý nghĩa các lệnh.
Xoá toàn bộ dữ liệu trong danh sách
<tên danh sách>.clear()
Xoá phần tử x từ danh sách.
<tên danh sách>.remove(x)
Chèn phần tử x vào vị trí k của danh sách
<tên danh sách>.insert(k,x)
Kiểm tra xem giá trị có trong danh sách không
<giá trị> in <danh sách>
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để thực hiện chèn phần tử x vào vị trí k của danh sách A ta sử dụng lệnh nào sau đây?
A.append(x)
A.insert(x,k)
A.insert(k,x)
A.remove(x)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để kiểm tra xem giá trị có trong danh sách hay không ta sử dụng lệnh nào sau đây?
<giá trị> in <danh sách>
<danh sách> in <giá trị>
<giá trị> on <danh sách>
<danh sách> on <giá trị>
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dự đoán kết quả đoạn chương trình sau:
>>> A = [10,12,13,2,3,4,9]
>>> 10 in A
False
báo lỗi
True
“Dãy A có số 10”
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dự đoán kết quả đoạn chương trình sau:
>>> A = [10,12,13,2,3,4,9]
>>> A.insert(3,15)
>>>print(A)
[10, 12, 13, 15, 2, 3, 4, 9]
[15, 10, 12, 13, 2, 3, 4, 9]
[10, 12, 13, 2, 3, 4, 9,15]
[10, 12, 15, 13, 2, 3, 4, 9]
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dự đoán kết quả đoạn chương trình sau:
>>> A = [10,12,13,2,3,4,9]
>>> A.clear()
>>>print(A)
[]
báo lỗi
A = [10,12,13,2,3,4,9]
[10,12,13,2,3,4,9]
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dự đoán kết quả đoạn chương trình sau:
>>> A = [10,12,13,2,3,4,9]
>>> A.remove(13)
>>>print(A)
[10, 12, 2, 3, 4, 9]
[10, 13, 2, 3, 4, 9]
[10, 12, 13, 2, 3, 4]
[10, 13, 2, 3, 9, 4]
Similar Resources on Wayground
12 questions
SOFTWARE LIBRE VS SOFTWARE COMERCIAL
Quiz
•
10th - 12th Grade
10 questions
công nghệ 10 covid 19
Quiz
•
10th Grade
12 questions
Estrategia de series numéricas
Quiz
•
7th - 9th Grade
10 questions
Webinar Pensamiento Computacional
Quiz
•
2nd - 12th Grade
10 questions
P2 - 10° - IND1
Quiz
•
12th Grade
10 questions
CONOCIMIENTOS CSS
Quiz
•
10th Grade
10 questions
Excel
Quiz
•
6th - 9th Grade
10 questions
CIRCUITO EN SERIE
Quiz
•
9th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Instructional Technology
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
15 questions
Christmas Song Emoji Pictionary
Quiz
•
7th - 12th Grade
20 questions
Christmas Movies
Quiz
•
1st - 12th Grade
10 questions
Exploring Christmas Traditions Through Cartoons
Interactive video
•
6th - 10th Grade
55 questions
CHS Holiday Trivia
Quiz
•
12th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
