
Ôn tập tin học hk2
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Easy
Vinh Ngô
Used 2+ times
FREE Resource
Enhance your content in a minute
80 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để khai báo một danh sách rỗng l ta dùng cú pháp sau:
l == []
l = 0
l = []
l = [0]
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để khởi tạo danh sách l gồm các phần tử 1,2,3,4,5 ta dùng cú pháp
l = 1..5
l = "[1, 2, 3, 4, 5]"
l = [1..5]
l = [1, 2, 3, 4, 5]
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để thêm phần tử vào cuối danh sách ta dùng hàm:
append
pop
clear
remove
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để xóa tất cả các phần tử trong danh sách ta dùng hàm gì?
append
pop
clear
remove
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để lấy ra phần tử ở cuối danh sách l và đồng thời cũng xóa phần tử đó khỏi danh sách ta dùng lệnh:
l.pop()
pop(l)
l(pop)
pop l
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Với l là một danh sách thì câu lệnh nào sử dụng được?
[l] + 10
l + [10]
[l + 10]
l [+] 10
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh [1, 2, 3] + [4, 5, 6] cho kết quả
[1, 2, 3, 4, 5, 6]
[[1, 2, 3], [4, 5, 6]]
[[1], [2], [3], [4], [5], [6]]
Cả ba phương án trên đều sai
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
75 questions
K11_Chủ đề 1+2
Quiz
•
11th Grade
79 questions
Tin CK1
Quiz
•
12th Grade
82 questions
ÔN GIỮA KÌ 1_12 2024_2
Quiz
•
12th Grade
78 questions
Sử 11
Quiz
•
11th Grade
80 questions
bài tập
Quiz
•
10th Grade
76 questions
tin học tn
Quiz
•
10th Grade
77 questions
TIN GKI
Quiz
•
12th Grade
80 questions
Reti
Quiz
•
7th - 10th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
