Search Header Logo

SQL_Numpy

Authored by Muhammad Muslim

Computers

University

Used 9+ times

SQL_Numpy
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Pilih query yang tepat untuk menampilkan total jumlah kota di Indonesia!

Media Image
Media Image
Media Image
Media Image

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Dua tabel tersebut memperlihatkan sample masing-masing dari tabel employees dan juga salary yang diambil dari database employees. Jika misal seorang user ingin mengetahui 10 nama karyawan yang memiliki total gaji tertinggi sepanjang waktu, maka query yang harus dituliskan adalah

Media Image
Media Image
Media Image
Media Image

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Tabel yang diperlihatkan merupakan potongan table ‘products’ dari database classicmodels. User kemudian ingin mengetahui ‘productLine’ apa yang memiliki jumlah/total ‘buyPrice’ tertinggi, query yang diperlukan adalah

Media Image
Media Image
Media Image
Media Image

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Output dari program tersebut adalah :

[[0 1 2] [3 4 5]]

[[7 3 2] [8 10 4]]

[[3 6 2] [5 1 4]]

[[3 5 6 2 8 4]]

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Code yang tepat untuk menampilkan output sebagai berikut :

[ 0 5 10 15 20]

print(np.linspace(0,25,5, endpoint=False, dtype=int))

print(np.arange(5) * 5)

print(np.array(range(0,25,5)))

Semua benar

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Output yang benar adalah :

[[1 2 3 4 5]]

[[1] [2] [3] [4] [5]]

[1 2 3 4 5]

[5 4 3 2 1]

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Output dari program tersebut adalah :

[[1 2] [3 4]]

[[1 2 3 4]]

[[3 4] [1 2]]

[1 2 3 4]

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?