
PHP - Quiz#1
Authored by Christian Aquino
Computers
12th Grade
Used 22+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
It is a PHP statement that is used to output text and has a return value of 1 if executed successfully.
echo
println
cout
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
In PHP, statements may be written in either upper or lowercase. Echo, echo, and ECHO are all the same.
True
False
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
PHP statements end with this symbol.
;
?>
)
Both A&B
None of the Above
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
It is a PHP statement that is used to output text, can accept multiple arguments and has no return value if executed successfully.
echo
println
cout
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In PHP, white space or end of lines are noticeable. It does not not continue reading the statement if multiple white spaces are encountered.
True
False
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is a valid comment in PHP?
/*
//
#
Both A&B
All of the Above
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is a prefix identifier of a PHP variable?
@
#
$
!
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 Microsoft
or continue with
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?