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. This will show all error reporting.






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






3. Tag to end a php script






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






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






6. Converts a string of ASCII characters to hexadecimal values






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






8. A conditional or loop is a ________________.






9. equivalence






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






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






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






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






14. To reorganise the array randomly






15. _______ is a comparison operator






16. Used to find the length of a string






17. All variables must begin with _________.






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






19. Returns an array that corresponds to the fetched row of MySQL data and moves the internal data pointer ahead






20. a database which is best supported by PHP






21. The order of operations.






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






23. Leading 0x: 0x13F or 0xA23






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






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






26. Operators used to operate and assign






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






28. To declare a constant






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






30. Use ______ for search engines or catalogued pages or pages that would be bookmarked.






31. Use ________ to have multiple quotations in one string






32. leading zero: 0100 or 0567






33. bitwise AND






34. The concatenation assignment operator?






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






36. To iterate over the values of an array






37. signed floating-point value






38. Hyper Text Transfer Protocol






39. The concatenation operator?






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






41. used to round numeric values.






42. container of ordered data elements






43. To determine the amount of elements in an array






44. does a certain action when called upon






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






46. To put a dollar sign before a variable like $10 where 10 is the variable's value - you can escape the first dollar sign; $$cost; or you can use __________.






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






48. standard notation






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






50. a positive or negative number