Assignment #1:
Written Answers
For: PHP: Databases and Framework - Due February 9, 2024
Select
1. What is PHP, what is it used for and what are some key qualities that make PHP different from other programming languages?
2. Identify and briefly describe the four technologies which are included in a LAMP stack.
3. How do you use PHP code in HTML code?
4. Name and briefly describe all 10 primitive data types in PHP.
5. What is an associative array and how does it differ from a regular array?
6. Identify and describe the differences between the four keywords which are used to import external PHP files.
7. What is the difference between a template file and an include file?
8. What is the $_SERVER superglobal variable used for?
9. What are the $_GET, $_POST and $_REQUEST superglobal variables used for and when would you use each?
10. What are the $_COOKIE and $_SESSION superglobal variables used for and what is the primary difference between them?
Show all
Show only sources
Choose an option from the dropdown menu and press the submit button