
tin haodepzai
Authored by LQ Mobile
Specialty
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
48 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Chương trình sau thực hiện công việc gì?
>>> S = 0
>>> for i in range(len(A)): if A[i] < 0:
S = S + A[i] >>> print(S)
Tính tổng các phần tử trong A
Tính tổng các phần tử dương trong A
Duyệt từng phần tử trong A
Tính tổng các phần âm trong A
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Để khởi tạo danh sách b có 5 phần tử 1, 2, 3, 4, 5 ta dùng cú pháp:
b = 1, 2, 3, 4, 5
b = (1, 2, 3, 4, 5)
b = [1, 2, 3, 4, 5]
b = [1,5]
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Để kiểm tra một giá trị có nằm trong danh sách hay không, ta dùng cú pháp nào sau đây?
<danh sách> in <giá trị>
<giá trị> in <danh sách>
<giá trị> on <danh sách>
<giá trị> insert <danh sách>
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Kết quả của chương trình sau là bao nhiêu?
>>> s = “123456”
>>> print(s[3])
‘4’
‘5’
‘3’
‘2’
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Lệnh nào sau đây dùng để tách xâu
join()
split()
copy()
remove()
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Kết quả của các câu lệnh sau là gì?
s = "123456abcdde "
print(s.find("34"))
0.
2.
1.
3
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Đoạn chương trình sau sẽ in ra số nào? >>> def f(a,b):
t = a - b
return t*a*b
>>> f(5,2)
10
35.
30
20
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
50 questions
Promotional Media in Sports & Entertainment
Quiz
•
9th - 12th Grade
45 questions
Baterai (Aki Sepeda Motor)
Quiz
•
10th - 12th Grade
46 questions
GDCT-C1- bài 6
Quiz
•
12th Grade
51 questions
Siêu trí tuệ lớp 4A
Quiz
•
4th Grade - University
50 questions
Grade 5. Comparation
Quiz
•
5th Grade - University
50 questions
Dasar Desain Grafis
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
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 Specialty
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