Anda di halaman 1dari 9

16/4/2021 Pre Test 4: Attempt review

Skip to main content


Side panel

E-Course LePKom Universitas Gunadarma

Notifications
You have no notifications
See all

MUHAMMAD REZA HIDAYAT 50420900 1IA16


Dashboard

Profile Grades Preferences

Log out

2FDBR151521K
Badges
Competencies
Grades
General
Link Download
PERTEMUAN 1
PERTEMUAN 3
PERTEMUAN 4
Home
Dashboard
Calendar
Private files
My courses
2FDBR151521K

2FDBR151521K - Fundamental for DBMS


1. Home
2. My courses
3. 2FDBR151521K
4. PERTEMUAN 4
5. Pre Test 4

Started on Friday, 20 November 2020, 9:09 AM


State Finished
Completed on Friday, 20 November 2020, 9:19 AM
Time taken 9 mins 48 secs
Marks 15.00/15.00
Grade 10.00 out of 10.00 (100%)

Question 1

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Perintah yang digunakan untuk menampilkan nilai terkecil dari suatu kolom pada tabel :

Select one:
a. MAX
b. SUM
c. AVG
d. MIN

Feedback

The correct answer is: MIN

Question 2
Correct
Mark 1.00 out of 1.00
Flag question

Question text

Bentuk umum select * FROM namatabel WHERE kondisi;, merupakan perintah untuk :

Select one:
a. Menampilkan seluruh isi tabel
b. Mengubah nama pada salah satu field
c. Menampilkan seluruh isi tabel dengan kondisi tertentu
d. Menampilkan isi tabel secara berurutan

Feedback

The correct answer is: Menampilkan seluruh isi tabel dengan kondisi tertentu

Question 3

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Menampilkan data pada tabel dengan kondisi tertentu menggunakan operator :

Select one:
a. <
b. /
c. +

Feedback

The correct answer is: <

Question 4
file:///C:/DATA DEKSTOP/TUGAS/SEMESTER 1/16) LEPKOM DBMS/DBMS PERTEMUAN 4/Pre Test 4_ Attempt review.html 1/4
16/4/2021 Pre Test 4: Attempt review

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Terdapat perintah SELECT * from namatabel1, namatabel2, namatabel-n :

Select one:
a. Menampilkan 2 tabel atau lebih
b. Menampilkan tabel secara berurutan
c. Menampilkan seluruh isi table
d. Menampilkan tabel secara berurutan

Feedback

The correct answer is: Menampilkan 2 tabel atau lebih

Question 5

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Perintah mysql menampilkan data dengan kriteria tertentu dengan clausa :

Select one:
a. Having by
b. =
c. Like
d. Where

Feedback

The correct answer is: Where

Question 6

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Perintah yang digunakan untuk menghitung jumlah nilai suatu kolom pada tabel :

Select one:
a. COUNT
b. SUM
c. MAX
d. MIN

Feedback

The correct answer is: SUM

Question 7

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Untuk menampilkan waktu sekarang pada mysql bisa menggunakan perintah :

Select one:
a. SELECT NOW
b. SELECT CURRENT_TIME
c. SELECT CURRENT_DATE
d. SELECT TIME

Feedback

The correct answer is: SELECT CURRENT_TIME

Question 8

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Perintah yang digunakan untuk menghitung jumlah baris suatu kolom pada tabel adalah :

Select one:
a. MAX
b. COUNT
c. MIN
d. SUM

Feedback

The correct answer is: COUNT

Question 9

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Perintah SELECT * FROM namatabel; merupakan perintah untuk :

Select one:
a. Mengubah nama pada salah satu field
b. Menampilkan seluruh isi tabel
c. Menampilkan tabel secara berurutan
file:///C:/DATA DEKSTOP/TUGAS/SEMESTER 1/16) LEPKOM DBMS/DBMS PERTEMUAN 4/Pre Test 4_ Attempt review.html 2/4
16/4/2021 Pre Test 4: Attempt review

d. Menamilkkan seluruh isi tabel dengan kondisi tertentu

Feedback

The correct answer is: Menampilkan seluruh isi tabel

Question 10

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Perintah untuk menampilkan seluruh data pada tabel my sql biasanya menggunakan tanda :

Select one:
a. =
b. *
c. /
d. +

Feedback

The correct answer is: *

Question 11
Correct
Mark 1.00 out of 1.00
Flag question

Question text

Perintah yang digunakan untuk menampilkan nilai terbesar dari suatu kolom pada tabel :

Select one:
a. AVG
b. MAX
c. SUM
d. MIN

Feedback

The correct answer is: MAX

Question 12

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Perintah yang digunakan untuk menghitung rata-rata dari nilai suatu kolom pada tabel :

Select one:
a. MAX
b. SUM
c. MIN
d. AVG

Feedback

The correct answer is: AVG

Question 13
Correct
Mark 1.00 out of 1.00
Flag question

Question text

Perintah SELECT namakolomlama AS namakolombaru FROM namatabel; merupakan perintah untuk :

Select one:
a. Menampilkan seluruh isi tabel dengan kondisi tertentu
b. Mengubah nama pada salah satu field
c. Menampilkan isi tabel secara berurutan
d. Menampilkan seluruh isi tabel

Feedback

The correct answer is: Mengubah nama pada salah satu field

Question 14

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Untuk menampilkan data yang biasanya untuk pencarian atau sepenggal huruf ataupun kata bisa merupakan klausa perintah :
Select one:
a. =
b. ORDER BY
c. WHERE
d. LIKE

Feedback

The correct answer is: =

Question 15
Correct
Mark 1.00 out of 1.00
Flag question

file:///C:/DATA DEKSTOP/TUGAS/SEMESTER 1/16) LEPKOM DBMS/DBMS PERTEMUAN 4/Pre Test 4_ Attempt review.html 3/4
16/4/2021 Pre Test 4: Attempt review

Question text

Perintah select pada sql untuk :

Select one:
a. Mengubah nilai pada sebuah baris
b. Menambahkan sebuah baris pada tabel
c. Membatalkan hak terhadap basis data
d. Memilih baris dan kolom pada tabel

Feedback

The correct answer is: Memilih baris dan kolom pada tabel
Finish review
◄ Upload Act
Jump to... Jump to...
Post Test 4 ►
Skip <span id="mod_quiz_navblock_title">Quiz navigation</span>

Quiz navigation

Question 1 This page Question 2 This page Question 3 This page Question 4 This page Question 5 This page Question 6 This page Question 7 This page Question 8 This page Question 9 This page Question 10 This page Question 11
This page Question 12 This page Question 13 This page Question 14 This page Question 15 This page
Show one page at a timeFinish review
You are logged in as MUHAMMAD REZA HIDAYAT 50420900 1IA16 (Log out)
2FDBR151521K

file:///C:/DATA DEKSTOP/TUGAS/SEMESTER 1/16) LEPKOM DBMS/DBMS PERTEMUAN 4/Pre Test 4_ Attempt review.html 4/4
16/4/2021 Post Test 4: Attempt review

Skip to main content


Side panel

E-Course LePKom Universitas Gunadarma

Notifications
You have no notifications
See all

MUHAMMAD REZA HIDAYAT 50420900 1IA16


Dashboard

Profile Grades Preferences

Log out

2FDBR151521K
Badges
Competencies
Grades
General
Link Download
PERTEMUAN 1
PERTEMUAN 3
PERTEMUAN 4
Home
Dashboard
Calendar
Private files
My courses
2FDBR151521K

2FDBR151521K - Fundamental for DBMS


1. Home
2. My courses
3. 2FDBR151521K
4. PERTEMUAN 4
5. Post Test 4

Started on Friday, 20 November 2020, 9:20 AM


State Finished
Completed on Friday, 20 November 2020, 9:29 AM
Time taken 8 mins 55 secs
Marks 7.00/15.00
Grade 4.67 out of 10.00 (47%)

Question 1

Complete
Mark 0.00 out of 1.00
Flag question

Question text

Untuk memilih semua field dengan menggunakan perintah SELECT, dapat menggunakan karakter :

Select one:
a. $
b. %
c. *
d. _

Question 2

Complete
Mark 0.00 out of 1.00
Flag question

Question text

Dibawah ini, perintah yang salah berdasarkan tebel diatas adalah :

Select one:
a. SELECT s.kode, s.barang, s.jml_stok, p.kd_brg, p.nm_brg, p.jml_terjual FROM suplai s, penjualan p;
b. SELECT kode, barang, jml_stok, kd_brg, nm_brg, jml_terjual FROM suplai, penjualan;
c. SELECT * FROM suplai, penjualan;
d. SELECT s.*, p.* FROM suplai s, penjualan p;

Question 3

Complete
Mark 0.00 out of 1.00
Flag question

Question text

file:///C:/DATA DEKSTOP/TUGAS/SEMESTER 1/16) LEPKOM DBMS/DBMS PERTEMUAN 4/Post Test 4_ Attempt review.html 1/4
16/4/2021 Post Test 4: Attempt review

Perintah berikut yang dapat memunculkan pesan eror adalah :

Select one:
a. SELECT s. barang, s. kode FROM stok AS s;
b. SELECT barang, kode AS data FROM stok;
c. SELECT s. barang, s. kode FROM stok s;
d. SELECT barang AS brg, kode AS kde FROM stok;

Question 4
Complete
Mark 0.50 out of 1.00
Flag question

Question text

SELECT * FROM supply WHERE nilai>=20000 AND nilai<=100000;

Perintah diatas sama seperti perintah berikut :

Pilih 2 Jawaban :

Select one or more:


a. SELECT * FROM supply WHERE nilai BETWEEN 20000 AND 100000;
b. SELECT * FROM supply WHERE NOT (nilai < 20000 AND nilai >100000);
c. SELECT * FROM supply WHERE nilai NOT (BETWEEN 20000 AND 100000);
d. SELECT * FROM supply WHERE NOT (nilai BETWEEN 20000 AND 100000);

Question 5
Complete
Mark 1.00 out of 1.00
Flag question

Question text

SELECT * FROM penjualan, suplai;

Setelah perintah tersebut dieksekusi, berapakah jumlah baris pada tabel yang akan tampil ?

Select one:
a. 36
b. 20
c. 28
d. 12

Question 6
Complete
Mark 1.00 out of 1.00
Flag question

Question text

Untuk menampilkan field kode, barang, jml_stok, dan jml_terjual dalam satu tabel, perintah yang digunakan adalah :

Select one:
a. SELECT s.kode, s.barang, s.jml_stok, p.jml_terjual FROM suplai s, penjualan p;
b. SELECT kode, barang, jml_stok, jml_terjual FROM suplai, penjualan;
c. SELECT p.kd_brg, p.nm_brg, s.jml_stok, p.jml_terjual FROM suplai s, penjualan p;
d. SELECT kd_brg, nm_brg, jml_stok, jml_terjual FROM suplai, penjualan;

Question 7
Complete
Mark 0.00 out of 1.00
Flag question
file:///C:/DATA DEKSTOP/TUGAS/SEMESTER 1/16) LEPKOM DBMS/DBMS PERTEMUAN 4/Post Test 4_ Attempt review.html 2/4
16/4/2021 Post Test 4: Attempt review

Question text

Perintah yang dapat menampilkan kedua tabel dalam satu tabel adalah :

Select one:
a. SELECT s.*, p.* FROM suplai s, penjualan p;
b. SELECT kode, barang, jml_stok, kd_brg, nm_brg, jml_terjual FROM suplai, penjualan;
c. SELECT * FROM suplai, penjualan;
d. SELECT s.kode, s.barang, s.jml_stok, p.kd_brg, p.nm_brg, p.jml_terjual FROM suplai s, penjualan p;

Question 8

Complete
Mark 0.50 out of 1.00
Flag question

Question text

SELECT * FROM stok WHERE harga<>10000; Perintah diatas dapat pula ditulis :

PILIH 2 JAWABAN

Select one or more:


a. SELECT * FROM stok WHERE NOT harga=10000;
b. SELECT * FROM stok WHERE harga=10000;
c. SELECT * FROM stok WHERE harga > 10000 AND harga <10000;
d. SELECT * FROM stok WHERE harga >10000 OR harga <10000;

Question 9

Complete
Mark 1.00 out of 1.00
Flag question

Question text

Perintah SELECT untuk melihat dan menggabungkan 2 atau lebih tabel sekaligus adalah :

Select one:
a. SELECT FROM tabel1, tabel2, tabel n;
b. SELECT * FROM *;
c. SELECT * FROM tabel1, tabel2, tabel n;
d. SELECT FROM *;

Question 10

Complete
Mark 0.00 out of 1.00
Flag question

Question text

Perintah untuk menampilkan nama barang yang memiliki harga dibawah 10000 adalah :

Catatan : "<" sebanding "&lt;"

Catatan : ">" sebanding "&bt;"

Select one:
a. SELECT * FROM stok WHERE harga < 10000;
b. Semua jawaban salah
c. SELECT barang FROM stok WHERE harga < 10000;
d. SELECT kode FROM stok WHERE harga < 10000;

Question 11

Complete
Mark 0.00 out of 1.00
Flag question

Question text

Untuk menampilkan data dari field barang yang memiliki kode huruf depan "A" adalah :

file:///C:/DATA DEKSTOP/TUGAS/SEMESTER 1/16) LEPKOM DBMS/DBMS PERTEMUAN 4/Post Test 4_ Attempt review.html 3/4
16/4/2021 Post Test 4: Attempt review

Select one:
a. SELECT barang FROM stok WHERE kode LIKE A%";
b. SELECT barang FROM stok WHERE kode="A%";
c. SELECT barang FROM stok WHERE kode="A%";
d. SELECT barang FROM stok WHERE kode LIKE "A%";

Question 12
Complete
Mark 0.00 out of 1.00
Flag question

Question text

SELECT kode FROM stok WHERE jml_brg < 40 AND jml_brg > 60;

Output yang dihasilkan adalah :

Select one:
a. Mi instan, Deterjen, Kacang, Jus
b. A0385, A9920
c. B2341, A0123, B9457, C9203
d. Sabun, Silet Cukur

Question 13
Complete
Mark 1.00 out of 1.00
Flag question

Question text

Operator wildcard untuk string dalam klausa LIKE menggunakan karakter :

Select one:
a. *
b. %
c. _
d. $

Question 14
Complete
Mark 1.00 out of 1.00
Flag question

Question text

SELECT * FROM stok WHERE harga <= 40000 AND harga >=10000; Perintah diatas akan menampilkan record yang :

Select one:
a. Semua record kecuali yang bernilai NULL
b. Record yang tidak memiliki nilai field harga antara 10000 hingga 40000
c. Record yang memiliki nilai field harga antara 10000 hingga 40000
d. Semua jawaban benar

Question 15
Complete
Mark 1.00 out of 1.00
Flag question

Question text

Perintah untuk mencari string yang memiliki suku terakhir "nya" adalah :

Select one:
a. SELECT * FROM tabel WHERE kata LIKE "%nya";
b. SELECT * FROM tabel WHERE kata LIKE "_nya";
c. SELECT * FROM tabel WHERE kata="%nya";
d. SELECT * FROM tabel WHERE kata="_nya";
Finish review
◄ Pre Test 4
Jump to... Jump to...
Upload Act ►
Skip <span id="mod_quiz_navblock_title">Quiz navigation</span>

Quiz navigation

Question 1 This page Question 2 This page Question 3 This page Question 4 This page Question 5 This page Question 6 This page Question 7 This page Question 8 This page Question 9 This page Question 10 This page Question 11
This page Question 12 This page Question 13 This page Question 14 This page Question 15 This page
Show one page at a timeFinish review
You are logged in as MUHAMMAD REZA HIDAYAT 50420900 1IA16 (Log out)
2FDBR151521K

file:///C:/DATA DEKSTOP/TUGAS/SEMESTER 1/16) LEPKOM DBMS/DBMS PERTEMUAN 4/Post Test 4_ Attempt review.html 4/4

Anda mungkin juga menyukai