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. To sort values of an array without regard to the keys






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






4. Active Server Pages






5. The concatenation assignment operator?






6. To set up error reporting






7. Leading 0x: 0x13F or 0xA23






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






9. To reorganise the array randomly






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






11. Use _______ for passwords or pages that would not be bookmarked or pages that require security.






12. function Function used to create a random number






13. To iterate over the values of an array






14. _______ is a comparison operator






15. To find how many substrings are in a string






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






17. identity






18. leading zero: 0100 or 0567






19. Tag to begin a php script






20. The order of operations.






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






22. Asynchronous Javascript And XML






23. Function used to round down to the lowest integer






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






25. To merge arrays






26. To assign keys to the values in an array






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






28. any programing language where the user must support the language the script is written in






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






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






31. $_POST and $_GET are ________ variables.






32. Standard Generalized Markup Language






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






34. Search Engine Optimization






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






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






37. equivalence






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






39. A conditional or loop is a ________________.






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






41. a positive or negative number






42. To determine the amount of elements in an array






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






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






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






46. bitwise XOR






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






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






49. a database which is best supported by PHP






50. bitwise left shift