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






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






3. To get over quotation marks while using arrays






4. The concatenation operator?






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






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






7. To assign keys to the values in an array






8. TRUE or FALSE






9. This error arises from misusing a function.






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






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






12. To determine the amount of elements in an array






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






14. a line of information that can be stored in a variable or used in a function or statement






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






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






17. Standard Generalized Markup Language






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






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






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






21. To reorganise the array randomly






22. Function used to round down to the lowest integer






23. Variable names cannot begin with _______






24. standard notation






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






26. a database which is best supported by PHP






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






28. Used to find the length of a string






29. Asynchronous Javascript And XML






30. This fatal error arises from memory allocation problem.






31. To merge arrays






32. Define(NAME,value)






33. Hyper Text Transfer Protocol






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






35. print $_SERVER will _____ work if you use the print function on arrays.






36. container of both data and code






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






38. To iterate over the values of an array






39. does a certain action when called upon






40. leading zero: 0100 or 0567






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






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






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






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






45. An array whose keys are numbers.






46. An array of variables passed with <input /> data






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






48. bitwise right shift






49. The concatenation assignment operator?






50. PHP has two conditional: if and ______.