Test your basic knowledge |

Php Programming Basics

Subject : it-skills
Instructions:
  • Answer 50 questions in 15 minutes.
  • If you are not ready to take this test, you can study here.
  • Match each statement with the correct term.
  • Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.

This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. Use _______ for passwords or pages that would not be bookmarked or pages that require security.






2. Operators used to operate and assign






3. Tag to end a php script






4. allows you to split strings based on more complex rules






5. The prefix for a dynamic variable - also known as a variable variable






6. Used to display errors in a particular script - should be placed at top of script.

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


7. The name of the #! used to designate the location of the PHP binary






8. An array of variables passed with <input /> data






9. This will show all errors that fall under E_ALL or E_STRICT - the pipe | is used for 'or' so that errors that fall under either will be shown.






10. Used to find the amount of words in a string.






11. Search Engine Optimization






12. signed integer






13. standard notation






14. Function used to round up to the highest integer






15. Hyper Text Transfer Protocol






16. To get time data






17. To get over quotation marks while using arrays






18. The output of var_export((float)array());






19. Returns a string with backslashes in front of predefined characters






20. To sort by the keys while maintaining the correlation between the key and its value






21. Used to encrypt values - it is a one-way encryption method






22. bitwise XOR






23. bitwise left shift






24. To set up error reporting






25. container of both data and code






26. bitwise AND






27. searches the subject for matches to a given pattern replaced with the given replacement text






28. Besides GET and POST ________ can be used to access data but $_POST and $_GET are more precise and therefore preferable.






29. Asynchronous Javascript And XML






30. TRUE or FALSE






31. The seven main SQL (structured query language) functions are alter - create - delete - _______ - insert - select - update






32. PHP has two conditional: if and ______.






33. either hasn't yet been set or is assigned NULL value






34. print $_SERVER will _____ work if you use the print function on arrays.






35. Similar to mysql_fetch_array() - but cannot be accessed by integer offset






36. When used the value can be passed safely through the URL (GET).






37. Used to check if a variable has any value (including 0 or FALSE or an empty string).






38. The four main error types are:Notice - Warning - ________ and Error.






39. function Function used to create a random number






40. Function used to convert new lines in a variable from a form to <br /> tags so that the data can be formatted correctly.






41. Variable names can begin with __________






42. Active Server Pages






43. any programing language where the user must support the language the script is written in






44. To determine the amount of elements in an array






45. bitwise right shift






46. To iterate over the keys and values of an array






47. To counter htmlentities()






48. returns the number of matches found by a given search string under this format...






49. Define(NAME,value)






50. Creates a pointer to a file with the declared mode (read - write -etc.).