1. Tipe data mana yang digunakan untuk menyimpan bilangan desimal dalam PHP?

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
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 Quizizz
15 questions
Produktif - B (CSS)

Quiz
•
10th Grade
10 questions
QUIZ PROFESI RPL

Quiz
•
10th Grade
14 questions
10 КЛАСС 6 урок Одномерные массивы

Quiz
•
10th Grade
15 questions
Fungsi Statistik, if dan Lookup Ms. Excel

Quiz
•
10th Grade
10 questions
Analisis Data

Quiz
•
8th Grade - University
10 questions
Komponen Arsitektur Von Neumann

Quiz
•
10th Grade - University
8 questions
GO! Quizz Zeriusz Day 9

Quiz
•
10th Grade
8 questions
Quiz Webinar: Perbedaan Karir Backend dan Frontend

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade