KT 15p lớp 10_b22,23

KT 15p lớp 10_b22,23

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

Personal Letter

Personal Letter

11th Grade

10 Qs

Por que é que os coelhos põem ovos?

Por que é que os coelhos põem ovos?

7th - 9th Grade

10 Qs

LENGUAJE, LENGUA Y HABLA

LENGUAJE, LENGUA Y HABLA

10th Grade

10 Qs

Edipo Rey y Mitología griega

Edipo Rey y Mitología griega

10th Grade

14 Qs

bab 4.1

bab 4.1

9th - 12th Grade

16 Qs

Teks Proposal

Teks Proposal

11th Grade

10 Qs

SOAL PAT BHS. INDONESIA KELAS X PKBM SEMESTER GENAP

SOAL PAT BHS. INDONESIA KELAS X PKBM SEMESTER GENAP

10th Grade

20 Qs

Jinnah- the Great Leader

Jinnah- the Great Leader

5th - 9th Grade

13 Qs

KT 15p lớp 10_b22,23

KT 15p lớp 10_b22,23

Assessment

Quiz

Education

9th - 12th Grade

Easy

Created by

Nguyễn Ngọc Tuấn

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...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Phương thức nào sau đây dùng để thêm phần tử vào cuối list trong python?

abs()

link()

append()

add()

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Danh sách A sẽ như thế nào sau các lệnh sau?

A = [2, 3, 5, 6]

A. append(4)

del (A[2])

print(A)

[2, 3, 6, 4]

[2, 3, 5, 4]

[3, 6, 4]

[2, 3, 6, 5, 4]

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

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

A = [2, 3, 5, "python", 6]

A.append(4)

A.append(2)

A.append("x")

del(A[2])

print(len(A))

5

6

7

8

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Cho arr = [‘xuan’, ‘hạ’, 1. 4, ‘đông’, ‘3’, 4.5, 7]. Đâu là giá trị của arr[3]?

1.4

'đông'

'3'

4.5

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Lệnh nào để duyệt từng phần tử của danh sách?

for

while - for

for kết hợp với lệnh range()

while kết hợp với lệnh range()

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Lệnh xoá một phần tử của một danh sách A có chỉ số i là:

list.del(i)

A. del(i)

del A[i]

A. del[i]

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Chương trình sau thực hiện công việc gì?

S = 0

for i in range(len(A)):

if A[i] > 0: S = S + A[i]

print(S)

Duyệt từng phần tử trong A

Tính tổng các phần tử trong A

Tính tổng các phần tử không âm trong A

Tính tổng các phần tử dương trong A

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?