
bài 14 lớp 10
Quiz
•
Computers
•
10th Grade
•
Practice Problem
•
Easy
Ngọc Trần
Used 2+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Câu 1. Để khai báo danh sách a và khởi tạo danh sách a có 3 phần tử 10, 20, 30, phương án nào sau đây đúng?
a = (10,20,30)
a = {10,20,30}
a = [10,20,30]
a = 10,20,30
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Câu 2. Để khai báo danh sách a rỗng, phương án nào sau đây đúng?
a ==[]
a= 0
a = []
a = [0]
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Câu 3. Để xuất phần tử đầu tiên trong danh sách a, phương án nào sau đây đúng?
print(a[1])
print(a[0])
print(a0)
print(a1)
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Câu 4. Dùng lệnh nào sau đây để lấy ra phần tử cuối cùng trong danh sách a?
pop(a)
a.pop()
pop(len(a))
pop()
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Câu 5. Để xóa phần tử thứ 2 trong danh sách a ta dùng lệnh:
a.pop(2)
a.pop(1)
remove(a[2])
remove(a[1])
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Câu 6. Cho danh sách a = [1, 2, 3, 4, 5]. Lệnh nào dưới đây sẽ thêm số 6 vào danh sách a?
a.append(6)
a.insert(6)
a.add(6)
a.extend(6)
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Câu 7. Để lấy ra phần tử cuối cùng trong danh sách a và xóa nó khỏi danh sách, phương án nào sau đây đúng?
x=a.pop()
x=pop(a)
x=a[len(a)]
x=a[len(a)-1]
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
10 questions
Visual Basic 2010
Quiz
•
8th Grade - University
11 questions
Types of Mass Media
Quiz
•
10th Grade - Professi...
15 questions
Introducción Redes Tele1 IB
Quiz
•
10th Grade - University
10 questions
Contact Center Sevices
Quiz
•
7th - 10th Grade
10 questions
Questionário Aula 6 - Int. à Inf. (Segurança e Proteção)
Quiz
•
10th Grade
8 questions
Basic computer
Quiz
•
9th - 12th Grade
10 questions
Licencias de Software
Quiz
•
9th - 10th Grade
9 questions
MẠNG MÁY TÍNH
Quiz
•
10th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
