Mã lỗi ngoại lệ của lệnh sau là float(“5 + 3 - 2”)

Ôn Tập Tin Học 10

Quiz
•
Computers
•
10th Grade
•
Hard
honglien Nguyen
FREE Resource
51 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
IndexError
TypeError
SyntaxError
ValueError
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh nào sau đây KHÔNG báo lỗi?
float(4+9)
int(“6+8”)
int(“5.5”)
float(“4+5+6”)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của đoạn chương trình sau: x=2028 if (x%4==0 and x%100!=0) or x%400==0: print("Năm",x,"là năm nhuận") else: print("Năm",x,"không phải là năm nhuận")
Năm 2028.
2028.
Năm 2028 không phải là năm nhuận.
Năm 2028 là năm nhuận.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho x = True, y = False, z=False. Cho biết giá trị của biểu thức sau: not((x or y ) and z )
True
False
x
1
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của chương trình sau: x = 1 y = 5 while x < y: print(x, end = " ") x = x + 1
1 2 3 4 5.
2 3 4.
1 2 3 4.
2 3 4 5.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho đoạn chương trình: S = 0 for i in range(8): S = S + i print(S) Sau khi thực hiện chương trình giá trị của biến S bằng bao nhiêu?
28.
21.
36.
27.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho đoạn chương trình: S = 0 for i in range(6): S = S*2+i print(S) Sau khi thực hiện chương trình giá trị của biến S bằng bao nhiêu?
16.
26.
27.
57.
Create a free account and access millions of resources
Similar Resources on Quizizz
46 questions
BAI ON KHOI 5

Quiz
•
1st Grade - University
50 questions
Excel - Hàm

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

Quiz
•
9th - 12th Grade
47 questions
Ôn Tập Tin Học 10

Quiz
•
10th Grade
55 questions
file ôn tập tin độc quền của đạt đz

Quiz
•
10th Grade
50 questions
ZuZin

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

Quiz
•
10th Grade
56 questions
Ôn tập kiểm tra giữa học kỳ 2

Quiz
•
9th - 12th 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