VÒNG 1. KIỂU DANH SÁCH

VÒNG 1. KIỂU DANH SÁCH

10th Grade

10 Qs

quiz-placeholder

Similar activities

QUIZ PTK 1

QUIZ PTK 1

10th Grade

10 Qs

PTS DKV Informatika

PTS DKV Informatika

10th Grade

10 Qs

Quiz Algoritma dan Pseudocode

Quiz Algoritma dan Pseudocode

10th Grade

10 Qs

LKPD I_Aplikasi Pengolah Kata

LKPD I_Aplikasi Pengolah Kata

10th Grade

15 Qs

Dispositivos de Entrada/Salida

Dispositivos de Entrada/Salida

9th - 12th Grade

14 Qs

Understanding Loops in C Programming

Understanding Loops in C Programming

1st Grade - University

15 Qs

TH10-Bai8-t1

TH10-Bai8-t1

10th Grade

10 Qs

Informatika saat ini & di masa depan

Informatika saat ini & di masa depan

9th - 12th Grade

10 Qs

VÒNG 1. KIỂU DANH SÁCH

VÒNG 1. KIỂU DANH SÁCH

Assessment

Quiz

Information Technology (IT)

10th Grade

Practice Problem

Hard

Created by

Trương Minh Hậu undefined

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Phương thức nào dùng để thêm phần tử vào cuối danh sách trong Python?

len()

pop()

append()

add()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Đối với kiểu dữ liệu danh sách, hàm len trong Python có chức năng gì?

Số lượng phần tử trong danh sách.

Xóa phần tử khỏi danh sách.

Chỉ ra kiểu dữ liệu của danh sách.

Đưa ra giá trị lớn nhất chứa trong danh sách.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để tham chiếu đến phần tử đầu tiên trong danh sách A ta dùng lệnh:

A[1]

A[0]

A[]

A[-1]

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lệnh nào sau đây xoá toàn bộ danh sách?

pop()

remove()

del()

clear()

5.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

Sau khi thực hiện đoạn chương trình sau thì danh sách a có các phần tử:

a=[1,2,3]

a.insert(0,2)

print(a)

[0,1,2,3]

[2,3]

[2,1,2,3]

[1,2,3,2]

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho danh sách a = [1, 2, 3, 4, 5]. Lệnh nào dưới đây sẽ trả về giá trị nhỏ nhất trong danh sách?

min(a)

a.min()

max(a)

a.max()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để sắp xếp danh sách a theo thứ tự không giảm, phương án nào sau đây đúng?

sort(a)

a.sort()

sum(a)

a.clear()

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?