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. Function can you use to format a number with commas






2. To get time data






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






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






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






6. $_POST and $_GET are ________ variables.






7. An array whose keys are numbers.






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






9. EXtensible Markup Language






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






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






12. Converts a string of ASCII characters to hexadecimal values






13. bitwise XOR






14. Used to find the amount of words in a string.






15. addition






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






17. To counter htmlentities()






18. To remove all HTML and PHP tags.






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






20. Used to encrypt values - it is a one-way encryption method






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






22. Leading 0x: 0x13F or 0xA23






23. An array of variables passed in the URL






24. signed integer






25. Control structures that break exit






26. The order of operations.






27. Function used to round down to the lowest integer






28. Asynchronous Javascript And XML






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






30. To set up error reporting






31. To close a connection between a database






32. signed floating-point value






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






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






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






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






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






38. Hyper Text Transfer Protocol






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






40. To create an array






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






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






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






44. Besides GET and POST ________ can be used to access data but $_POST and $_GET are more precise and therefore preferable.






45. To refer to an item in an array






46. This will show all errors that fall under E_ALL or E_STRICT - the pipe | is used for 'or' so that errors that fall under either will be shown.






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






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






49. Search Engine Optimization






50. What You See Is What You Get