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. This error refers to a variable with no value.






2. collection of binary data






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






4. To determine the amount of elements in an array






5. Use ______ when a variable contains any amount of variables; in general.






6. a language in which to make querys to a database with






7. standard notation






8. any programing language where the script is parsed on the server






9. a line of information that can be stored in a variable or used in a function or statement






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






11. ___________ can be used with substr() to count backward






12. The ouput of var_export((bool)"NULL");






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






14. does a certain action when called upon






15. Online applications and resources which are available to the general public with very few restrictions






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






17. To check if a constant is already declared






18. Function that contains the highest value that rand() can have randomly






19. bitwise AND






20. _______ is a comparison operator






21. An array whose keys are strings; also known as a hash.






22. Asynchronous Javascript And XML






23. The concatenation assignment operator?






24. leading zero: 0100 or 0567






25. To set up error reporting






26. Use ______ when there are no variables in the string






27. Hypertext Preprocessor - a server-side programing language used to create webpages






28. Control structure that continue exit - they perform specific statements for a determined number of iterations.






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






30. This will not show error reporting - it will be turned off.






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






32. a positive or negative number






33. $_SERVER - $_POST - $_GET - $_COOKIE - $_SESSION - $_ENV; special arrays.






34. container of ordered data elements






35. To reset an array _______ the array() function to the array






36. Define(NAME,value)






37. Active Server Pages






38. To get time data






39. Used to check if a variable has a valid numerical value; strings with numerical values pass.






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






41. To sort values of an array in reversed order






42. signed integer






43. a storage location in the computer's memory that has a type & a name and a contents






44. What You See Is What You Get






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


46. _________ can be used in conditional statements to set precedence






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






48. $_POST and $_GET are ________ variables.






49. $_POST Data sent using POST found is sent to _______






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