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. To sort values of an array in reversed order






2. bitwise XOR






3. To set up error reporting






4. To append elements to an array - this will assign item to the next available index; associative arrays get messy.






5. Alias of rtrim()






6. To sort by the keys while maintaining the correlation between the key and its value






7. Used to encrypt values - it is a one-way encryption method






8. allows you to split strings based on more complex rules






9. Hypertext Preprocessor - a server-side programing language used to create webpages






10. Function used to round up to the highest integer






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






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






13. Search Engine Optimization






14. The array that stores variables specific to a user's visit






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






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






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






18. standard notation






19. To counter htmlentities()






20. To merge arrays






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






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






23. To get over quotation marks while using arrays






24. Operators used to operate and assign






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






26. A conditional or loop is a ________________.






27. Asynchronous Javascript And XML






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






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






30. bitwise AND






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






32. Standard Generalized Markup Language






33. Uses two arguments: constant name and constant definition






34. container of ordered data elements






35. a database which is best supported by PHP






36. collection of binary data






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






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






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






40. The three types of loops in PHP are: for - while - ____.






41. This fatal error arises from memory allocation problem.






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






43. identity






44. An array of variables passed in the URL






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






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






47. container of both data and code






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






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






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