
10_list

Quiz
•
Computers
•
1st Grade
•
Medium
Phong Thanh
Used 8+ times
FREE Resource
24 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để biết kích thước của danh sách ta dùng hàm:
len()
sort()
pop()
type()
2.
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 viết:
b = 1, 2, 3, 4, 5
b = (1, 2, 3, 4, 5)
b = [1..5]
b = [1, 2, 3, 4, 5]
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để thêm phần tử vào cuối danh sách ta dùng hàm:
append()
pop()
clear()
remove()
4.
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)
del a[2]
del a
remove(2)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để xóa tất cả các phần tử trong danh sách, ta gọi hàm thành viên:
append()
pop()
clear()
remove()
6.
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[1]
a[0]
a0
a[]
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho mảng a=[0,2,4,6]. Phần tử a[1]=?
2
0
4
6
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
TRẮC NGHIỆM CHỦ ĐỀ 1 - LỚP 5

Quiz
•
1st Grade
20 questions
Bài 15 Công việc được thực hiện theo điều kiện

Quiz
•
1st - 5th Grade
19 questions
5D - BẢO VỆ MÁY TÍNH VÀ DỮ LIỆU

Quiz
•
1st - 5th Grade
20 questions
Tin học 5

Quiz
•
1st - 12th Grade
20 questions
Bài kiểm tra giữa kì 2 Tin 7 23_24

Quiz
•
1st Grade
20 questions
KIỂM TRA GK1-LỚP 3-TIN HỌC

Quiz
•
1st - 5th Grade
20 questions
BÀI 11 : ĐẠO ĐỨC, PHÁP LUẬT VÀ VĂN HÓA TRONG MÔI TRƯỜNG SỐ

Quiz
•
1st Grade
20 questions
CS316 Chapter 2 Solid Linked list

Quiz
•
1st Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade