
Tin HK2
Authored by Chấn Hưng Hồ
Other
9th - 12th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
35 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 1: Phát biểu nào sai về kiểu dữ liệu danh sách?
Kiểu dữ liệu danh sách là kiểu dữ liệu gồm một dãy các giá trị
Các phần tử trong kiểu dữ liệu danh sách phải cùng kiểu dữ liệu
A. Chỉ số của các phần tử trong kiểu dữ liệu danh sách bắt đầu từ 0
Kiểu dữ liệu danh sách cho phép thay đổi từng giá trị của từng phần tử bằng lệnh gán.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 2: Cho a1=1, a2=2, a3=5, a4=10, a5=20. Theo em ta nên sử dụng kiểu gì trong Python để hạn chế việc sử dụng nhiều biến như trên?
Kiểu danh sách
Kí tự
Số nguyên
Số thực
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 3: Trong các lựa chọn sau, lựa chọn nào là một danh sách hợp lệ trong Python?
[1,3,4,5,3]
[‘chào’, ‘bạn’]
[3,2,4,’Huy’]
Cả A, B, C
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 4: Đối tượng dưới đây thuộc kiểu dữ liệu nào? A = [1, 2, ‘3’]
list
int
float
string
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 5: Để khởi tạo danh sách A gồm các phần tử là số nguyên (nhập từ bàn phím), ta thực hiện lệnh:
A=[1, 2, 3, 4, 5]
A= int(i) for i in input().split()
A= [float(i) for i in input().split()]
A= [int(i) for i in input().split()]
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 6: Để khởi tạo danh sách a gồm 5 phần tử là số nguyên nhập từ bàn phím, ta thực hiện lệnh:
a=[4, 25, 7, 9, 56]
B. A= int(i) for i in input().split()
a= []
for i in range(5):
a. append(int(input()))
A= [int(i) for i in input().split()]
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 7: Cú pháp truy cập vào một phần tử của danh sách là?
[chỉ số]<danh sách>
<tên danh sách>[<chỉ số>]
<tên danh sách>[<số lượng phần tử>]
[<số phần tử>]<danh sách>
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
30 questions
Văn 10
Quiz
•
10th Grade
30 questions
Ôn tập lớp 9
Quiz
•
9th Grade
30 questions
ĐỀ CƯƠNG ÔN THI TIN HỌC
Quiz
•
8th - 9th Grade
30 questions
LUYỆN TẬP HỌC KÌ II_CÔNG NGHỆ 11
Quiz
•
11th Grade
40 questions
ÔN TẬP CUỐI HKI 12 - ĐỀ 2
Quiz
•
12th Grade
30 questions
Quiz Tổng hợp lớp 5
Quiz
•
5th Grade - University
32 questions
KT-PL 2
Quiz
•
12th Grade
35 questions
Quiz về Sinh sản
Quiz
•
11th Grade - University
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
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Other
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
20 questions
El Verbo IR Practice
Quiz
•
9th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Cell Organelles and Their Functions
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
20 questions
Combining Sentences
Lesson
•
9th Grade
22 questions
El Imperfecto
Quiz
•
9th - 12th Grade
20 questions
Box and Whisker Plots
Quiz
•
9th Grade