
PHP Quiz

Quiz
•
Science
•
University
•
Medium
Setiawan Sanggabuana
Used 12+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
5 mins • 10 pts
What will appear in the browser when run? 17, "Anto" => 25, "Budi" => 20); rsort($arr); print_r($arr);
Array ( [Toni] => 17 [Budi] => 20 [Anto] => 25 )
Array ( [0] => 17 [1] => 20 [2] => 25 )
Array ( [Anto] => 25 [Budi] => 20 [Toni] => 17 )
Array ( [0] => 25 [1] => 20 [2] => 17 )
2.
MULTIPLE CHOICE QUESTION
5 mins • 10 pts
<?php
$a = 0100;
$b = 7;
$c = $a + $b;
echo "Nilai C adalah $c";
What will appear in the browser when run?
Nilai C adalah 107
Nilai C adalah 11
Nilai C adalah 71
Nilai C adalah 7100
3.
MULTIPLE CHOICE QUESTION
5 mins • 10 pts
What is the acronym of PHP ?
Personal Home Page
PHP: Hypertext Preprocessor
Pretext Hyper Preprocessor
No Answer
4.
MULTIPLE SELECT QUESTION
5 mins • 10 pts
Which is the PHP Framework
Laravel
Spring
Codeigniter
Flask
5.
MULTIPLE CHOICE QUESTION
5 mins • 10 pts
When using the POST method will the data be displayed in the URL ?
True
False
6.
MULTIPLE CHOICE QUESTION
5 mins • 10 pts
What is correct way to create function in PHP ?
function MyFunction() {}
new MyFunction() {}
MyFunction() {}
create MyFunction() {}
7.
MULTIPLE CHOICE QUESTION
5 mins • 10 pts
What are the predefined variable in PHP to get data sent via URL ?
$_POST
$_GET
$_SERVER
$GLOBALS
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
C++ Array Quiz

Quiz
•
University
15 questions
Toxic and Hazardous Waste Quiz

Quiz
•
University
15 questions
Arrays

Quiz
•
University
10 questions
code

Quiz
•
University
10 questions
data_type

Quiz
•
12th Grade - University
15 questions
Mitosis and Cell Cycle

Quiz
•
6th Grade - Professio...
10 questions
Arduino Lanjut_03

Quiz
•
University
15 questions
Use of Software in research - Part 1

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade