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. says 'if' this then do this 'else' do this or 'while' this do this






2. Control structures that break exit






3. Used to replace a substring with another string - it is not case-sensitive.






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






5. TRUE or FALSE






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






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






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






9. To counter htmlentities()






10. $_POST and $_GET are ________ variables.






11. To declare a constant






12. Document Type Definitions






13. Shorthand used to increment and decrement






14. Used to convert certain HTML tags into their entity versions.






15. To find how many substrings are in a string






16. To create an array






17. Search Engine Optimization






18. container of both data and code






19. To sort the values while maintaining the correlation between each value and its key






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






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






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






23. collection of binary data






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






25. EXtensible Markup Language






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






27. Uses two arguments: constant name and constant definition






28. All variables must begin with _________.






29. Used to find the length of a string






30. To close a connection between a database






31. To iterate over the values of an array






32. To get over quotation marks while using arrays






33. Hyper Text Markup Language






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






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






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






37. Asynchronous Javascript And XML






38. To sort values of an array in reversed order






39. Converts a string of ASCII characters to hexadecimal values






40. Function used to round down to the lowest integer






41. standard notation






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






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






44. Variable names can begin with __________






45. To determine the amount of elements in an array






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






47. bitwise AND






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






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






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