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 seven main error reporting constants are: E_NOTICE - E_WARNING - E_PARSE - E_ERROR - E_ALL - _____ - E_DEPRECATED






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






3. An array whose keys are numbers.






4. signed floating-point value






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






6. The concatenation operator?






7. To iterate over the values of an array






8. container of both data and code






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






10. Search Engine Optimization






11. The seven main SQL (structured query language) functions are alter - create - delete - _______ - insert - select - update






12. Standard Generalized Markup Language






13. signed integer






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






15. To counter htmlentities()






16. To sort the values while maintaining the correlation between each value and its key - in reversed order






17. function Function used to create a random number






18. Hyper Text Transfer Protocol






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






20. Variable names can begin with __________






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






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






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






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






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






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






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






28. Uses two arguments: constant name and constant definition






29. PHP has two conditional: if and ______.






30. The order of operations.






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






32. Tag to begin a php script






33. To determine the amount of elements in an array






34. To sort values of an array in reversed order






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






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






37. bitwise AND






38. a database which is best supported by PHP






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






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






41. $_SERVER is a ________ variable.






42. a positive or negative number






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






44. Leading 0x: 0x13F or 0xA23






45. bitwise right shift






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






47. Hyper Text Markup Language






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






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






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