Kiến thức Python cơ bản

Kiến thức Python cơ bản

12th Grade

12 Qs

quiz-placeholder

Similar activities

TỔNG KẾT NĂM HỌC 6A15-HỌP PHỤ HUYNH

TỔNG KẾT NĂM HỌC 6A15-HỌP PHỤ HUYNH

KG - University

10 Qs

kiểm tra về tình bạn

kiểm tra về tình bạn

5th - 12th Grade

13 Qs

Year 9 Escape

Year 9 Escape

8th Grade - University

10 Qs

Đoán bài hát Việt Nam

Đoán bài hát Việt Nam

1st - 12th Grade

9 Qs

Doraemon

Doraemon

3rd - 12th Grade

11 Qs

CUỘC THI ĐỐ VUI

CUỘC THI ĐỐ VUI

1st - 12th Grade

17 Qs

Ôn tập PLHDTM

Ôn tập PLHDTM

1st Grade - University

10 Qs

PYTHON -- variables

PYTHON -- variables

9th - 12th Grade

13 Qs

Kiến thức Python cơ bản

Kiến thức Python cơ bản

Assessment

Quiz

Fun

12th Grade

Hard

Created by

Kiều Thị

FREE Resource

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Khi sử dụng input(), dữ liệu nhận được mặc định thuộc kiểu nào?

int

float

str

bool

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lệnh nào sau đây được sử dụng để ghi dữ liệu vào file?

print("Hello")

file.read()

file.write("Xin chào")

csv.writer()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lệnh nào sau đây khai báo biến hợp lệ trong Python?

var x = 10

x = 10

int x = 10

declare x = 10

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kiểu dữ liệu nào sau đây không phải kiểu dữ liệu cơ bản trong Python?

int

float

doublenumber

bool

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kết quả của đoạn code sau là gì? a, b, c = 10, 20, 30 print(a, b, c)

10 10 10

10 20 30

(10, 20, 30)

Error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Toán tử // trong Python có ý nghĩa gì?

Chia lấy phần dư

Chia bình thường

Chia lấy phần nguyên

Lũy thừa

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kết quả của đoạn code sau là gì? x = 5 x += 3 print(x)

5

8

3

Error

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?