Pretest Sisop
Pretest Sisop
Question 1
Complete
Yang bukan metode untuk menjalankan operasi matematika pada Shell adalah
a. jumlah=$(($a + $b))
b. jumlah=`expr $a + $b`
c. jumlah=$a+$b
d. let jumlah=$a+$b
Question 2
Complete
a. pwd
b. cp
c. mkdir
d. chmod
Question 3
Complete
Salah satu manfaat belajar shell scripting adalah sebagai berikut, kecuali...
https://sisop.kuuhaku86.codes/mod/quiz/review.php?attempt=86&cmid=3 1/7
3/15/2021 Pre-Test Modul 1: Attempt review
Question 4
Complete
c. C Shell (csh)
Question 5
Complete
Question 6
Complete
Command di sistem operasi Linux untuk mengetahui di directory mana kita berada adalah
a. source
b. pwd
c. ls
d. cd .
https://sisop.kuuhaku86.codes/mod/quiz/review.php?attempt=86&cmid=3 2/7
3/15/2021 Pre-Test Modul 1: Attempt review
Question 7
Complete
a. script
b. cron
c. pipe
d. shell
Question 8
Complete
Cara yang benar dalam mengakses nilai variabel array pada sebuah indeks tertentu pada bash script adalah
a. $array[idx]
b. ${array[idx]}
c. $array(idx)
d. ${array(idx)}
Question 9
Complete
Yang bukan merupakan cara untuk mengetahui fungsi dari suatu command adalah ...
a. man [command]
b. [command] file.txt
c. [command] -h
d. [command] --help
https://sisop.kuuhaku86.codes/mod/quiz/review.php?attempt=86&cmid=3 3/7
3/15/2021 Pre-Test Modul 1: Attempt review
Question 10
Complete
a. Setiap hari
b. Setiap jam
c. Setiap detik
d. Setiap menit
Question 11
Complete
Jika pada command awk yang dijalankan tidak ditulis pola yang diinginkan, maka output default nya adalah
c. Error
Question 12
Complete
a. kernel
b. awk
c. shell
d. cron
https://sisop.kuuhaku86.codes/mod/quiz/review.php?attempt=86&cmid=3 4/7
3/15/2021 Pre-Test Modul 1: Attempt review
Question 13
Complete
Hal yang tidak bisa dilakukan dalam programming menggunakan Shell Scripting adalah
a. Membuat variabel
c. Menggunakan kondisional if
d. Menggunakan pointer/references
Question 14
Complete
Cara membuat variabel local pada Bash Script dengan nama test adalah
a. local test = 23
b. loc test = 23
c. __test = 23
d. test = 23
Question 15
Complete
Command untuk menyimpan daftar isi direktori ke file txt tanpa menghapus isi sebelumnya dari file tersebut adalah
a. ls >> list.txt
b. ls > list.txt
c. ls & list.txt
d. ls | list.txt
https://sisop.kuuhaku86.codes/mod/quiz/review.php?attempt=86&cmid=3 5/7
3/15/2021 Pre-Test Modul 1: Attempt review
Question 16
Complete
Salah satu service yang memungkinkan untuk menjalankan perintah secara berkala adalah..
a. shell
b. cron
c. script
d. pipe
Question 17
Complete
Question 18
Complete
b. Berpindah direktori
https://sisop.kuuhaku86.codes/mod/quiz/review.php?attempt=86&cmid=3 6/7
3/15/2021 Pre-Test Modul 1: Attempt review
Question 19
Complete
a. POSIX Shell
b. Power Shell
c. Bourne Shell
Question 20
Complete
b. Bourne Shell
c. Korn Shell
d. TOPS C Shell
◄ Announcements
Jump to...
https://sisop.kuuhaku86.codes/mod/quiz/review.php?attempt=86&cmid=3 7/7