
Câu hỏi về danh sách và lệnh Python
Authored by Thy Ka
English
Professional Development
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
98 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ngoài việc kết hợp lệnh for và range để duyệt phần tử trong danh sách, có thể sử dụng câu lệnh nào khác?
int.
while.
in range.
in.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Giả sử A = ['a', 'b', 'c', 'd', 2, 3, 4]. Các biểu thức sau trả về giá trị đúng hay sai?
True, False.
True, False.
False, True.
False, False.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Giả sử A = [5, 6, 7, 8, 9, 10, 11, 12]. Biểu thức sau trả về giá trị đúng hay sai?
True.
False.
Không xác định.
Câu lệnh bị lỗi.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh nào sau đây xoá toàn bộ danh sách?
clear().
exit().
remove().
del().
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phát biểu nào sau đây là sai?
Sau khi thực hiện lệnh clear(), danh sách gốc trở thành rỗng.
Lệnh remove () có chức năng xoá một phần tử có giá trị cho trước.
Lệnh remove() xoá tất cả các phần tử có giá trị cho trước trong list.
Clear() có tác dụng xoá toàn bộ các danh sách.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Số phát biểu đúng là:
1). Sau khi thực hiện lệnh clear(), các phần tử trả về giá trị 0.
2). Lệnh remove trả về giá trị False nếu không có trong danh sách.
3). remove() có tác dụng xoá một phần tử có giá trị cho trước trong list.
4). Lệnh remove() có tác dụng xoá một phần tử ở vị trí cho trước.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Sau khi thực hiện các câu lệnh sau, mảng A như thế nào?
[1, 2, 3, 4].
[2,
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
100 questions
1.2.1. Daily activities
Quiz
•
Professional Development
95 questions
Cam 18 - Test 3 - Passage 3
Quiz
•
Professional Development
100 questions
Review Chapter 4 (by Ms. Tâm)
Quiz
•
Professional Development
103 questions
Snake Oil
Quiz
•
Professional Development
100 questions
1001-1100
Quiz
•
Professional Development
94 questions
Câu hỏi về lãnh đạo
Quiz
•
Professional Development
97 questions
Cập nhật từ vựng tiếng Anh chuyên ngành logistics
Quiz
•
Professional Development
100 questions
KHÓA TỪ VỰNG – ĐỌC HIỂU NỀN TẢNG
Quiz
•
Professional Development
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for English
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
20 questions
90s Cartoons
Quiz
•
Professional Development
12 questions
Mardi Gras Trivia
Quiz
•
Professional Development
7 questions
Copy of G5_U5_L14_22-23
Lesson
•
KG - Professional Dev...
12 questions
Unit 5: Puerto Rico W1
Quiz
•
Professional Development
42 questions
LOTE_SPN2 5WEEK2 Day 4 We They Actividad 3
Quiz
•
Professional Development
15 questions
Balance Equations Hangers
Quiz
•
Professional Development
31 questions
Servsafe Food Manager Practice Test 2021- Part 1
Quiz
•
9th Grade - Professio...