
Quiz về NumPy và Pandas

Quiz
•
Education
•
7th Grade
•
Medium
Mr. Bang
Used 1+ times
FREE Resource
38 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
NumPy được sử dụng chủ yếu cho mục đích gì?
Tính toán ma trận và mảng
Vẽ đồ thị
Xử lý văn bản
Phát triển giao diện
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để tạo một mảng 1 chiều với các phần tử từ 0 đến 4, ta dùng:
np.arange(5)
np.array([0, 4])
np.zeros(5)
np.linspace(0, 4, 5)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để tạo mảng gồm toàn các số 0 với kích thước 3x3, ta sử dụng hàm:
np.zeros((3, 3))
np.ones((3, 3))
np.empty((3, 3))
np.full((3, 3), 0)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh np.random.rand(3, 2) tạo ra:
Mảng 3x2 chứa các số ngẫu nhiên từ 0 đến 1
Mảng 2x3 chứa các số ngẫu nhiên từ 0 đến 1
Mảng 3x2 chứa các số ngẫu nhiên nguyên
Mảng 2x3 chứa các số ngẫu nhiên nguyên
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để tìm phần tử lớn nhất trong mảng, ta sử dụng:
np.max()
np.maximum()
np.max_element()
np.maximum_element()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để xác định kích thước của mảng, ta dùng:
shape
size
length
dimension
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để thay đổi hình dạng mảng từ 1 chiều sang 2 chiều, ta dùng:
reshape()
resize()
reshape_to_2d()
dimension()
Create a free account and access millions of resources
Similar Resources on Wayground
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 Education
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
Subtracting Integers

Quiz
•
7th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Multiplying and Dividing Integers

Quiz
•
7th Grade
20 questions
Morpheme Mastery Quiz for Grade 7

Quiz
•
7th Grade
10 questions
Fast Food Slogans

Quiz
•
6th - 8th Grade