Search Header Logo

Ôn tập giữa HK2 - Tin 11

Authored by Tâm Vũ

Computers

11th Grade

Used 12+ times

Ôn tập giữa HK2 - Tin 11
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

42 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kết quả sau khi thực hiện đoạn chương trình sau là gì?

x = []

x.append(1)

x.append(5)

print(x)

[]

1, 5

[1, 5]

1 5

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Đâu là lệnh truy xuất đến phần tử thứ i của list a

a(i)

a{i}

ai

a[i]

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

a = ['PCT', 11, 'TIN']

len(a) cho kết quả là:

8

7

3

9

4.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Cho biết kết quả hiển thị ra màn hình sau khi máy chạy khối lệnh python sau:

L=[1,10,-5]

L. append(9)

print(max(L))

1

10

-5

9

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu lệnh khởi tạo list nào sau đây đúng cú pháp

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

a = (1, 2, 3, 4, 5)

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

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

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

b = ['a','b','c','d','e']

c = a + b

giá trị của c là

1,2,3,4,5,'a','b','c','d','e'

[1,'a',2,'b',3,'c',4,'d',5,'e']

[1,2,3,4,5]['a','b','c','d','e']

[1,2,3,4,5,'a','b','c','d','e']

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kết quả sau khi thực hiện đoạn chương trình sau là gì?

x=[1]

y= x

x = x + [2]

Print(x, y)

[1,2] [1]

[1,2]

[3,1]

[1,2,1]

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?