Notes
Notes - notes.io |
Perulangan yg hanya membutuhkan 1 kali perulangan saja disebut
Response: Perulangan sederhana
Correct answer: Perulangan sederhana
Score: 1 out of 1
Question 2
Berikut ini merupakan sintaks dari...
<?php
Switch ($i) {
Case 0:
Case 1:
Echo “i lebih kecil dari 3tapi tidak negatif”;
Break ;
Case 3:
Echo “i sama dengan 3”;
}
?>
Response: Switch
Correct answer: Switch
Score: 1 out of 1
Question 3
Berikut ini merupakan pengertian dari statement yang dapat dipergunakan untuk menyatakan suatu pernyataan kondisional atau bersyarat seperti halnya IF disebut:
Response: Konsep switch
Correct answer: Konsep switch
Score: 1 out of 1
Question 4
1. Penggunaan switch akan menghasilkan proses yang lebih cepat dari pada IF
2. statement yang dikerjakan dalam switch bisa kosong atau tidak melakukan apa – apa
Penjelasan diatas merupakan kelebihan dari
Response: Kelebihan switch
Correct answer: Kelebihan switch
Score: 1 out of 1
Question 5
suatu bentuk kegiatan mengulang suatu statement sampai batas yang diinginkan disebut...
Response: Looping (Pengulangan)
Correct answer: Looping (Pengulangan)
Score: 1 out of 1
Question 6
Untuk membuat table dengan menggunakan "Create Table"
Response: True
Correct answer: True
Score: 1 out of 1
Question 7
Database adalah kumpulan data terstruktur yang saling berelasi
Response: True
Correct answer: True
Score: 1 out of 1
Question 8
Karakteristik utama dari OOP adalah:
Encapsulation (Encapsulation adalah pengemasan data dan fungsi dalam satu wadah bernama obyek)
Inheritance.yaitu sifat dari OOP yang dimungkinkan menurunkan sifat-sifat dari suatu kelas pada kelas yang lain.
Polymorphism. yaitu suatu konsep yang menyatakan bahwa sesuatu yang sama dapat mempunyai berbagai bentuk dan perilaku yang berbeda.
Response: False
Correct answer: True
Score: 0 out of 1
Question 9
Perintah SQL digunakan untuk mengedit
UPDATE ‘namatabel’ SET
‘namafield’=‘nilaifield1‘
WHERE ‘namafield’=‘nilaifield2‘;
Response: True
Correct answer: True
Score: 1 out of 1
Question 10
Berikut ini merupakan sintaks dari
</php
$teks = “hello world”;
For ($a= 1;$a<=5;$a++)
{
Echo “<h”.$a.”>”.$teks.”</h”.$a.”
>”;
}
?>
Response: Contoh for
Correct answer: Contoh for
Score: 1 out of 1
Question 11
Untuk menyatakan looping yang telah diketahui jumlah perulangannya kita bisa menggunakan statement....
Response: For atau while
Correct answer: For atau while
Score: 1 out of 1
Question 12
Function apa yang di gunakan untuk bulan...
Response: jawaban Date (“n”) dan Accurancy benar
Correct answer: Date (“n”)
Score: 0 out of 1
Question 13
Loop atau perulangan dalam PHP dapat dilakukan dengan berapa teknik...
Response: 3
Correct answer: 3
Score: 1 out of 1
Question 14
Statement yang di gunakan untuk menyatakan perulangan yang telah diketahui jumlah perulangab tersebut harus dilakukan statement ....
Response: Semua jawaban salah
Correct answer: Statement while
Score: 0 out of 1
Question 15
Untuk membuat database adalah dengan menggunakan "Write Database {nama database}"
Response: True
Correct answer: False
Score: 0 out of 1
Question 16
Berikut ini merupakan sintaks dari ....
<?php
For ( $a = 1; $a <= 3; $a++ )
{
For ( $b = 1; $b <= 2; $b++ )
{
Echo “ nilai a = “$a. “ nilai b = “. $b. “ <br/>”;
}
}
?>
Response: Nested for
Correct answer: Nested for
Score: 1 out of 1
Question 17
Untuk mengolah XML dapat menggunakan DOM
Response: True
Correct answer: True
Score: 1 out of 1
Question 18
SOAP adalah salah satu teknologi XML
Response: True
Correct answer: True
Score: 1 out of 1
Question 19
Identitas unik disetiap record dinamakan primary key
Response: True
Correct answer: True
Score: 1 out of 1
Question 20
Untuk perulangan tidak diketahui jumlah perulangannnya atau hanya diketahui kondisi kapan dia harus berakhir maka bisa digunakan statement dari
Response: While
Correct answer: While
Score: 1 out of 1
Question 21
Sebutkan berapa macam kelebihan switch...
Response: 2
Correct answer: 2
Score: 1 out of 1
Question 22
RSS Feed adalah salah satu contoh dari XML yang disarankan oleh W3C
Response: True
Correct answer: True
Score: 1 out of 1
Question 23
Statement yang dapat digunakan untuk menyatakan proses yang diulang – ulang atau looping disebut
Response: Statement perulangan
Correct answer: Statement For
Score: 0 out of 1
Question 24
Berikut ini merupakan sintaks dari ...
<?php
$a = 1 ;
While ($a<=3)
{
$b = 1
While ( $b <= 2 )
{
Echo “nilai a = “$a. “nilai b = “.$b. “<br/>”;
$b++;
}
$a++;
}
?>
Response: While didalam while
Correct answer: While didalam while
Score: 1 out of 1
Question 25
INSERT INTO `Pegawai`(`NIK`, `Nama`, `Alamat`) VALUES ([value-1],[value-2],[value-3])
Digunakan untuk menampilkan Data Pegawai
Response: True
Correct answer: False
Score: 0 out of 1
Question 26
Berikut ini merrupakan sintak dari..
for (inisialisasi ekspresi; kondisi loop; ekspresi penambahan){
// pernyataan
}
Response: Perulangan dengan for
Correct answer: Perulangan dengan for
Score: 1 out of 1
Question 27
Berikut ini merupakan sintak dari...
while(ekspresi){
//statement
}
Response: Perulangan dengan while
Correct answer: Perulangan dengan while
Score: 1 out of 1
Question 28
Berikut ini merupakan sintak dari...
do{
//statement
}while(ekspresi);
Response: Perulangan dengan do while
Correct answer: Perulangan dengan do while
Score: 1 out of 1
Question 29
Berikut ini merupakan sintaks dari....
Switch (var)
{
Case value1 : statement A
.
.
Break;
Case value2 : statement B
.
.
Break;
Default : statement D
.
.
}
Response: Konsep Switch
Correct answer: Konsep Switch
Score: 1 out of 1
Question 30
Berikut ini merupakan sintaks dari statement ....
For ( variabel = nilaiawal; variabel operatorlogika nilai akhir;
Increment )
{
Proses yang diulang
}
Response: Statement for
Correct answer: Statement for
Score: 1 out of 1
Question 31
Di dalam perulangan sederhana tidak ada...
Response: Nested loop
Correct answer: Nested loop
Score: 1 out of 1
Question 32
Berikut ini merrupakan sintak dari..
do{
//statement
}while(ekspresi);
Response: Perulangan dengan do while
Correct answer: Perulangan dengan do while
Score: 1 out of 1
Question 33
Untuk mengakses record hasil query:
$baris=mysql_fetch_row(conn) akan mengembalikan array yang berisi seluruh kolom $baris[0], $baris[1],...
Response: True
Correct answer: True
Score: 1 out of 1
Question 34
Perulangan dengan teknik ini dikontrol oleh tiga bagian yang ada dalam tanda kurung dan masing-masing bagian ini dipisahkan oleh titik-koma disebut...
Response: Perulangan dengan for
Correct answer: Perulangan dengan for
Score: 1 out of 1
Question 35
eXtensible Markup Language adalah kepanjangan dari XML
Response: True
Correct answer: True
Score: 1 out of 1
Question 36
Berikut ini adalah deklarasi dari XML <?html version=”10.0” encoding=”UTF-8” ?>
Response: False
Correct answer: False
Score: 1 out of 1
Question 37
Berikut ini merupakan sintak dari...
for (inisialisasi ekspresi; kondisi loop; ekspresi penambahan){
// pernyataan
}
Response: Semua jawaban salah
Correct answer: Perulangan for
Score: 0 out of 1
Question 38
Berikut ini adalah ciri dari OOP :
Metode pemrograman ini memecah program menjadi beberapa fungsi dan modul.
Tidak ada hubungan antara fungsi dan data, Fungsi tidak dapat membatasi akses terhadap data yang global.
Response: False
Correct answer: False
Score: 1 out of 1
Question 39
Berikut ini merupakan contoh dari statement ...
Hari ini saya makan bakso 10 kali
Hari ini saya terus makan bakso sampai kenyang
Response: Statement for
Correct answer: Statement for
Score: 1 out of 1
Question 40
XML Parser adalah aplikasi yang mecreate dokumen XML.
Response: False
Correct answer: False
Score: 1 out of 1
|
Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...
With notes.io;
- * You can take a note from anywhere and any device with internet connection.
- * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
- * You can quickly share your contents without website, blog and e-mail.
- * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
- * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.
Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.
Easy: Notes.io doesn’t require installation. Just write and share note!
Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )
Free: Notes.io works for 12 years and has been free since the day it was started.
You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;
Email: [email protected]
Twitter: http://twitter.com/notesio
Instagram: http://instagram.com/notes.io
Facebook: http://facebook.com/notesio
Regards;
Notes.io Team