Module 2 Review

Module 2 Review

Professional Development

30 Qs

quiz-placeholder

Similar activities

Ujian SK Tingkatan 4 - Bab 1

Ujian SK Tingkatan 4 - Bab 1

1st Grade - Professional Development

25 Qs

TIK

TIK

Professional Development

25 Qs

TUGAS ULANGAN KELAS 1

TUGAS ULANGAN KELAS 1

Professional Development

25 Qs

PLD_FinalsSAT Quiz

PLD_FinalsSAT Quiz

Professional Development

25 Qs

Elements of Art and  Principles of Design - Quiz 1

Elements of Art and Principles of Design - Quiz 1

10th Grade - Professional Development

30 Qs

KD 26-MYOB

KD 26-MYOB

Professional Development

25 Qs

GAMES SERU

GAMES SERU

Professional Development

25 Qs

CCTV Basic Knowledge

CCTV Basic Knowledge

Professional Development

25 Qs

Module 2 Review

Module 2 Review

Assessment

Quiz

Computers

Professional Development

Practice Problem

Hard

Created by

Bayu Prasetya

Used 26+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 mins • 8 pts

Media Image

Perhatikan tabel di atas. Manakah query yang sesuai untuk menampilkan jumlah distrik di setiap negara-negara di benua Asia, diurutkan dari yang paling banyak.

Media Image
Media Image
Media Image
Media Image

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?