
Kiến thức về List trong Python

Quiz
•
Computers
•
6th Grade
•
Medium
LONG NGUYEN
Used 1+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
List là gì trong Python?
List trong Python là một kiểu dữ liệu dùng để lưu trữ một giá trị duy nhất trong một biến.
List trong Python là một kiểu dữ liệu chỉ dùng để lưu trữ chuỗi ký tự.
List trong Python là một kiểu dữ liệu chỉ dùng để lưu trữ số nguyên.
List trong Python là một kiểu dữ liệu dùng để lưu trữ nhiều giá trị khác nhau trong một biến.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cách khai báo một List trong Python?
my_list = '1, 2, 3'
my_list = [1, 2, 3]
my_list = (1, 2, 3)
my_list = {1, 2, 3}
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Làm thế nào để truy cập phần tử trong một List?
list.at(index)
list[element]
list{index}
list[index]
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Làm thế nào để cập nhật giá trị của một phần tử trong List?
my_list.update(index, new_value)
my_list.replace(index, new_value)
my_list[index] = new_value
my_list.add(index, new_value)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Làm thế nào để thêm một phần tử vào List?
my_list.extend(new_element)
my_list.insert(new_element)
my_list.append(new_element)
my_list.add(new_element)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Làm thế nào để xóa một phần tử khỏi List?
del my_list[index]
my_list.remove(element) hoặc my_list.pop(index)
my_list.exclude(element)
my_list.clear()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Làm thế nào để sắp xếp một List trong Python?
my_list.reorder()
my_list.sort()
my_list.order()
my_list.arrange()
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Tin học 5

Quiz
•
1st - 12th Grade
15 questions
Lập trình hướng đối tượng

Quiz
•
1st - 12th Grade
20 questions
Ôn tập kiểm tra giữa HK1 - K6

Quiz
•
6th Grade
20 questions
IC3 SPARK LV3 - CHỦ ĐỀ 4 - SÁNG TẠO NỘI DUNG - LỚP 5

Quiz
•
5th Grade - University
15 questions
Python- Biến và KDL

Quiz
•
6th - 8th Grade
10 questions
PY_HW10

Quiz
•
6th Grade
20 questions
Ôn tập Tin học 5 HKI

Quiz
•
4th Grade - University
12 questions
BÀI 9. TRÌNH BÀY DỮ LIỆU BẰNG BIỂU ĐỒ

Quiz
•
1st - 12th 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
Discover more resources for Computers
11 questions
Hallway & Bathroom Expectations

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

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

Interactive video
•
6th - 10th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
30 questions
Teacher Facts

Quiz
•
6th Grade
24 questions
Flinn Lab Safety Quiz

Quiz
•
5th - 8th Grade
20 questions
Adding and Subtracting Integers

Quiz
•
6th Grade
10 questions
Essential Lab Safety Practices

Interactive video
•
6th - 10th Grade