mệt cá

mệt cá

9th - 12th Grade

63 Qs

quiz-placeholder

Similar activities

Ôn Tập Tin 10 cuối Kỳ 1 , 24-25

Ôn Tập Tin 10 cuối Kỳ 1 , 24-25

10th Grade

58 Qs

ÔN TẬP GIỮA KỲ 2 LỚP 12

ÔN TẬP GIỮA KỲ 2 LỚP 12

12th Grade

60 Qs

E-BOOK

E-BOOK

KG - University

60 Qs

HTML Assessment

HTML Assessment

9th Grade

60 Qs

Latihan Soal TJKT XI TKJ

Latihan Soal TJKT XI TKJ

11th Grade

60 Qs

OCR A Level Computer Science - 1.5.x

OCR A Level Computer Science - 1.5.x

12th Grade

65 Qs

Lớp 10 Bài 24-25 Xâu kí tự Python

Lớp 10 Bài 24-25 Xâu kí tự Python

10th Grade

63 Qs

ÔN TẬP THI HỌC KÌ 1 TIN 12 - 2022 + 2023

ÔN TẬP THI HỌC KÌ 1 TIN 12 - 2022 + 2023

12th Grade

60 Qs

mệt cá

mệt cá

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Easy

Created by

Đỗ Hiếu

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

63 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Khai báo biến kiểu danh sách , cấu trúc câu lệnh nào sau đây là đúng?

a)    <tên list>=[<v1>,<v2>,…,<vn>]

a)    <tên list>:=[<v1>,<v2>,…,<vn>]

a)    <tên list>=[<v1>;<v2>;…;<vn>]

a)    <tên list>:[<v1>,<v2>,…,<vn>]

2.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Lệnh nào sau đây dùng để xoá một phần tử trong danh sách

a)    del <tên list>[<chỉ số>]

a)    Del <tên list>[<chỉ số>]

a)    del <tên list>

a)    del. <tên list>[<chỉ số>]

3.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Cấu trúc câu lệnh nào sau đây đúng?

a)    <tên list>.append(<giá trị>)

a)    <tên list> append(<giá trị>)

a)    <tên list>.append(<chỉ số>)

a)    <tên list> append(<chỉ số>)

4.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Câu lệnh <tên list>.append(<giá trị>) sẽ thêm <giá trị> vào vị trí nào trong danh sách?

cuối

đầu

giữa

để đại

5.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Để khai báo danh sách A có các giá trị 2, 4, "3". Câu lệnh nào sau đây đúng

A. A=[2,4, "3"]

B. A=[2;4; "3"]

C. A:=[2,4, "3"]

D. A:[2,4, "3"]

6.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Cho danh sách

A= [ 2, 4, 6, True]

Câu lệnh nào sau đây thực hiện xoá giá trị 4 trong dánh sách A

a)    del A[2]

a)    del A[1]

a)    Del A[1]

a)    Del A[2]

7.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Hãy cho biết kết quả hiển thị trên màn hình khi thực hiện đoạn chương trình sau:

A=[1,2]

A.append(True)

print(A)

a)    [1,2,True]

a)    [1,2, "True"]

a)    ["True",1,2]

a)    [1, 2, true]

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?