LIST - 1 - PYTHON 11

Quiz
•
Computers
•
11th Grade
•
Medium
Nguyễn Hữu Hiền Tài
Used 27+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cú pháp khởi tạo danh sách list là
a = [1, 2, …, N]
<Tên danh sách> = [<Giá trị 1>, <Giá trị 2>, …, <Giá trị N>]
[Tên danh sách] = [<Giá trị 1>, <Giá trị 2>, …, <Giá trị N>]
<Tên danh sách> = (<Giá trị 1>, <Giá trị 2>, …, <Giá trị N>)
2.
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>]
3.
MULTIPLE CHOICE QUESTION
20 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]
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
a = [1,2,3,4,5]
a[1] có giá trị là
1
2
3
4
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho a = [1,2,3,4,5]
Lệnh len(a) cho giá trị là bao nhiêu?
1
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
a = ['PCT', 11, 'TIN']
len(a) cho kết quả là:
8
7
3
9
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Khởi động

Quiz
•
9th - 12th Grade
10 questions
Bài 10A: Sử dụng hàm COUNTIF

Quiz
•
9th Grade - University
10 questions
BÀI 11A. SỬ DỤNG HÀM SUMIF

Quiz
•
9th Grade - University
12 questions
Kiểm Tra Cuối Năm Môn Tin Học 5

Quiz
•
5th Grade - University
12 questions
Tin học 2

Quiz
•
11th Grade
9 questions
HTML Basics

Quiz
•
9th Grade - Professio...
10 questions
Bài tập trắc nghiệm C++

Quiz
•
3rd - 12th Grade
10 questions
CÂU HỎI CỦNG CỐ

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade