Cách khai báo nào là đúng trong đoạn chương trình dưới đây:
Ôn tập kì Xuân Tin học 10. 2

Quiz
•
Computers
•
10th Grade
•
Medium
Thị Trần
Used 4+ times
FREE Resource
23 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
def Tich(a, b): print(“Tích a* b là:”, a*b)
def Tich(a;b): print(“Tích a * b là:”, a*b)
def Tich(a, b): print(“Tích a * b là:”, a**b)
def Tich(a, b): print(“Tích a *b là:” a*b)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho đoạn chương trình sau: import math x = 2025 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
30 sec • 1 pt
Cho đoạn chương trình sau: import math x = 81 y = math.sqrt(x) print(y)
9
81
18
x
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đoạn chương trình sau in ra kết quả gì? for i in range(1, 5): print(i * 2, end=" ")
1 2 3 4 5
2 4 6 8 10
2 4 6 8
1 2 3 4 12
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đoạn chương trình sau in ra kết quả gì? x = 2 while x < 10: print(x, end=" ") x *= 2
5 7 9
2 4 8
4 8 16
Lỗi chương trình.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho đoạn lệnh sau: for i in range(9): 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
1 2 3 4 5 6 7 8 9
0 1 2 3 4 5 6 7 8
1 2 3 4 5 6 7 8
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho đoạn chương trình sau: s=0 for i in range(9): 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
28
9
10
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Tin 11 - Bài 3 - Câu hỏi trắc nghiệm

Quiz
•
11th Grade
20 questions
Kiểm tra TX

Quiz
•
10th Grade
20 questions
ITSKILL

Quiz
•
University
20 questions
Tin học 11 chương I

Quiz
•
1st - 12th Grade
20 questions
Bài 11: KIỂU MẢNG MỘT CHỀU

Quiz
•
1st - 10th Grade
20 questions
Scratch_Cơ bản

Quiz
•
1st Grade - University
20 questions
Tin 10 CKII tt

Quiz
•
10th Grade
20 questions
BÀI 24-25 TIN 10

Quiz
•
10th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade