
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
13 questions
Web dev revision

Quiz
•
University
15 questions
I-AINS Quiz No. 4 (final term) late

Quiz
•
University
10 questions
Quiz-Boolean algebra & K map

Quiz
•
University
15 questions
Kitchen Equipment

Quiz
•
8th Grade - University
10 questions
Kuis CSS untuk Mobile

Quiz
•
University
15 questions
Rutherford

Quiz
•
8th Grade - University
15 questions
BOOLEAN ALGEBRA

Quiz
•
University
15 questions
Shark

Quiz
•
12th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Science
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University