Search Header Logo

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

Authored by Phú Thiên

Computers

9th Grade

Used 2+ times

Kiến thức cơ bản về Python
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Hàm trong Python được định nghĩa bằng từ khóa nào?

method

lambda

function

def

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Phương thức nào được sử dụng để thêm phần tử vào danh sách?

addToList

extend

insert

append hoặc push

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Thư viện nào trong Python được sử dụng để làm việc với thời gian?

time

datetime

dateutil

calendar

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cú pháp nào được sử dụng để định nghĩa một hàm trong Python?

function ten_ham(tham_so):

create ten_ham(tham_so)

define ten_ham(tham_so)

def ten_ham(tham_so):

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Module nào trong Python chứa các hàm toán học cơ bản?

geometry

math

algebra

statistics

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Làm thế nào để kiểm tra loại dữ liệu của một biến trong Python?

Sử dụng hàm type() để kiểm tra loại dữ liệu của một biến.

Sử dụng hàm data_type() để kiểm tra loại dữ liệu.

Sử dụng biến để kiểm tra loại dữ liệu.

Sử dụng hàm checktype() để xác định loại dữ liệu.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Phương thức nào được sử dụng để xóa phần tử khỏi danh sách?

remove hoặc pop

copy

add

insert

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?