
tin haodepzai
Quiz
•
Specialty
•
9th - 12th Grade
•
Practice Problem
•
Easy
LQ Mobile
Used 1+ times
FREE Resource
Enhance your content in a minute
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
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
Already have an account?
Similar Resources on Wayground
46 questions
SAS Ganjil Mapel Mulok Kelas X
Quiz
•
10th Grade
50 questions
Vital Signs and First Aid
Quiz
•
9th - 12th Grade
50 questions
LCT PENTAS PAI 262
Quiz
•
1st Grade - University
50 questions
Pengolahan Bahan Nabati
Quiz
•
12th Grade
50 questions
3015.U3.- Magnitudes eléctricas y su medida (Total)
Quiz
•
9th Grade
45 questions
Ôn tập cuối kỳ II - tin 10
Quiz
•
9th - 12th Grade
45 questions
Soal PAS Fundamental Marketing kelas XI BDP
Quiz
•
11th Grade
45 questions
Intro: Chp 19 Review
Quiz
•
9th - 12th 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
