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. An array whose keys are strings; also known as a hash.






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






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






4. standard notation






5. To counter htmlentities()






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






7. signed integer






8. Variable names cannot begin with _______






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






10. To determine the amount of elements in an array






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






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






13. Variable names can begin with __________






14. All variables must begin with _________.






15. This error arises from misusing a function.






16. a database which is best supported by PHP






17. bitwise AND






18. Active Server Pages






19. $_SERVER is a ________ variable.






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






21. The concatenation assignment operator?






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






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






24. The concatenation operator?






25. The syntax for connecting to a database






26. Used to check if a variable has any value (including 0 or FALSE or an empty string).






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






28. Tag to end a php script






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






30. Document Type Definitions






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






32. identity






33. To sort values of an array in reversed order






34. Hyper Text Transfer Protocol






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






36. Leading 0x: 0x13F or 0xA23






37. An array whose keys are numbers.






38. leading zero: 0100 or 0567






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






40. Use ________ to have multiple quotations in one string






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






42. _________ can be used in conditional statements to set precedence






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






44. To refer to an item in an array






45. TRUE or FALSE






46. Hyper Text Markup Language






47. Asynchronous Javascript And XML






48. _______ is a comparison operator






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






50. To declare a constant