Search Header Logo

Bài 2-Biến, kiểu dữ liệu - lớp 7

Authored by thuy phan

Computers

7th Grade

Used 20+ times

Bài 2-Biến, kiểu dữ liệu - lớp 7
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu nào sau đây là cú pháp khai báo biến hợp lệ trong Python?

var name = "Python"

variable x := 5

x = 5

int x = 5

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kiểu dữ liệu nào sau đây là kiểu dữ liệu số nguyên trong Python?

int

float

str

bool

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Biểu thức nào sau đây dùng để chuyển đổi một số nguyên x sang kiểu dữ liệu chuỗi?

str(x)

int(x)

float(x)

bool(x)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu nào sau đây tạo một biến có giá trị bằng 10?

x: int = 10

x == 10

x = 10

int x = 10

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Toán tử nào được dùng để cộng thêm một vào biến x?

x = x + 1

x++

++x

x =+ 1

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Giá trị trả về của biểu thức 10 // 3 là gì?

3.33

3

4

3.0

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Biểu thức nào sau đây sẽ trả về giá trị True?

5 > 7

10 < 3

7 == 7

"Python" != "python"

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?