Để khởi tạo danh sách c gồm 100 số 0 ta dùng cú pháp

Tin gk2( phần trắc nghiệm)

Quiz
•
Computers
•
10th Grade
•
Easy
Nam Đức
Used 2+ times
FREE Resource
52 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
c = 0*[100]
c = [0]*100
c = [0*100]
c = 0*100
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để xóa tất cả các phần tử trong danh sách ta dùng hàm gì?remove()
remove()
clear()
pop()
append()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Xâu “1234%^^%TFRESDRG” có độ dài bằng bao nhiêu?
15
18
17
16
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để gọi đến phần tử đầu tiên trong danh sách a ta dùng lệnh:
#a.0
#a.[1]
a[]
a[0]
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để xóa phần tử thứ 2 trong danh sách a ta dùng lệnh:
del(2)
remove(2)
del a[2]
del a
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để khởi tạo danh sách b có 5 phần tử 1, 2, 3, 4, 5 ta dùng cú pháp
b = (1, 2, 3, 4, 5)
b = [1..5]
b = [1, 2, 3, 4, 5]
b = 1, 2, 3, 4, 5
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong python, để khai báo một danh sách và khởi tạo sẵn một số phần tử ta dùng cú pháp nào?
[]
<tên danh sách> = ()
<tên danh sách> = [0]
<tên danh sách> = []
Create a free account and access millions of resources
Similar Resources on Quizizz
53 questions
Tin 10 - CK2

Quiz
•
10th Grade
51 questions
Ôn Tập Giữa HK2 Tin 10

Quiz
•
10th Grade
48 questions
tin 10 hk1

Quiz
•
10th Grade
48 questions
Ôn tập hk2_k11

Quiz
•
9th - 12th Grade
51 questions
ĐỀ CƯƠNG ÔN TẬP TIN HỌC 10

Quiz
•
10th Grade
55 questions
ôÔN TẬP TIN 10 GK2

Quiz
•
10th Grade
51 questions
Ôn tập GK2 - Tin 10

Quiz
•
10th Grade
57 questions
ĐỀ CƯƠNG ÔN TẬP CUỐI KÌ 2 TIN 10

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade