Python_if, else_for_While_KTTX_Tin 10

Python_if, else_for_While_KTTX_Tin 10

10th Grade

16 Qs

quiz-placeholder

Similar activities

ÔN TẬP TOÁN MTO 3 - PHẦN 2

ÔN TẬP TOÁN MTO 3 - PHẦN 2

5th Grade - University

16 Qs

Bất Đẳng Thức

Bất Đẳng Thức

10th Grade

15 Qs

Xác suất 1 - K10

Xác suất 1 - K10

10th Grade

20 Qs

Alg II Unit 6 Performance Task

Alg II Unit 6 Performance Task

9th - 12th Grade

15 Qs

BKFC - THPT Giá Rai 2022

BKFC - THPT Giá Rai 2022

1st - 10th Grade

20 Qs

Vui học văn

Vui học văn

1st - 12th Grade

16 Qs

Ôn tập hình học

Ôn tập hình học

9th - 12th Grade

12 Qs

Toan tiet 5_tuan 6

Toan tiet 5_tuan 6

10th - 11th Grade

14 Qs

Python_if, else_for_While_KTTX_Tin 10

Python_if, else_for_While_KTTX_Tin 10

Assessment

Quiz

Mathematics

10th Grade

Practice Problem

Hard

Created by

Hoa Phan

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?