Quiz về Kiểu Dữ Liệu List và Set (1)
Quiz
•
Information Technology (IT)
•
7th Grade
•
Practice Problem
•
Medium
Khang Nghĩa
Used 19+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
List trong Python là gì?
Một kiểu dữ liệu chỉ chứa chuỗi.
Một kiểu dữ liệu chỉ chứa số nguyên.
Một kiểu dữ liệu không thay đổi.
Một kiểu dữ liệu cho phép lưu trữ một tập hợp các phần tử.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm nào được sử dụng để thêm phần tử vào cuối list?
insert()
append()
remove()
pop()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cách nào để truy cập phần tử đầu tiên trong list?
my_list[-1]
my_list[0]
my_list[2]
my_list[1]
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Điểm khác biệt chính giữa list và set trong Python là gì?
`set` có thể chứa phần tử trùng lặp, còn `list` thì không
`set` không cho phép phần tử trùng lặp, còn `list` thì có
`set` có thể được truy cập bằng chỉ mục, còn `list` thì không
Không có sự khác biệt
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm nào được sử dụng để xóa toàn bộ phần tử trong list?
clear()
remove()
pop()
append()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cú pháp nào dùng để tạo một set?
my_set = set(1, 2, 3)
my_set = (1, 2, 3)
my_set = {1, 2, 3}
my_set = [1, 2, 3]
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm nào dùng để tìm chỉ số của phần tử trong list?
list.search(value)
list.find(value)
list.index(value)
list.locate(value)
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
20 questions
Unit-1 Introduction to Cloud Computing
Quiz
•
University
10 questions
Bài 23: Thực hành truy xuất dữ liệu qua liên kết bảng
Quiz
•
11th Grade
10 questions
NoSQL Concepts
Quiz
•
University
10 questions
TIN HỌC 8/2
Quiz
•
8th Grade
15 questions
01mcb
Quiz
•
12th Grade - University
15 questions
Ekskul Komputer - Pengetahuan Umum Komputer
Quiz
•
6th - 8th Grade
15 questions
ASTS INFORMATIKA KELAS 9
Quiz
•
9th Grade
10 questions
BÀI 23. CHUẨN BỊ XÂY DỰNG TRANG WEB
Quiz
•
12th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd 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
Discover more resources for Information Technology (IT)
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
15 questions
Christmas Movie Trivia
Quiz
•
7th Grade
20 questions
Convection, Conduction, and Radiation
Quiz
•
6th - 8th Grade
20 questions
One-Step Inequalities
Quiz
•
7th Grade
20 questions
Context Clues
Quiz
•
5th - 8th Grade
21 questions
Christmas Figurative Language
Quiz
•
6th - 8th Grade
