
mệt cá
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Easy
Đỗ Hiếu
Used 1+ times
FREE Resource
Enhance your content in a minute
63 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
3 mins • 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?
a) <tên list>=[<v1>,<v2>,…,<vn>]
a) <tên list>:=[<v1>,<v2>,…,<vn>]
a) <tên list>=[<v1>;<v2>;…;<vn>]
a) <tên list>:[<v1>,<v2>,…,<vn>]
2.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Lệnh nào sau đây dùng để xoá một phần tử trong danh sách
a) del <tên list>[<chỉ số>]
a) Del <tên list>[<chỉ số>]
a) del <tên list>
a) del. <tên list>[<chỉ số>]
3.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Cấu trúc câu lệnh nào sau đây đúng?
a) <tên list>.append(<giá trị>)
a) <tên list> append(<giá trị>)
a) <tên list>.append(<chỉ số>)
a) <tên list> append(<chỉ số>)
4.
MULTIPLE CHOICE QUESTION
3 mins • 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?
cuối
đầu
giữa
để đại
5.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Để khai báo danh sách A có các giá trị 2, 4, "3". Câu lệnh nào sau đây đúng
A. A=[2,4, "3"]
B. A=[2;4; "3"]
C. A:=[2,4, "3"]
D. A:[2,4, "3"]
6.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Cho danh sách
A= [ 2, 4, 6, True]
Câu lệnh nào sau đây thực hiện xoá giá trị 4 trong dánh sách A
a) del A[2]
a) del A[1]
a) Del A[1]
a) Del A[2]
7.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Hãy cho biết kết quả hiển thị trên màn hình khi thực hiện đoạn chương trình sau:
A=[1,2]
A.append(True)
print(A)
a) [1,2,True]
a) [1,2, "True"]
a) ["True",1,2]
a) [1, 2, true]
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
60 questions
Spreadsheet
Quiz
•
10th Grade
60 questions
CSD Unit 3 Review
Quiz
•
9th - 12th Grade
60 questions
PAT Informatika kls 7 Semester Genap 2024
Quiz
•
9th Grade
62 questions
CSP CMU Unit 2 - Student Created Questions
Quiz
•
9th - 12th Grade
60 questions
OACE-Unidad 2: Sistema operativo Windows
Quiz
•
1st - 12th Grade
62 questions
Computer Science Principles
Quiz
•
9th - 12th Grade
60 questions
مسابقة تقنية رقمية ٣ نظري+ عملي
Quiz
•
12th Grade
65 questions
Cisco IT Essentials Chapter 1 Test
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
