Search Header Logo

Ứng dụng Python phân tích dữ liệu và xây dựng mô hình_buổi 1

Authored by Văn Nhớ

Other

Professional Development

Used 2+ times

Ứng dụng Python phân tích dữ liệu và xây dựng mô hình_buổi 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Trong Python, định dạng dữ liệu "float" được sử dụng để lưu trữ:

Chuỗi ký tự

Số nguyên

Số thực

Boolean

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Trong Python, để truy cập phần tử cuối cùng của một list, bạn sử dụng:

list[-1]

list[0]

list[length(list)]

list[last()]

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Đoạn mã sau sẽ in ra gì: print(3 * 'abc')?

abcabcabcabc

abcabcabc

abcabc

abc

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Trong Python, câu lệnh nào được sử dụng để khai báo một hàm?

define

def

function

func

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Trong Python, hàm "append()" được sử dụng để làm gì đối với list?

Loại bỏ phần tử cuối cùng

Thêm một phần tử vào cuối list

Sắp xếp các phần tử trong list

Lấy phần tử cuối cùng

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Đoạn mã sau sẽ in ra gì: print(7 // 2)?

3.5

3

2

3.0

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Trong Python, câu lệnh nào sau đây sẽ in ra tất cả các key của một dictionary?

print(dictionary.keys())

print(dictionary.get_keys())

print(dictionary)

print(dictionary.items())

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?