
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
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
53 questions
Retaining walls Yr12 B&C Unit 2
Quiz
•
11th - 12th Grade
43 questions
Blood Classification Quiz
Quiz
•
10th Grade
50 questions
PHOTOSHOP INTRO
Quiz
•
9th - 12th Grade
51 questions
Culinary Hospitality review first quarter
Quiz
•
9th - 10th Grade
50 questions
Informatika XI ganjil
Quiz
•
11th Grade
50 questions
Land Judging Scorecard Quiz
Quiz
•
12th Grade
50 questions
THỬ THÁCH VỀ BH-ĐẢNG-ĐOÀN-ĐỘI #1
Quiz
•
1st - 9th Grade
44 questions
An Encanto quiz if you're bored and have a lot of time
Quiz
•
12th 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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
