
PHP FUNDAMENTALS
Authored by Roshina Faber
Design
University
Used 8+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is PHP?
PHP is an open-source programming language
PHP is used to develop dynamic and interactive websites
PHP is a server-side scripting language
All of the mentioned
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What does PHP stand for?
PHP stands for Preprocessor Home Page
PHP stands for Pretext Hypertext Processor
PHP stands for Hypertext Preprocessor
PHP stands for Personal Hyper Processor
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is the correct way to add a comment in PHP code?
#
//
/* */
All of the mentioned
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is the default file extension of PHP files?
.php
.ph
.xml
.html
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How to define a function in PHP?
functionName(parameters) {function body}
function {function body}
function functionName(parameters) {function body}
data type functionName(parameters) {function body}
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
$GREETING
no output
PHP is a scripting language
GREETING
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the value of the variable $input in the following PHP program?
<?php
$input = "PHP<td>stands for</td>Hypertext<i>Preprocessor</i>!";
$input = strip_tags($input,"<i></i>");
echo $input;
?>
PHP stands for Hypertext <i>Preprocessor</i>!
PHP stands for Hypertext Preprocessor!
PHP <td>stands for</td> Hypertext <i>Preprocessor</i>!
PHP <td>stands for</td> Hypertext Preprocessor!
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
35 questions
Kelas E
Quiz
•
University
35 questions
CE-35 Building Systems Design Quiz No. 1
Quiz
•
University
36 questions
4ème -- Situation 2 -- Clothes and comparatives
Quiz
•
8th Grade - University
40 questions
PDFX
Quiz
•
University
45 questions
DES 230 - Quatitative Data Measurements
Quiz
•
University
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
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
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Design
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
5 questions
Poetry Interpretation
Interactive video
•
4th Grade - University
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
15 questions
Review1
Quiz
•
University
15 questions
Pre1
Quiz
•
University