
Bài 17: Dữ liệu mảng một chiều và hai chiều - Trắc nghiệm
Passage
•
Science
•
12th Grade
•
Medium
Hong Nhi
Used 1+ times
FREE Resource
Enhance your content in a minute
60 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để biết kích thước của mảng một chiều ta dùng hàm:
append()
len()
sort()
pop()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để khởi tạo mảng một chiều B có 5 phần tử là 1, 2, 3, 4, 5 cách khởi tạo nào đúng:
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 một phần tử vào cuối mảng một chiều ta dùng hàm:
append()
pop()
clear()
remove()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để xóa phần tử có chỉ số là 2 trong mảng một chiều A cách viết nào dưới đây đúng:
A.pop(1)
A.pop(2)
pop(2)
pop(1)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để thêm một phần tử x vào đầu mảng một chiều A cách viết nào dưới đây đúng:
A.append(0,x)
A.insert(0,x)
append(0,x)
insert(0,x)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để gọi đến phần tử đầu tiên trong mảng một chiều A cách viết nào dưới đây đúng:
A[1]
A[0]
A(1)
A[]
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho mảng a=[0,2,4,6]. Phần tử a[2]=?
0
4
2
6
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
MINERS Core Values Quiz
Quiz
•
8th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
Discover more resources for Science
20 questions
Explore Cellular Transport Mechanisms
Quiz
•
9th - 12th Grade
20 questions
Explore Energy and Particle Behavior in Matter
Quiz
•
9th - 12th Grade
35 questions
Marine Sediments - Hydrogenous
Quiz
•
12th Grade
17 questions
1.4 Interaction Maps & Force Diagrams
Quiz
•
9th - 12th Grade
21 questions
Identify Methods of Heat Transfer
Quiz
•
9th - 12th Grade
13 questions
Chapter 22 Quiz
Quiz
•
9th - 12th Grade
13 questions
Understand the Cell Cycle and Mitosis
Quiz
•
9th - 12th Grade
4 questions
Analyze Position-Time Graphs
Quiz
•
9th - 12th Grade
