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. The output of var_export((float)array(0));






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


3. This will show all error reporting.






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






5. a positive or negative number






6. Control structures that break exit






7. a type with two possible values: true and false






8. To iterate over the values of an array






9. To declare a constant






10. To delete a variable or an element of an array






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






12. Leading 0x: 0x13F or 0xA23






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






14. bitwise left shift






15. Variable names cannot begin with _______






16. Use ______ for search engines or catalogued pages or pages that would be bookmarked.






17. To close a connection between a database






18. bitwise AND






19. Standard Generalized Markup Language






20. To get over quotation marks while using arrays






21. To sort the values while maintaining the correlation between each value and its key - in reversed order






22. Variable names can begin with __________






23. a database which is best supported by PHP






24. Use _______ for passwords or pages that would not be bookmarked or pages that require security.






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






26. Function used to find the absolute value of a number or numeric variable






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






28. The order of operations.






29. Returns a string with backslashes in front of the specified characters






30. standard notation






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






32. Shorthand used to increment and decrement






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






34. To get time data






35. The array that stores variables specific to a user's visit






36. Predefined constants such as __LINE__ or __FILE__ or __FUNCTION__ or __CLASS__ and __METHOD__






37. To refer to an item in an array






38. To include files - _______ will give errors and _________ will terminate execution().






39. To assign keys to the values in an array






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






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






42. To merge arrays






43. To counter htmlentities()






44. container of both data and code






45. The concatenation operator?






46. The seven main error reporting constants are: E_NOTICE - E_WARNING - E_PARSE - E_ERROR - E_ALL - _____ - E_DEPRECATED






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






48. Tag to end a php script






49. equivalence






50. TRUE or FALSE