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. All variables must begin with _________.






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






3. equivalence






4. Alias of rtrim()






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






6. identity






7. used to round numeric values.






8. This will show all error reporting.






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






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






11. Leading 0x: 0x13F or 0xA23






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






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






14. To refer to an item in an array






15. Function used to find the absolute value of a number or numeric variable






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






17. An array of variables passed in the URL






18. To set up error reporting






19. leading zero: 0100 or 0567






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






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






22. To create an array






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






24. Converts a string of ASCII characters to hexadecimal values






25. To get over quotation marks while using arrays






26. standard notation






27. Document Type Definitions






28. bitwise left shift






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






30. TRUE or FALSE






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






32. This fatal error arises from memory allocation problem.






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






34. Function used to round up to the highest integer






35. Returns a string with backslashes in front of predefined characters






36. Define(NAME,value)






37. To reorganise the array randomly






38. To remove all HTML and PHP tags.






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






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






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






42. Tag to begin a php script






43. $_SERVER is a ________ variable.






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






45. Used to find the length of a string






46. Function that contains the highest value that rand() can have randomly






47. Variable names can begin with __________






48. This error arises from misusing a function.






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






50. A data structure that can hold a number of items of data of the same type eg. a list of names