
modul 2 (2)

Quiz
•
Computers
•
Professional Development
•
Hard
Fathin Difa
Used 13+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Quiz BSDP Petugas IT Batch 2

Quiz
•
Professional Development
17 questions
PHP MySQL

Quiz
•
7th Grade - Professio...
20 questions
Quiz Elsimil 2024

Quiz
•
Professional Development
20 questions
Module 2 Review

Quiz
•
Professional Development
16 questions
Linux Basics

Quiz
•
Professional Development
20 questions
TUGAS 2 PROTOCOL DAN IP ADDRESS

Quiz
•
Professional Development
20 questions
IP ADDRESS

Quiz
•
Professional Development
15 questions
Evaluación de conocimientos

Quiz
•
Professional Development
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade