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 the values while maintaining the correlation between each value and its key - in reversed order






2. Asynchronous Javascript And XML






3. a type with two possible values: true and false






4. The syntax for connecting to a database






5. Function used to round down to the lowest integer






6. Active Server Pages






7. bitwise left shift






8. Shorthand used to increment and decrement






9. To get time data






10. container of ordered data elements






11. Used to convert certain HTML tags into their entity versions.






12. To get over quotation marks while using arrays






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






14. a database which is best supported by PHP






15. leading zero: 0100 or 0567






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






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






18. a storage location in the computer's memory that has a type & a name and a contents






19. To iterate over the values of an array






20. _____ is a logical operator






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






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






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






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






25. This will show all error reporting.






26. To assign keys to the values in an array






27. To iterate over the keys and values of an array






28. The ouput of var_export((bool)"NULL");






29. says 'if' this then do this 'else' do this or 'while' this do this






30. To close a connection between a database






31. To word wrap after a certain amount of characters.






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






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






34. What You See Is What You Get






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






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






37. addition






38. To check if a constant is already declared






39. Search Engine Optimization






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






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






42. Use ______ for search engines or catalogued pages or pages that would be bookmarked.






43. Control structures that break exit






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






45. Use ________ to have multiple quotations in one string






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






47. bitwise right shift






48. Function can you use to format a number with commas






49. Tag to end a php script






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