
modul 2 (2)
Authored by Fathin Difa
Computers
Professional Development
Used 13+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
np.random.randint(0,100,10).reshape(2,5)
Manakah output yang tepat untuk kode di atas
array([ [ 15, 2,] [18, 108], [42,70], [56, 112], [76, 16]])
array([ [ 5, 72,] [68, 98], [53,67], [65, 62], [47, 61]])
array([ [ 5, 72, 68, 98, 53], [67, 65, 62, 47, 61]])
array([ [ 15, 2, 18, 108, 42], [70, 56, 112, 76, 16]])
Tidak ada yang benar
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
arr= array([ [ 0, 1, 2, 3, 4], [ 5, 6, 7, 8, 9], [10, 11, 12, 13, 14]])
Mana perkalian yg tepat untuk menghasilkan array berikut: array([ [ 0, 2, 4, 6, 8], [10, 12, 14, 16, 18], [20, 22, 24, 26, 28]])
Semua pilihan benar
Semua pilihan salah
arr* array([ [2], [2], [2]])
arr* array([2, 2, 2, 2, 2])
arr*2
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Perhatikan kedua dataframe berikut
Pilihlah jawaban yang tepat.
semua pilihan salah
pd.concat([df_a,df_b],axis=1)
df_a.join(df_b)
df_a.merge(df_b)
semua pilihan benar
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dataframe df berisikan data-data nasabah dari suatu bank baik yang masih menjadi nasabah maupun yg sudah keluar (Exited). berikut 5 data pertama dari dataframe df
Manakah kode yang tepat untuk mengetahui jumlah nasabah yang keluar dan jumlah nasabah yang tidak keluar (‘Exited’)?
df['Exited'].nunique()
df['Exited'].count()
df['Exited'].value_counts()
df.groupby('Exited').sum()
df[‘Exited].sort_values()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa penjelasan yang tepat untuk output dari kode berikut: df.loc[df['EstimatedSalary']>df.loc[df['Age']>35]['EstimatedSalary'].mean()]['Balance'].sum()
Rata-rata perkiraan gaji (EstimatedSalary) dari para nasabah memiliki saldo (Balance) di atas rata-rata dan berumur (Age) di atas 35 tahun
Jumlah perkiraan gaji (EstimatedSalary) dari nasabah yang memiliki saldo (Balance) di atas rata-rata nasabah yang berumur (Age) di atas 35 tahun
Jumlah saldo (Balance) nasabah yang memiliki perkiraan gaji (EstimatedSalary) di atas rata-rata gaji nasabah yang berumur (Age) di atas 35 tahun
Jumlah saldo (Balance) dari nasabah yang memiliki perkiraan gaji (EstimatedSalary) di atas rata-rata dan berumur (Age) di atas 35 tahun
Rata-rata saldo (Balance) dari nasabah yang memiliki perkiraan gaji (EstimatedSalary) di atas rata-rata gaji nasabah yang berumur (Age) di atas 35 tahun
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Manakah Kode yang tepat untuk memunculkan nama belakang (Surname) nasabah yang memiliki Tenure di atas 5 tahun ?
df['Surname'].iloc[df['Tenure']>5]
Semua pilihan benar
df[df['Tenure']>5]['Surname']
df[df['Tenure']>5].loc[:,2]
df[df['Tenure']>5].iloc[:,'Surname']
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Manakah pernyataan yang kurang tepat sehubungan dengan populasi dan sampel?
Pilihlah jawaban yang tepat
Pengambilan sampel dari populasi harus dilakukan secara acak
Sampel merupakan kumpulan orang atau objek yang mewakili populasi
Statistic adalah ringkasan numerik dari populasi
Ada dua tipe populasi, finite dan infinite
Populasi adalah kumpulan orang atau objek
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
13 questions
Phyton Lección 2
Quiz
•
Professional Development
14 questions
AZ-900 Modulo 2
Quiz
•
KG - Professional Dev...
15 questions
IT Security Awareness 2023 Vol.2 - Room 1
Quiz
•
Professional Development
20 questions
Linux
Quiz
•
Professional Development
18 questions
SRIKANDI Information Security Quiz
Quiz
•
Professional Development
21 questions
C-1 CHAPTER-3
Quiz
•
Professional Development
18 questions
CYBER SECURITY
Quiz
•
Professional Development
16 questions
Think it through
Quiz
•
University - Professi...
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
Discover more resources for Computers
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
100 questions
Screening Test Customer Service
Quiz
•
Professional Development
20 questions
90s Cartoons
Quiz
•
Professional Development
10 questions
Reading a ruler in Inches
Quiz
•
4th Grade - Professio...
16 questions
Parallel, Perpendicular, and Intersecting Lines
Quiz
•
KG - Professional Dev...
12 questions
Valentines Day Trivia
Quiz
•
Professional Development