
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
50 questions
Ôn tập CK 2

Quiz
•
10th Grade - University
41 questions
ÔN TẬP GK2 - TIN HỌC 10

Quiz
•
10th Grade
46 questions
BAI ON KHOI 5

Quiz
•
1st Grade - University
41 questions
chủ đề 5

Quiz
•
10th Grade
46 questions
tin học , người làm bạn gục ngã

Quiz
•
10th Grade
50 questions
K10 - Giữa HK II

Quiz
•
10th Grade
50 questions
ÔN TẬP GKII TIN 10

Quiz
•
10th Grade
49 questions
ÔN TẬP CHỦ ĐỀ F TIN 10

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

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

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
10 questions
Essential Lab Safety Practices

Interactive video
•
6th - 10th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
21 questions
Arithmetic Sequences

Quiz
•
9th - 12th Grade