
Python_if, else_for_While_KTTX_Tin 10

Quiz
•
Mathematics
•
10th Grade
•
Hard
Hoa Phan
Used 2+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Toán 7: Bài 20.2 Tỉ Lệ Thức và Dãy Tỉ Số Bằng Nhau DVL 7

Quiz
•
7th Grade - University
15 questions
19.12 Hoạt động 1 Thống kê

Quiz
•
10th Grade
16 questions
Kiểm tra thường xuyên PT đường thẳng

Quiz
•
10th Grade
14 questions
Python

Quiz
•
KG - Professional Dev...
15 questions
CHƯƠNG I. MỆNH ĐỀ VÀ TẬP HỢP

Quiz
•
10th Grade
15 questions
Thông tư 26/2020

Quiz
•
6th - 12th Grade
11 questions
Định dạng trang , đánh số trang trong văn bản

Quiz
•
10th Grade
20 questions
Tỉ số phần trăm

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

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

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Mathematics
15 questions
ACT Math Practice Test

Quiz
•
9th - 12th Grade
16 questions
Parallel Lines Cut by a Transversal

Lesson
•
9th - 10th Grade
16 questions
Parallel Lines cut by a Transversal

Quiz
•
10th Grade
20 questions
Solving Multi-Step Equations

Quiz
•
10th Grade
20 questions
Multi-Step Equations and Variables on Both Sides

Quiz
•
9th - 12th Grade
10 questions
Angle Relationships with Parallel Lines and a Transversal

Quiz
•
9th - 12th Grade
10 questions
Angle Addition Postulate

Quiz
•
10th Grade
20 questions
Translations, Reflections & Rotations

Quiz
•
8th - 10th Grade