A+
1. What does PHP stand for?
A. Personal Hypertext Processor
B. PHP: Hypertext Preprocessor
C. Private Home Page
B
2. PHP server scripts are surrounded by delimiters, which?
A. <?php>...</?>
B. <&>...</&>
C. <script>...</script>
D. <?php...?>
D
3. How do you write "Hello World" in PHP
A. "Hello World";
B. echo "Hello World";
C. Document.Write("Hello World");
B
4. All variables in PHP start with which symbol?
A. !
B. $
C. &
B
5. What is the correct way to end a PHP statement?
A. New line
B. </php>
C. ;
D. .
C
6. The PHP syntax is most similar to:
A. JavaScript
B. Perl and C
C. VBScript
B
7. How do you get information from a form that is submitted using the "get" method?
A. Request.Form;
B. Request.QueryString;
C. $_GET[];
C
8. When using the POST method, variables are displayed in the URL:
A. True
B. False