
KIỂM TRA TX HK2 LỚP 10A1

Quiz
•
Information Technology (IT)
•
10th Grade
•
Medium
Minh Trần
Used 4+ times
FREE Resource
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
Similar Resources on Wayground
24 questions
ÔN TẬP TIN HỌC 5 HK2

Quiz
•
5th Grade - University
15 questions
Đề đánh giá thường xuyên 1 - Tin 10

Quiz
•
10th Grade
15 questions
W20 - Kiểu dữ liệu, biến

Quiz
•
10th Grade
20 questions
tin học

Quiz
•
10th Grade
16 questions
ĐỀ CƯƠNG ÔN TẬP KTCK II - TIN 10 (KNTT) - ĐỀ CƯƠNG SỐ 1

Quiz
•
10th Grade
15 questions
Bài 28

Quiz
•
10th Grade - University
15 questions
Bài 27

Quiz
•
10th Grade - University
15 questions
Bài 30

Quiz
•
10th Grade - University
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
20 questions
Lab Safety and Equipment

Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix

Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
20 questions
Lab Safety and Lab Equipment

Quiz
•
9th - 12th Grade
13 questions
25-26 Behavior Expectations Matrix

Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
6 questions
Secondary Safety Quiz

Lesson
•
9th - 12th Grade
15 questions
Let's Take a Poll...

Quiz
•
9th Grade - University