
PHP Basics
Other
University
Used 203+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
PHP stands for?
Homepage Programming Processor
HTML Preprocessor
Hypertext Preprocessor
Pretext HyperProcessor
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
PHP files executed on ...
Client Browser
Server
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is correct on creating comment in PHP?
*My comment*
**My comment**
<!--My comment-->
/*My comment*/
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
PHP codes should start with ____ and ends with ____
<php> ... </php>
<php ... />
<?php ... ?>
<? ... /?>
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
We should name variables used in PHP with ...
$
$$
Nothing
?
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the meaning of $x xor $y in PHP?
True if either $x or $y is true, but not both
True if either $x or $y is true
True if either $x or $y is wrong, but not both
True if either $x or $y is wrong
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following PHP code?
echo "Hello World";
Display the word Hello World on the page
Display the word "Hello World" on the page
Print the word "Hello World" on pop-up screen
Repeat the word "Hello Word" on page
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?