
Php Quiz 2
Computers
University
Used 44+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A storage location in a PHP script that has its own unique name and data type.
variable
function
expression
construct
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The PHP sendMail() function sends an email message from within a script.
False
True
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The PHP mail() function sends an email message from within a script.
True
False
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A form element's _______ attribute is used to connect a form to a PHP script.
action
method
form
src
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This echo statement will output the text
He's lost!
echo 'He\'s lost!';
echo He's lost!;
echo 'He"s lost!';
echo 'He's lost!';
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
These tags are used to enclose PHP code so that the web server knows to process and run it.
<?php ?>
<script> ... </script>
<!DOCTYPE html>
<html> ... </html>
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens to PHP code on the browser?
Nothing
It gets interpreted by the PHP script engine.
It gets displayed as PHP code.
None of the above.
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?