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. Used to convert all HTML tags into their entity versions.






2. function Function used to create a random number






3. To counter htmlentities()






4. To iterate over the values of an array






5. bitwise XOR






6. does a certain action when called upon






7. To sort values of an array without regard to the keys






8. Asynchronous Javascript And XML






9. This fatal error arises from memory allocation problem.






10. This will show all error reporting.






11. EXtensible Markup Language






12. the most basic function in PHP used to output information to the page






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






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






15. ____ or key is referred to for a value within an array.






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






17. An array of variables passed in the URL






18. $_POST and $_GET are ________ variables.






19. Converts a string of ASCII characters to hexadecimal values






20. To refer to an element in a multidimensional array list the indices in order of _____ to more precise;






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






22. Function used to round down to the lowest integer






23. A conditional or loop is a ________________.






24. Shorthand used to increment and decrement






25. This will show all error reporting except for notice errors.






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






27. Variable names cannot begin with _______






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






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






30. To merge arrays






31. equivalence






32. Tag to end a php script






33. PHP has two conditional: if and ______.






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






35. bitwise AND






36. To check if a constant is already declared






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






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






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






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






41. To refer to an item in an array






42. Document Type Definitions






43. a positive or negative number






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






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






46. To assign keys to the values in an array






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






48. The order of operations.






49. Variable names can begin with __________






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