Tin 2

Tin 2

9th - 12th Grade

44 Qs

quiz-placeholder

Similar activities

Digestive System Test Review

Digestive System Test Review

12th Grade

45 Qs

Unidad de trabajo 9

Unidad de trabajo 9

1st Grade - University

40 Qs

BÀI 1_K10

BÀI 1_K10

10th Grade

41 Qs

Quiz on Classification (Reasoning)

Quiz on Classification (Reasoning)

8th - 10th Grade

40 Qs

Đề thi thử Số 1

Đề thi thử Số 1

12th Grade

40 Qs

macro true false

macro true false

11th Grade - University

40 Qs

Trắc nghiệm tin 12B4

Trắc nghiệm tin 12B4

12th Grade

43 Qs

US Desain Multimedia Interaktif

US Desain Multimedia Interaktif

12th 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?