Module 2 Review

Quiz
•
Computers
•
Professional Development
•
Hard
Bayu Prasetya
Used 26+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 mins • 8 pts
Perhatikan tabel di atas. Manakah query yang sesuai untuk menampilkan jumlah distrik di setiap negara-negara di benua Asia, diurutkan dari yang paling banyak.
2.
MULTIPLE CHOICE QUESTION
2 mins • 5 pts
Dengan SQL, bagaimana kita memilih semua catatan dari tabel bernama "Person" di mana nilai kolom "FirstName" mengandung karakter "al"
SELECT * FROM Persons WHERE FirstName LIKE "%al%"
SELECT * FROM Persons WHERE FirstName LIKE "_al_"
SELECT * FROM Persons WHERE FirstName = "al"
SELECT * FROM Persons WHERE FirstName LIKE "%al"
3.
MULTIPLE SELECT QUESTION
2 mins • 8 pts
Fungsi yang digunakan saat kita ingin membuat angka acak berdistribusi normal adalah...
numpy.random.randint()
numpy.random.randn()
numpy.random.normal()
numpy.random.random()
numpy.random.random_sample()
4.
MULTIPLE CHOICE QUESTION
2 mins • 10 pts
import numpy as np
arr = np.arange(1,21)
arr = arr.reshape(4,5)
print(arr)
Output dari syntax ini adalah ...
[[ 1 2 3 4 5]
[ 6 7 8 9 10]
[11 12 13 14 15]
[16 17 18 19 20]]
[ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]
Error
[ 1 2 3 4 5]
[ 6 7 8 9 10]
[11 12 13 14 15]
[16 17 18 19 20]
[[ 1 2 3 4]
[ 5 6 7 8]
[ 9 10 11 12]
[13 14 15 16]
[17 18 19 20]]
5.
MULTIPLE CHOICE QUESTION
2 mins • 10 pts
import numpy as np
arr = np.arange(1,21)
arr = arr.reshape(-1)
print(arr)
Output dari syntax ini adalah ...
[ 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20]
Error
[[ 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20]]
[[ 1] [ 2] [ 3] [ 4] [ 5] [ 6] [ 7] [ 8] [ 9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20]]
[20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1]
6.
MULTIPLE SELECT QUESTION
1 min • 6 pts
Manakah dari sintaks ini yang akan memilih index bernama "foo" dari DataFrame "df" ?
df['foo']
Tidak ada yang tepat
df.loc['foo',:]
df.loc[:,'foo']
df['foo'][:]
7.
MULTIPLE SELECT QUESTION
1 min • 7 pts
Lengkapi perintah ini agar menampilkan data dari baris ke 3 sampai 10 pada kolom yang mempunyai nama "Restorant A" dan "Restorant B"
df.loc[3:11, ["Restorant A","Restorant B"]]
df[2:10][["Restorant A","Restorant B"]]
df.iloc[2:10, ["Restorant A","Restorant B"]]
df[["Restorant A","Restorant B"]]
Semua benar
Create a free account and access millions of resources
Similar Resources on Wayground
32 questions
जावास्क्रिप्ट के प्रश्न

Quiz
•
Professional Development
25 questions
OCS752 Introduction to C Programming

Quiz
•
Professional Development
33 questions
STS Informatika 7

Quiz
•
Professional Development
30 questions
QUIZ BASIC OFFICE

Quiz
•
Professional Development
25 questions
Latihan Prakom 1

Quiz
•
Professional Development
25 questions
Mail Marge

Quiz
•
Professional Development
31 questions
Quiz 7.1

Quiz
•
Professional Development
35 questions
Kiến thức JavaScript cơ bản

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade