
Quiz PHP
Interactive Video
•
Computers
•
11th Grade
•
Hard
Assesor 229
FREE Resource
4 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
<?php
$nama = "Budi";
echo "Halo, " . $nama;
?>
Output yang dihasilkan dari kode tersebut adalah...
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
<?php
$a = 10;
$b = 5;
$hasil = $a + $b;
echo $hasil;
?>
Makna dari perintah di atas adalah...
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
<?php
function luasPersegi($sisi){
return $sisi * $sisi;
}
echo luasPersegi(5);
?>
Output yang dihasilkan adalah...
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
<?php
$x = 10;
$y = "10";
if($x == $y){
echo "Sama Nilai";
}else{
echo "Berbeda";
}
?>
Analisislah hasil dari kode di atas. Output yang dihasilkan adalah...
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?