Search Header Logo

Python - Bài 4

Authored by Huệ Bình Huỳnh

Education

9th - 12th Grade

Python - Bài 4
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho đoạn chương trình sau: a=3.4 print(type(a)) Kết quả trên màn hình là kiểu dữ liệu:

int
float
str
bool

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu lệnh nhập với biến kiểu nguyên là:

Biến=(input(dòng thông báo)
Biến=float(input(dòng thông báo))
Biến=input()
Biến=int(input(dòng thông báo))

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu lệnh nhập với biến kiểu thực là:

Biến=(input(dòng thông báo)
Biến=float(input(dòng thông báo))
Biến=input()
Biến=int(input(dòng thông báo))

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để nhập từ bàn phím biến a kiểu nguyên ta viết:

a=input(‘n=’)
a=float(input(‘n=’))
a=int(input(‘n=’))
a=int()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để nhập từ bàn phím biến b kiểu thực ta viết:

b=input(‘n=’)
b=float(input(‘n=’))
b=int(input(‘n=’))
b=int()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu lệnh đưa giá trị các biểu thức ra màn hình là:

print()
print(‘danh sách biểu thức’)
print danh sách biểu thức
print(danh sách biểu thức)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Gọi s là diện tích tam giác ABC, để đưa giá trị của s ra màn hình ta viết:

print(s)
print s
print(‘s)
print:(s)

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?