
KIỂM TRA TX HK2 LỚP 10A1
Quiz
•
Information Technology (IT)
•
10th Grade
•
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
16 questions
Test1
Quiz
•
9th - 12th Grade
20 questions
Câu hỏi về cấu trúc lặp trong Python
Quiz
•
10th Grade
20 questions
10 - Bài 8
Quiz
•
10th Grade
20 questions
Tin 10 CTSS Trắc Nghiệm Bài 8 Wellspring Saigon 2024-2025
Quiz
•
10th Grade
23 questions
Câu hỏi trắc nghiệm về Tin học
Quiz
•
10th Grade
15 questions
AI và đạo đức người dùng
Quiz
•
9th - 12th Grade
15 questions
Bài 19: Câu lệnh rẽ nhánh IF
Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
4 questions
Activity set 10/24
Lesson
•
6th - 8th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
30 questions
October: Math Fluency: Multiply and Divide
Quiz
•
7th Grade
Discover more resources for Information Technology (IT)
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
15 questions
Halloween Characters
Quiz
•
7th - 12th Grade
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
14 questions
Halloween Fun
Quiz
•
2nd - 12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
20 questions
Translations, Reflections & Rotations
Quiz
•
8th - 10th Grade
10 questions
Exploring Newton's Laws of Motion
Interactive video
•
6th - 10th Grade
20 questions
Cell organelles and functions
Quiz
•
10th Grade
