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. print $_SERVER will _____ work if you use the print function on arrays.






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






3. a positive or negative number






4. Asynchronous Javascript And XML






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






6. To counter htmlentities()






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






8. does a certain action when called upon






9. a database which is best supported by PHP






10. To check if a constant is already declared






11. says 'if' this then do this 'else' do this or 'while' this do this






12. Standard Generalized Markup Language






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






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






15. equivalence






16. Creates a pointer to a file with the declared mode (read - write -etc.).






17. EXtensible Markup Language






18. Used to find the length of a string






19. any programing language where the user must support the language the script is written in






20. Uses two arguments: constant name and constant definition






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






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






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






24. bitwise AND






25. To iterate over the values of an array






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






27. Control structure that continue exit - they perform specific statements for a determined number of iterations.






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






29. Converts a string of ASCII characters to hexadecimal values






30. Active Server Pages






31. The syntax for connecting to a database






32. bitwise XOR






33. Used to create a substring (referred to as a token) from a larger string






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






35. To determine the amount of elements in an array






36. To append elements to an array - this will assign item to the next available index; associative arrays get messy.






37. To declare a constant






38. collection of binary data






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






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






41. Function used to round up to the highest integer






42. Used to check if a given variable has an "empty" value - no value or 0 or FALSE.






43. 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.






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






45. Tag to begin a php script






46. PHP has two conditional: if and ______.






47. The order of operations.






48. To sort values of an array in reversed order






49. standard notation






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