
Latihan soal codingan

Quiz
•
Information Technology (IT)
•
10th Grade
•
Medium
Fakhrul A
Used 5+ times
FREE Resource
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. Tipe data mana yang digunakan untuk menyimpan bilangan desimal dalam PHP?
Integer
float
string
boolean
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2. Di antara pilihan berikut, manakah yang bukan merupakan tipe data dalam PHP?
Object
Array
Character
boolean
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
3. Bagaimana cara mengecek tipe data dari sebuah variabel dalam PHP?
type_of($var)
gettype($var)
check_type($var)
datatype($var)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4. Apa output dari kode berikut?
$x = "5" + 10;
echo $x;
"510"
15
eror
"5 + 10"
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5. Fungsi is_numeric("100abc") akan menghasilkan?
true
false
Error
100
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
6. Bagaimana cara mengubah string "25" menjadi integer dalam PHP?
to_int("25")
(int) "25"
convert("25", "int")
parseInt("25")
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
7. Berikut ini yang termasuk array asosiatif dalam PHP adalah...
$data = ["Ali", "Budi", "Cici"];
$data = ["nama" => "Ali", "umur" => 25];
$data = array(10, 20, 30);
$data = ["0" => "Ali", "1" => "Budi"];
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
QUIZ PROFESI RPL

Quiz
•
10th Grade
15 questions
BAB MS.WORD DAN EXCEL

Quiz
•
10th Grade
15 questions
BAB 4 | 4.1 KOD ARAHAN | SUBTOPIK 4.1.2

Quiz
•
2nd Grade - University
15 questions
Quiz Analisis Data

Quiz
•
8th Grade - University
10 questions
Jaringan Komputer dan Internet

Quiz
•
9th Grade - University
16 questions
Quiz tentang Software dan Troubleshooting

Quiz
•
10th Grade - University
10 questions
Quizizz

Quiz
•
10th Grade
10 questions
Quiz Microsoft Excel #1

Quiz
•
10th Grade - University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade
Discover more resources for Information Technology (IT)
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Lab Safety and Lab Equipment

Quiz
•
9th - 12th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
6 questions
Secondary Safety Quiz

Lesson
•
9th - 12th Grade
21 questions
Lab Safety

Quiz
•
10th Grade
13 questions
8th - Unit 1 Lesson 3

Quiz
•
9th - 12th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade