Search Header Logo

Biến và lệnh gán

Authored by Lê Uyên

Computers

10th Grade

Used 5+ times

Biến và lệnh gán
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong Python, lệnh nào sau đây là lệnh gán đúng?

A. x == 5

B. 5 = x

C. x = 5

D. x := 5

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kiểu dữ liệu của kết quả phép tính 5 + 3.0 trong Python là gì?

A. int

B. float

C. str

D. bool

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Biến trong Python có thể bắt đầu bằng ký tự nào?

A. Ký tự số

B. Dấu cách

C. Chữ cái hoặc dấu gạch dưới (_)

D. Dấu bằng (=)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kết quả của biểu thức 10 // 3 là gì?

A. 3.33

B. 3

C. 4

D. 3.0

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Phép toán ** trong Python dùng để làm gì?

A. Chia lấy phần nguyên

B. Lũy thừa

C. So sánh

D. Gán giá trị

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Từ khóa nào sau đây là không phải từ khóa trong Python?

A. while

B. loop

C. if

D. return

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu lệnh x = x + 1 tương đương với câu lệnh nào sau đây?

A. x++

B. x+=1

C. x =+ 1

D. x = x + x

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?