
KIỂM TRA TX HK2 LỚP 10A1
Quiz
•
Information Technology (IT)
•
10th Grade
•
Practice Problem
•
Medium
Minh Trần
Used 4+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Cho chương trình def tinh(n): t = n + 6 return t=4 tinh(16) print("t =", t) Kết quả hiển thị ở màn hình là:
t = 22
t = 10
t = 16
t = 4
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Biến đã khai báo bên ngoài sẽ không có tác dụng bên trong hàm như một biến. Nếu muốn có tác dụng thì cần khai báo lại biến này trong hàm với từ khóa nào?
Global
return
def
global
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Trong python, lệnh tìm vị trí xuất hiện đầu tiên của xâu s2 trong xâu s1 là gì?
Kí tự nối.join(s2)
s1.split()
s1.find(s2)
len(s1)
4.
MULTIPLE CHOICE QUESTION
45 sec • 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 = [0, 1, 2, 3, 4]
b = (1, 2, 3, 4, 5)
b = [1 2 3 4 5]
b = [1, 2, 3, 4, 5]
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Sau khi thực hiện các câu lệnh sau:
A = [1, 4, 3, 4, 5]
A. remove(4)
print(A)
danh sách A là:
[1, 4, 3, 5]
[1, 3, 5]
[1, 3, 4, 5]
[1, 4, 3, 4]
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Cho chương trình:
B = [2, 4, 6, 8, 9]
print(B[5])
Kết quả trên màn hình là:
2
9
Chương trình báo lỗi
6
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Cho 2 xâu s1= "abc", s2 = "7ab8ab9ab". Lệnh s2.find(s1) cho kết quả là:
2
-1
1
3
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
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
Discover more resources for Information Technology (IT)
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
10 questions
Exploring the Origins of Veterans Day
Interactive video
•
6th - 10th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
10 questions
Understanding Protein Synthesis
Interactive video
•
7th - 10th Grade
10 questions
Exploring Newton's Laws of Motion
Interactive video
•
6th - 10th Grade
10 questions
Exploring the Origins of Veterans Day
Interactive video
•
6th - 10th Grade
