PHP ( Perulangan & Percabangan )
Quiz
•
Computers
•
12th Grade
•
Practice Problem
•
Hard
SMK MARZUKI
Used 30+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Contoh penulisan percabangam menggunakan for ....
for ($i=0; $i < 5; $i++)
for ($i < 5; $=5; $i++)
for ($i < 5; $i++)
for ( $i < 5; $=0, $i++)
for ( $i++ $i=0; $i < 5;)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Penulisan coding while yang benar adalah ....
$i = 0;
while ($i < 5) {
echo "Hello Word ! <br> " ;
}
$i = 0;
while ($i < 5) {
echo "Hello Word ! <br> " ;
i++;
}
$i = 10;
while (&i < 5) {
echo "Hello Word ! " ;
i++;
}
&i = 0;
while (&i < 5) {
echo "Hello Word ! <br> " ;
i++;
}
$i = 0;
while ($i < 5) do {
echo "Hello Word ! <br> " ;
i++;
}
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Penulisan do while yang benar adalah ....
$i=0;
do {
echo "hello word !"
$i++;
}while ($i < 5)
$i=0;
while {
echo "hello word !";
$i++;
}do ($i < 5);
$i=0;
do {
echo "hello word !";
$i+;
}while ($i < 5);
$i=0;
do {
echo "hello word !"
}while ($i < 5);
$i=0;
do {
echo "hello word !";
$i++;
}while ($i < 5);
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Di bawah ini yang termasuk percabangan adalah ....
for
while
if else
do while
foreach
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Di bawah ini yang termasuk perulangan adalah ....
If
if else
if else if
for
else if
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Sintaks untuk menpilkan perulangan Hello World sebanyak 9 lagi yang benar adalah ....
for ( $i = 1; $i <= 9; $i++) {
echo " Hello World ! ";
}
for ( $i = 1; $i <=10; $i++) {
echo " Hello World ! ";
}
for ( $i = 0; i < 10; i++) {
echo " Hello World ! ";
}
for ( $i = 0; i < 11; i++) {
echo " Hello World ! ";
}
for ( $i = 0; $i < 15; $i++) {
echo " Hello World ! ";
}
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Di bawah ini penulisan perulangan for yang benar adalah ....
for ( i = 0; i < 10; i++) {
echo " Hello World ! ";
}
for ( $i = 0; $i < 10; $i++;) {
echo " Hello World ! ";
}
for ( i = 0; i < 10; $i++) {
echo " Hello World ! ";
}
for ( $i = 0; $i < 10; $i++) {
echo " Hello World ! ";
}
for ( $i = 0; i < 10; $i++;) {
echo " Hello World ! ";
}
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 Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
13 questions
Five Nights At Freddy's: Security Breach Quiz
Quiz
•
KG - Professional Dev...
14 questions
Bài 29. Nhận biết lỗi chương trình
Quiz
•
9th - 12th Grade
10 questions
🔦 Formative Assessment 2: Flow Controls
Quiz
•
12th Grade
10 questions
Avaliação 1T - JavaScript
Quiz
•
9th - 12th Grade
10 questions
Kabel LAN: Straight dan Cross
Quiz
•
10th Grade - University
15 questions
Polecenia sieciowe
Quiz
•
1st - 12th Grade
10 questions
XI_осн_веб_кон
Quiz
•
9th - 12th Grade
10 questions
Tugas kelas XII RPL
Quiz
•
12th Grade
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
21 questions
Presidents Day Trivia
Quiz
•
6th - 12th Grade
10 questions
Valentine's Day: History and Modern Celebration
Interactive video
•
9th - 12th Grade
11 questions
Valentine's Day Trivia
Quiz
•
8th - 12th Grade
10 questions
Factor Quadratic Expressions with Various Coefficients
Quiz
•
9th - 12th Grade
18 questions
Success Strategies
Quiz
•
9th - 12th Grade
10 questions
Valentine's Day Trivia
Quiz
•
9th - 12th Grade
