P. 1
W3Schools PHP Quiz

W3Schools PHP Quiz

|Views: 29|Likes:
Published by Downote Man
W3Schools PHP Quiz
W3Schools PHP Quiz

More info:

Published by: Downote Man on Oct 22, 2013
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOCX, PDF, TXT or read online from Scribd
See more
See less

05/09/2014

pdf

text

original

W3Schools PHP Quiz PHP QUIZ Points: 11 out of 20

1. What does PHP stand for? You answered: Personal Hypertext Processor

Wrong Answer!

2. PHP server scripts are surrounded by delimiters, which?

Correct Answer!

3. How do you write "Hello World" in PHP

Correct Answer!

4. All variables in PHP start with which symbol?

Correct Answer!

5. What is the correct way to end a PHP statement?

Correct Answer!

6. The PHP syntax is most similar to:

Correct Answer!

What is the correct way to create a function in PHP? You answered: new_function myFunction() .inc").inc" ? You answered: <?php include_file("time. How do you get information from a form that is submitted using the "get" method? Correct Answer! 8. ?> Wrong Answer! 12.7. Include files must have the file extension ".inc" You answered: True Wrong Answer! 11. What is the correct way to include the file "time. When using the POST method. In PHP you can use both single quotes ( ' ' ) and double quotes ( " " ) for strings: You answered: False Wrong Answer! 10. variables are displayed in the URL: Correct Answer! 9.

"read"). What is the correct way to connect to a MySQL database? Correct Answer! 16. Wrong Answer! 14. What is the correct way to open the file "time. PHP allows you to send emails directly from a script Correct Answer! 15.txt". PHP can be run on Microsoft Windows IIS(Internet Information Server): . What is the correct way to add 1 to the $count variable? You answered: $count =+1 Wrong Answer! 17. What is a correct way to add a comment in PHP? You answered: <comment>…</comment> Wrong Answer! 18.Wrong Answer! 13.txt" as readable? You answered: open("time.

which? Correct Answer! . MySQL support is enabled by default: You answered: True Wrong Answer! 20. Which one of these variables has an illegal name? Correct Answer! By W3Schools Time spent: 5:01 W3Schools PHP Quiz PHP QUIZ Points: 11 out of 20 1. PHP server scripts are surrounded by delimiters. In PHP 5. What does PHP stand for? You answered: Personal Hypertext Processor Wrong Answer! 2.Correct Answer! 19.

In PHP you can use both single quotes ( ' ' ) and double quotes ( " " ) for strings: You answered: False . When using the POST method. How do you get information from a form that is submitted using the "get" method? Correct Answer! 8. How do you write "Hello World" in PHP Correct Answer! 4. All variables in PHP start with which symbol? Correct Answer! 5. variables are displayed in the URL: Correct Answer! 9. What is the correct way to end a PHP statement? Correct Answer! 6. The PHP syntax is most similar to: Correct Answer! 7.3.

What is the correct way to create a function in PHP? You answered: new_function myFunction() Wrong Answer! 13.Wrong Answer! 10."read").txt" as readable? You answered: open("time. ?> Wrong Answer! 12.inc" You answered: True Wrong Answer! 11. What is the correct way to include the file "time. Wrong Answer! 14. What is the correct way to open the file "time.inc"). PHP allows you to send emails directly from a script Correct Answer! .txt".inc" ? You answered: <?php include_file("time. Include files must have the file extension ".

What is a correct way to add a comment in PHP? You answered: <comment>…</comment> Wrong Answer! 18. What is the correct way to add 1 to the $count variable? You answered: $count =+1 Wrong Answer! 17. What is the correct way to connect to a MySQL database? Correct Answer! 16. Which one of these variables has an illegal name? Correct Answer! . In PHP 5. MySQL support is enabled by default: You answered: True Wrong Answer! 20. PHP can be run on Microsoft Windows IIS(Internet Information Server): Correct Answer! 19.15.

By W3Schools Time spent: 5:01 .

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->