
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
20 questions
m1-html-css-js
Quiz
•
KG - Professional Dev...
17 questions
Day-I (Summary Quiz) for ICT Skill Share
Quiz
•
KG - Professional Dev...
20 questions
DBMS-QUIZ
Quiz
•
Professional Development
20 questions
ASJ_ XII 3.10 -3.12
Quiz
•
Professional Development
21 questions
Computer
Quiz
•
6th Grade - Professio...
15 questions
24/01/2024
Quiz
•
Professional Development
15 questions
Quiz BSDP Petugas IT Batch 2
Quiz
•
Professional Development
20 questions
Round-1 Technical Aptitude
Quiz
•
11th Grade - Professi...
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
44 questions
Would you rather...
Quiz
•
Professional Development
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
12 questions
Mardi Gras Trivia
Quiz
•
Professional Development
14 questions
Valentine's Day Trivia!
Quiz
•
Professional Development
7 questions
Copy of G5_U5_L14_22-23
Lesson
•
KG - Professional Dev...
16 questions
Parallel, Perpendicular, and Intersecting Lines
Quiz
•
KG - Professional Dev...
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
12 questions
Valentines Day Trivia
Quiz
•
Professional Development