
Struktur Percabangan PHP
Authored by Rohi -
Computers
2nd Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa itu struktur kontrol dalam PHP?
Struktur kontrol adalah jenis variabel dalam PHP.
Struktur kontrol hanya digunakan untuk penanganan kesalahan dalam PHP.
Struktur kontrol dalam PHP adalah konstruksi yang mengontrol alur eksekusi dalam program.
Struktur kontrol adalah fungsi yang mengembalikan nilai dalam PHP.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Manakah di antara berikut ini yang merupakan pernyataan bersyarat?
Cuaca tidak dapat diprediksi.
Tanah basah ketika hujan.
Jika hujan, maka tanah akan basah.
Di luar cerah.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa yang dilakukan pernyataan 'if' dalam PHP?
Pernyataan 'if' mengeksekusi kode berdasarkan kondisi yang benar.
Pernyataan 'if' selalu dieksekusi terlepas dari kondisi.
Pernyataan 'if' digunakan untuk mendefinisikan fungsi dalam PHP.
Pernyataan 'if' adalah loop yang mengulangi kode beberapa kali.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Simbol mana yang digunakan untuk memulai komentar beberapa baris dalam PHP?
/*
//
#
*/
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa yang akan dihasilkan oleh kode berikut: if (5 > 3) { echo 'Yes'; }?
Yes
3
5
True
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa tujuan dari pernyataan 'else'?
Pernyataan 'else' digunakan untuk mengakhiri sebuah loop.
Pernyataan 'else' adalah cara untuk mendefinisikan sebuah fungsi.
Pernyataan 'else' digunakan untuk mendeklarasikan variabel.
Pernyataan 'else' mendefinisikan tindakan alternatif ketika kondisi 'if' adalah false.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Manakah di antara berikut ini yang BUKAN merupakan struktur kontrol?
pernyataan if
integer
loop for
loop while
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
15 questions
Cyber Security KS4
Quiz
•
8th - 12th Grade
15 questions
LA1.C1: Introduction to Small Basic
Quiz
•
9th Grade
13 questions
WJEC GCSE ICT Unit 1 E-Mail
Quiz
•
9th - 10th Grade
12 questions
Adventure game project
Quiz
•
7th - 8th Grade
10 questions
Java: repetition control structure for & while
Quiz
•
10th - 12th Grade
13 questions
PowerPoint Quiz 2
Quiz
•
9th Grade
10 questions
Basic Cyber Security II
Quiz
•
University
10 questions
Latihan Brainware dan Hardware
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
Discover more resources for Computers
22 questions
Equal Groups and Arrays
Quiz
•
2nd Grade
10 questions
Life Cycle of a Frog
Quiz
•
1st - 2nd Grade
10 questions
Exploring Rosa Parks and Black History Month
Interactive video
•
1st - 5th Grade
20 questions
Counting Coins
Quiz
•
2nd Grade
20 questions
Place Value
Quiz
•
KG - 3rd Grade
30 questions
DA Math Mania Bowl - Primary
Quiz
•
2nd Grade
19 questions
Subject-Verb Agreement
Quiz
•
2nd - 5th Grade
10 questions
Harriet Tubman
Quiz
•
2nd - 3rd Grade