G10 - Ôn tập cuối kì mùa Xuân
Quiz
•
Computers
•
10th Grade
•
Easy
Lê Anh
Used 26+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Cách khai báo nào là đúng trong đoạn chương trình dưới đây:
def Tong(a, b):
print("Tổng a + b là:", a+b)
def Tong(a;b):
print("Tổng a + b là:", a+b)
def Tong(a, b)
print("Tổng a + b là:", a+b)
def Tong(a, b):
print("Tổng a + b là:" a+b)
2.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Cho đoạn chương trình sau:
import math
x = 16
y = math.sqrt(x)
print(y)
Thư viện math cung cấp:
Thủ tục vào ra của chương trình.
Hỗ trợ việc tạo ra các lựa chọn ngẫu nhiên
Các hằng và hàm toán học.
Hỗ trợ trực tiếp các định dạng nén và lưu trữ dữ liệu
3.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Cho đoạn chương trình sau:
import math
x = 25
y = math.sqrt(x)
print(y)
Đoạn chương trình in ra kết quả gì?
5
12.5
25
x
4.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Đoạn chương trình sau in ra kết quả gì?
for i in range(1, 6):
print(i * 2, end=" ")
1 2 3 4 5
2 4 6 8 10 12
2 4 6 8 10
1 2 3 4 5 12
5.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Đoạn chương trình sau in ra kết quả gì?
x = 1
while x < 10:
print(x, end=" ")
x *= 2
1 3 5 7 9
1 2 4 8
1 2 4 8 16
Lỗi chương trình.
6.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Cho đoạn lệnh sau:
for i in range(10):
print(i)
Trên màn hình i có các giá trị là:
0 1 2 3 4 5 6 7 8 9 10
1 2 3 4 5 6 7 8 9 10
0 1 2 3 4 5 6 7 8 9
1 2 3 4 5 6 7 8 9
7.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Cho đoạn chương trình sau:
s=0
for i in range(7):
s=s+i
print(s)
Sau khi thực hiện đoạn chương trình trên giá trị của s là:
1
21
6
28
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
25 questions
G10 Types of Languages, interpreters, & IDEs
Quiz
•
10th Grade
25 questions
Latihan Soal Kelas X
Quiz
•
10th Grade
26 questions
Repaso 2do trimestre Computación 5°
Quiz
•
KG - Professional Dev...
25 questions
1st Period Feb 22, 2024 - Virtual AP CompSci AP
Quiz
•
9th - 12th Grade
25 questions
Post-Test Pengkabelan Jaringan LAN & Penerapan di Sharing Folder
Quiz
•
10th Grade
25 questions
Java Review
Quiz
•
9th Grade - University
25 questions
Introducción a Microsoft OneDrive
Quiz
•
1st - 11th Grade
25 questions
ynhis1
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
MINERS Core Values Quiz
Quiz
•
8th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
