PY_HW10

PY_HW10

6th Grade

10 Qs

quiz-placeholder

Similar activities

More on powerpoint

More on powerpoint

6th Grade

11 Qs

Konsep Routing

Konsep Routing

1st - 10th Grade

10 Qs

Key Concepts 1

Key Concepts 1

5th - 7th Grade

11 Qs

Introduction to Networks

Introduction to Networks

6th - 8th Grade

14 Qs

Kuis Webinar Cerdas Bertelekomunikasi OTP Fraud

Kuis Webinar Cerdas Bertelekomunikasi OTP Fraud

6th Grade - Professional Development

10 Qs

JUEGO - UNIDADES DE MEDIDA DE ALMACENAMIENTO

JUEGO - UNIDADES DE MEDIDA DE ALMACENAMIENTO

1st - 10th Grade

12 Qs

Access

Access

1st - 10th Grade

10 Qs

Mappaszerkezet

Mappaszerkezet

5th - 6th Grade

13 Qs

PY_HW10

PY_HW10

Assessment

Quiz

Computers

6th Grade

Practice Problem

Hard

Created by

Trung DX

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

Câu 1: Lệnh nào được sử dụng để thêm một phần tử vào cuối danh sách?

  1. A.      append()

  1. B.      insert()

  1. C.      extend()

  1. D.      add()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu 2: Để thêm một phần tử vào danh sách tại vị trí tuỳ chọn, ta sử dụng lệnh nào?

  1. A.      append()

  1. B.      insert()

  1. C.      extend()

  1. D.      add()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu 3: Để xóa tất cả các phần tử trong danh sách A, lệnh nào sau đây là đúng?

  1. A.      clear(0, len(A))

  1. B.      clear(A)

  1. C.      A.clear()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu 4: Để lấy ra phần tử cuối cùng trong danh sách A và xóa nó khỏi danh sách, lệnh nào sau đây là đúng?

A.      x=A.pop()

B.      x=pop(A)

C.      x=A[len(A)]

D.      x=A[len(A)-1]

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu 5: Để sắp xếp danh sách A theo thứ tự tăng dần, lệnh nào sau đây là đúng?

A.      reverse(A)

B.      A.reverse()

C.      A.sort()

D.      sort(A)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Câu 6: Kết quả in ra màn hình đoạn chương trình sau:

A.      [5,9,7,3,4,1]

B.      [5,7,9,3,4,1]

C.      [5,7,3,4,1,2,9

D.      [2,9,5,7,3,4,1]

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Câu 7: Kết quả in ra màn hình của đoạn chương trình sau:

Media Image
Media Image
Media Image
Media Image

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?