Search Header Logo

LHU Python 4

Authored by Phạm Ngọc

Professional Development

KG

Used 36+ times

LHU Python 4
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

n = "2", số 2 là kiểu dữ liệu gì

float

int

double

string

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

9//2= ?

4.5

4,5

1

4

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Giá trị nhận vào của hàm input() mang kiểu dữ liệu gì?

string

int

float

double

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Để định dạng dữ liệu khi xuất ra ta dùng hàm gì?

print()

format()

fromat()

fomat()

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Exception (Xử lí ngoại lệ) có cú pháp:

try:

catch:

catch:

try:

except:

try:

try:

except:

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Nếu ta sửa getcontext().prec = 2 thì kết quả in ra là:

6.18

6,18

6.2

6,2

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

(1) else, (2) if, (3) elif, sắp xếp thứ tự làm việc:

(1)(2)(3)

(2)(3)(1)

(1)(3)(2)

(2)(1)(3)

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?