ÔN TẬP CUỐI KỲ 2

Quiz
•
Specialty
•
10th Grade
•
Medium
Lệnh Nguyễn
Used 3+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho khai báo mảng sau: A = list(“3456789”) Để in giá trị phần tử thứ 2 của mảng một chiều A ra màn hình ta viết:
print(A[2]).
print(A[1]).
print(A[3]).
print(A[0]).
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
Lệnh xoá một phần tử của một danh sách A có chỉ số i là:
list.del(i).
A. del(i).
del A[i].
A. del[i].
4.
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.
5.
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.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Python, câu lệnh nào dùng để tính độ dài của xâu s?
len(s).
length(s).
s.len().
s. length().
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Xâu “1234%^^%TFRESDRG” có độ dài bằng bao nhiêu?
16.
17.
18.
15.
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
Bài 24

Quiz
•
10th Grade
20 questions
Khởi động 5.5.2023

Quiz
•
9th - 12th Grade
20 questions
Ôn tập hk 10

Quiz
•
10th Grade
22 questions
Ôn tập inh, ich, ai, ay. Số 10,11,12

Quiz
•
1st Grade - University
20 questions
Câu hỏi 161 đến 180

Quiz
•
KG - Professional Dev...
23 questions
Ôn tập Địa lí cuối học kì 1

Quiz
•
2nd Grade - University
21 questions
Tin học 8 - CĐ5

Quiz
•
1st - 10th Grade
21 questions
Tin 10 CKII

Quiz
•
10th Grade
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
10 questions
Afterschool Activities & Sports

Quiz
•
6th - 8th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
15 questions
Cool Tool:Chromebook

Quiz
•
6th - 8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
20 questions
Bullying

Quiz
•
7th Grade
18 questions
7SS - 30a - Budgeting

Quiz
•
6th - 8th Grade