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 prefix for a dynamic variable - also known as a variable variable






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






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






4. Asynchronous Javascript And XML






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






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






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






8. To get over quotation marks while using arrays






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






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






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






12. To set up error reporting






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






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






15. All variables must begin with _________.






16. Operators used to operate and assign






17. collection of binary data






18. Function used to round up to the highest integer






19. Hyper Text Transfer Protocol






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






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






22. PHP has two conditional: if and ______.






23. Define(NAME,value)






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






25. Variable names can begin with __________






26. equivalence






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






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






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






30. An array whose keys are numbers.






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






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






33. The concatenation assignment operator?






34. standard notation






35. Document Type Definitions






36. TRUE or FALSE






37. bitwise AND






38. ___________ can be used with substr() to count backward






39. The output of var_export((float)array(0));






40. Standard Generalized Markup Language






41. Search Engine Optimization






42. a database which is best supported by PHP






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






44. To remove all HTML and PHP tags.






45. This fatal fatal is caused by a semantic mistake: omission of a semicolon or imbalance of quotations or parentheses or braces.






46. _______ is a comparison operator






47. To merge arrays






48. To refer to an item in an array






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






50. An array of variables passed in the URL