
TA MODUL 7 (VERSI 3)
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
Ibes Ibes
Used 4+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Perhatikan kode berikut:
```
arr = np.array([1, 2, 3])
print(arr.____)
```
Attribute apa yang mengembalikan dimensi array?
dim
ndim
dimension
shape
Answer explanation
ndim adalah attribute yang mengembalikan jumlah dimensi array.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana cara mengecek tipe data array NumPy?
```
arr = np.array([1, 2, 3])
print(arr.____)
```
type
dtype
datatype
kind
Answer explanation
dtype menunjukkan tipe data elemen dalam array NumPy.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana cara mengakses elemen terakhir array 1D?
```
arr = np.array([1, 2, 3, 4, 5])
print(arr[____])
```
-1
last
end
len(arr)-1
Answer explanation
Indeks -1 mengakses elemen terakhir array.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Perhatikan kode berikut:
```
arr = np.array([[1,2],[3,4]])
print(np.____(arr))
```
Function apa yang menghitung determinan matriks?
det
determinant
linalg.det
matrix.det
Answer explanation
np.linalg.det() menghitung determinan matriks.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana cara mendapatkan nilai maksimum dari array?
```
arr = np.array([1, 4, 2, 7, 3])
print(arr.____)
```
max()
maximum()
largest()
highest()
Answer explanation
max() mengembalikan nilai maksimum dalam array.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa yang dilakukan np.concatenate()?
Membagi array
Menggabungkan array
Mengalikan array
Mentranspose array
Answer explanation
np.concatenate() menggabungkan dua atau lebih array.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Perhatikan kode berikut:
```
arr = np.array([1, 2, 3])
print(np.____(arr))
```
Function apa yang menghitung rata-rata?
mean
average
median
middle
Answer explanation
np.mean() menghitung rata-rata nilai array.
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
10 questions
ôn tập học kỳ 1-lớp 5
Quiz
•
2nd Grade - University
10 questions
Listen in Python
Quiz
•
University
15 questions
Round 2 Debug-The-Code
Quiz
•
University
10 questions
Python Quiz Techno India
Quiz
•
University
10 questions
Arduino TP02
Quiz
•
University
10 questions
AP2 PROCESSING
Quiz
•
University
10 questions
cp06-01-1D-Array
Quiz
•
University
15 questions
ARRAYS AND FUNCTIONS
Quiz
•
University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
9 questions
Principles of the United States Constitution
Interactive video
•
University
18 questions
Realidades 2 2A reflexivos
Quiz
•
7th Grade - University
10 questions
Dichotomous Key
Quiz
•
KG - University
25 questions
Integer Operations
Quiz
•
KG - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University
20 questions
SER vs ESTAR
Quiz
•
7th Grade - University
