Tin 2

Tin 2

9th - 12th Grade

44 Qs

quiz-placeholder

Similar activities

Assesment kognitif Awal Fase F 2023/2024

Assesment kognitif Awal Fase F 2023/2024

11th Grade

45 Qs

TO2 Ekonomi

TO2 Ekonomi

12th Grade

40 Qs

Latihan PTS KIMIA kelas X

Latihan PTS KIMIA kelas X

10th Grade

40 Qs

KWR menguji prototype produk barang/jasa

KWR menguji prototype produk barang/jasa

11th Grade

40 Qs

GAME PWPB 1

GAME PWPB 1

12th Grade

40 Qs

Тілдер күні

Тілдер күні

1st - 12th Grade

40 Qs

đề minh họa 1

đề minh họa 1

12th Grade

40 Qs

PAT BAHASA INDONESIA KELAS X MIPA

PAT BAHASA INDONESIA KELAS X MIPA

10th Grade

40 Qs

Tin 2

Tin 2

Assessment

Quiz

Other

9th - 12th Grade

Practice Problem

Easy

Created by

Đinh Hoàng Nam 10a2

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

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

44 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Danh sách A trước và sau lệnh insert() là [1, 3, 5, 0] và [1, 3, 4, 5, 0]. Lệnh đã dùng là

lệnh gì?

insert(2, 4)

insert(4, 2)

insert(3, 4)

insert(4, 3)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Sau khi thực hiện các câu lệnh sau, kết quả của danh sách a như thế nào?

>>> a = [1, 2, 3, 4, 5]

>>> a. clear()

>>> print(A)

[]

[2, 3]

[1, 2, 4, 5]

[0]

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kết quả của chương trình sau là gì?

A = [1, 2, 3, 4, 5, 6, 5]

for k in A:

print(k, end = " ")

1 2 3 4 5 6

1 2 3 4 5 6 5

1 2 3 4 5

2 3 4 5 6 5

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để xóa 2 phần tử ở vị trí 1 và 2 trong danh sách a hiện tại ta dùng lệnh gì?

del a[1:2]

del a[0:2]

del a[0:3]

del a[1:3]

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Xâu rỗng là xâu có độ dài bằng bao nhiêu?

1

2

0

3

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để lấy độ dài của xâu s ta dùng hàm nào dưới đây?

str(s)

len(s)

length(s)

s.len()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Xâu kí tự nào sau đây hợp lệ?

1) “123_@##”

2) ‘hoa hau’

3) 346h7g84jd

4) python

1

2

3

4

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?