JavaScript/PHP Quiz
#1. What is the correct way to create a function in PHP?
#2. Where is the correct place to insert a JavaScript?
#3. How does a WHILE loop start?
#4. Which superglobal variable holds information about headers, paths, and script locations?
#5. Which operator is used to check if two values are equal and of same data type?
#6. The external JavaScript file must contain the tag.
#7. What is the correct way to include the file «time.inc» ?
#8. What is the correct way to end a PHP statement?
#9. What is the correct way to open the file «time.txt» as readable?
#10. In PHP, the only way to output text is with echo.
#11. PHP server scripts are surrounded by delimiters, which?
#12. Is JavaScript case-sensitive?