
Kiểm tra kiểu dữ liệu danh sách

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Phan 2
Used 22+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 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?
<tên list>=[<v1>,<v2>,…,<vn>]
<tên list>:=[<v1>,<v2>,…,<vn>]
<tên list>=[<v1>;<v2>;…;<vn>]
<tên list>:[<v1>,<v2>,…,<vn>]
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Lệnh nào sau đây dùng để xoá một phần tử trong danh sách
Del <tên list>[<chỉ số>]
del <tên list>[<chỉ số>]
del <tên list>
del. <tên list>[<chỉ số>]
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Cấu trúc câu lệnh nào sau đây đúng?
<tên list> append(<giá trị>)
<tên list>.append(<chỉ số>)
<tên list>.append(<giá trị>)
< giá trị >.append(<tên list >)
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Lệnh nào sau đây dùng để xoá tất cả các phần tử trong danh sách
<tên list> clear()
clear(<tên list>)
<tên list>. Clear()
<tên list>.clear()
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Lệnh nào sau đây dùng để xoá phần tử đầu tiên trong danh sách có giá trị value
<tên list>.remove(<value >)
<tên list> remove(<value >)
<tên list>.Remove(<value >)
< value >.remove(<tên list >)
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Lệnh nào sau đây dùng để chèn thêm một các phần tử vào danh sách tại vị trí bất kì
<tên list> insert(<vị trí >, <giá trị>)
<tên list>.insert(<vị trí >, <giá trị>)
<tên list>.Insert(<vị trí >, <giá trị>)
<tên list>.insert(<giá trị>,<vị trí >)
7.
MULTIPLE CHOICE QUESTION
1 min • 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?
Đầu
Giữa
Cuối
Vị trí bất kì
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Lập trình hướng đối tượng

Quiz
•
1st - 12th Grade
20 questions
Thao tác tệp trong C++

Quiz
•
9th - 12th Grade
20 questions
FOWD - Working with Text. Lists, and Tables - Review #3

Quiz
•
9th - 12th Grade
20 questions
HTML quiz

Quiz
•
10th Grade - University
20 questions
ICT - Quiz 4

Quiz
•
10th Grade
15 questions
Củng Cố - Biến và lệnh gán trong Python

Quiz
•
10th Grade
20 questions
Python - lists,loops,basics

Quiz
•
9th - 11th Grade
21 questions
ÔN TÂP PYTHON TIN 10

Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade