
Quiz Pertemuan 5 Mata Kuliah Pemrograman Web

Quiz
•
Information Technology (IT)
•
University
•
Hard
David Naista
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa yang dimaksud dengan PHP? Jelaskan singkat tujuan penggunaan PHP dalam pengembangan web!
PHP adalah bahasa pemrograman untuk aplikasi desktop
PHP adalah bahasa pemrograman server-side yang digunakan untuk membuat situs web dinamis
PHP adalah bahasa pemrograman yang hanya digunakan untuk aplikasi mobile
PHP adalah bahasa markup yang digunakan untuk merancang antarmuka pengguna
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa yang dimaksud dengan variabel dalam PHP? Berikan contoh cara mendeklarasikan variabel dalam PHP!
Variabel adalah tempat untuk menyimpan nilai yang dapat diubah. Contoh: $a = 5;
Variabel adalah fungsi yang mengembalikan nilai. Contoh: int $a;
Variabel adalah sebuah tipe data. Contoh: string $a;
Variabel adalah nama file PHP. Contoh: file.php = 10;
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa hasil dari kode berikut?
$a = 10;
$b = 3;
$result = $a + $b * 2;
echo $result;
16
26
20
17
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa hasil dari perbandingan berikut dalam PHP?
$a = 5;
$b = 8;
var_dump($a == $b);
true
false
1
0
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa hasil dari kode berikut?
$a = true;
$b = false;
var_dump($a && $b);
true
false
1
0
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Perhatikan kode berikut dan pilih hasil yang benar!
$a = 15;
$b = 4;
$c = $a % $b;
echo $c;
4
3
15
1
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa yang terjadi pada kode berikut ini?
$x = 10;
$x += 5;
echo $x;
5
10
15
25
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Scratch Kelas 7

Quiz
•
7th Grade - University
10 questions
Basics of Coding and AI Applications

Quiz
•
University
15 questions
Tipe Data dan Fungsi dalam C

Quiz
•
12th Grade - University
10 questions
Soal Koding dan KA Dwinov

Quiz
•
10th Grade - University
15 questions
Pemrograman Visual dan Scratch

Quiz
•
7th Grade - University
10 questions
POST-TEST

Quiz
•
University
9 questions
Quiz 2 - Web Frameworks part 1

Quiz
•
University
10 questions
QUIZ PENGEMBANGAN WEB DENGAN AI

Quiz
•
9th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University