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 ouput of var_export((bool)"NULL");






2. To word wrap after a certain amount of characters.






3. The three types of loops in PHP are: for - while - ____.






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






5. An array of variables passed in the URL






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






7. To iterate over the values of an array






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






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






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






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






12. bitwise right shift






13. Asynchronous Javascript And XML






14. container of ordered data elements






15. This will show all error reporting.






16. does a certain action when called upon






17. PHP has two conditional: if and ______.






18. bitwise AND






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






20. To assign array element values to individual variables






21. To counter htmlentities()






22. collection of binary data






23. identity






24. Used to remove any white space - spaces or newlines or tabs - from the beginning and end of a string - not the middle.






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






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






27. This error refers to a variable with no value.






28. To check if a constant is already declared






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






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






31. To create an array






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






33. Active Server Pages






34. Document Type Definitions






35. Control structures that break exit






36. addition






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






38. To merge arrays






39. used to round numeric values.






40. equivalence






41. To assign keys to the values in an array






42. EXtensible Markup Language






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






44. Used to convert all HTML tags into their entity versions.






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






46. Standard Generalized Markup Language






47. Leading 0x: 0x13F or 0xA23






48. signed integer






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






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