
Python_if, else_for_While_KTTX_Tin 10
Quiz
•
Mathematics
•
10th Grade
•
Practice Problem
•
Hard
Hoa Phan
Used 2+ times
FREE Resource
Enhance your content in a minute
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hãy cho biết giá trị của biến X bằng bao nhiêu sau khi thực hiện câu lệnh: X = 5 if 45 % 3 == 0: X =X+2
5
9
7
11
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ta có 2 lệnh sau: x= 8 if x>5: x = x +1 Giá trị của x là bao nhiêu?
5
9
8
6
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hãy cho biết kết quả của đoạn chương trình sau: x=4 if (not x>=5): print("hello") else: print("bye bye")
hello
bye bye
None
Error
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đoạn chương trình sau in ra kết quả nào? a=21; b=11 if a%b==0: print(“YES”) else: print(“NO”)
NO
YES
None
Error
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đoạn chương trình sau in ra kết quả nào?
x=9; y=5
if x
5 9
9 5
59
95
6.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Các câu lệnh Python nào sau đây được viết đúng: A. if x== 5: a = 1 B. if x > 4; a = 1 C. if x > 4: a = 1 else a = 2 D. if x > 4: a = 1 else: a:=2
A
B
C
D
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để tìm giá trị lớn nhất của 2 số a, b thì ta viết: A. Max=a if b>Max: Max=b B. if a>b : Max=a else: Max=b C. Max=b if a>Max: Max=a D. Cả 3 câu đều đúng.
A
B
C
D
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
15 questions
Ôn tập hình học 2
Quiz
•
9th - 12th Grade
20 questions
ÔN TẬP GIỮA KỲ II - TOÁN 6
Quiz
•
9th - 12th Grade
17 questions
ÔN TOÁN LỚP 3 - CKI 2
Quiz
•
1st - 12th Grade
18 questions
OTHK2
Quiz
•
10th Grade
15 questions
Toán 10_Ôn tập học kì 2_Hình học
Quiz
•
10th Grade
20 questions
ÔN THI GKI TOÁN 10 NH 2024-2025
Quiz
•
10th Grade
20 questions
Góc
Quiz
•
1st Grade - University
14 questions
Bất phương trình bậc hai
Quiz
•
10th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Mathematics
25 questions
Complementary and Supplementary Angles
Quiz
•
7th - 10th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
13 questions
Model Exponential Growth and Decay Scenarios
Quiz
•
9th - 12th Grade
27 questions
7.2.3 Quadrilateral Properties
Quiz
•
9th - 12th Grade
16 questions
Converting Improper Fractions to Mixed Numbers
Quiz
•
4th - 10th Grade
10 questions
Simplifying Expressions by Combining Like Terms
Interactive video
•
6th - 10th Grade
10 questions
Simplifying Expressions with the Distributive Property
Interactive video
•
6th - 10th Grade
10 questions
Key Features of Quadratic Functions
Interactive video
•
8th - 12th Grade
