Đối tượng dưới đây thuộc kiểu dữ liệu nào? A = [1, 2, ‘3’]

Đề Cương Học Kỳ II Tin Học 10

Quiz
•
Mathematics
•
10th Grade
•
Medium
Hien Hoang
Used 1+ times
FREE Resource
51 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
list.
int.
float.
string.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phương thức nào sau đây dùng để thêm phần tử vào list trong python?
abs().
link().
append().
add().
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của chương trình sau là gì? A = [2, 3, 5, "python", 6] A.append(4) A.append(2) A.append("x") del(A[2]) print(len(A))
5.
6.
7.
8.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hoàn thiện chương trình tính tích các phần tử dương trong danh sách A. >>> S = (...) >>> for i in range(len(A)): (...) S = S * A[i] >>> print(S)
1, if A[i] > 0:
0, if A[i] > 0:
1, if A[i] >= 0:
0, if A[i] > 0
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Toán tử nào dùng để kiểm tra một giá trị có nằm trong danh sách không?
in.
int.
range.
append.
6.
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? 6 in A ‘a’ in A
True, False.
True, False.
False, True.
False, False.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh nào sau đây xoá toàn bộ danh sách?
clear().
exit().
remove().
del().
Create a free account and access millions of resources
Similar Resources on Wayground
49 questions
ÔN TẬP HK 1- TOÁN 10

Quiz
•
10th Grade
50 questions
TRẮC NGHIỆM TOÁN 10 - GKI

Quiz
•
10th Grade
50 questions
1-Nguyên Hàm Cơ Bản - Lần 1-C14

Quiz
•
9th - 12th Grade
47 questions
Nhóm IA

Quiz
•
3rd Grade - University
53 questions
dfff

Quiz
•
10th Grade
50 questions
K10-Ôn tập HK1 (24-25)

Quiz
•
10th Grade
49 questions
Toạ Độ - Lần 3

Quiz
•
9th - 12th Grade
50 questions
toán gki 2 - 11

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade