
Kiểm Tra Cuối Học Kỳ II Môn Tin Học 10

Quiz
•
Computers
•
10th Grade
•
Medium
Hiền Hiền
Used 2+ times
FREE Resource
45 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong ngôn ngữ lập trình Python, câu lệnh nào sau đây là câu lệnh rẽ nhánh đơn?
if x > 0:
if x > 0: print("Dương") else: print("Âm")
while x > 0:
for i in range(5):
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh rẽ nhánh trong lập trình có tác dụng gì?
Thực hiện lặp đi lặp lại một đoạn mã
Sắp xếp dữ liệu theo thứ tự
Lựa chọn thực hiện một trong nhiều hành động dựa trên điều kiện
Khai báo biến mới
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho đoạn mã: a = [1, 2, 3, 4, 5] print(a[1:4]) Kết quả là:
[1, 2, 3]
[2, 3, 4]
[1, 2, 3, 4]
[2, 3, 4, 5]
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho danh sách a = [5, 3, 8, 1]. Câu lệnh nào sắp xếp danh sách tăng dần?
sort(a)
a.sort()
a.order()
a.sorted()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho đoạn mã: a = [10, 20, 30, 40] a.remove(20) print(a) Kết quả là:
[10, 30, 40]
[20, 30, 40]
[10, 20, 30]
[10, 20, 30, 40]
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đoạn mã sau thực hiện chức năng gì? x = int(input("Nhập số: ")) if x > 0: print("Số dương") elif x < 0: print("Số âm") else: print("Số không")
Kiểm tra số chia hết cho 2
Kiểm tra xem số là dương, âm hay bằng 0
Kiểm tra số nguyên tố
Tính tổng các số từ 1 đến x
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Viết đoạn mã kiểm tra số nguyên n có chia hết cho cả 2 và 3 hay không. Nếu có, in "Đúng", ngược lại in "Sai". Câu nào sau đây đúng?
if n % 2 == 0 and n % 3 == 0: print("Đúng") else: print("Sai")
if (n % 2 == 0 or n % 3 == 0): print("Đúng")
if n % 2 == 0: print("Đúng") elif n % 3 == 0: print("Sai")
if n % 6 == 0: print("Sai")
Create a free account and access millions of resources
Similar Resources on Wayground
44 questions
Tin học

Quiz
•
9th Grade - University
42 questions
TIN HỌC KHỐI 5 HK1

Quiz
•
1st Grade - University
41 questions
K10 ÔN TẬP L1 HK2

Quiz
•
10th Grade
40 questions
Ôn tập giữa kì 2_Tin10_THĐ_1

Quiz
•
9th - 12th Grade
50 questions
KIỂM TRA GIỮA KÌ 2

Quiz
•
9th - 12th Grade
48 questions
tin 10 hk1

Quiz
•
10th Grade
43 questions
Bài 4, 6 chủ đề F tin 10

Quiz
•
10th Grade
40 questions
Ôn tập cuối kì 1

Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade