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. The seven main SQL (structured query language) functions are alter - create - delete - _______ - insert - select - update






2. Predefined constants such as __LINE__ or __FILE__ or __FUNCTION__ or __CLASS__ and __METHOD__






3. An array whose keys are numbers.






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






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






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






7. Converts a string of ASCII characters to hexadecimal values






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






9. An array of variables passed in the URL






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






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






12. A conditional or loop is a ________________.






13. leading zero: 0100 or 0567






14. PHP has two conditional: if and ______.






15. bitwise AND






16. $_SERVER is a ________ variable.






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






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






19. used to round numeric values.






20. To assign array element values to individual variables






21. Hyper Text Markup Language






22. identity






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






24. Use ________ to have multiple quotations in one string






25. standard notation






26. Hyper Text Transfer Protocol






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






28. The concatenation assignment operator?






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






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






31. Used to find the amount of words in a string.






32. equivalence






33. To assign keys to the values in an array






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






35. collection of binary data






36. Used to find the length of a string






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






38. To merge arrays






39. This will not show error reporting - it will be turned off.






40. To refer to an item in an array






41. a database which is best supported by PHP






42. Used to replace a substring with another string - it is not case-sensitive.






43. Search Engine Optimization






44. To iterate over the values of an array






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






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. To set up error reporting






48. signed floating-point value






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






50. Standard Generalized Markup Language