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. TRUE or FALSE






2. identity






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






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






5. To get time data






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






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






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






9. a positive or negative number






10. Used to find the length of a string






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






12. Control structure that continue exit - they perform specific statements for a determined number of iterations.






13. Asynchronous Javascript And XML






14. a database which is best supported by PHP






15. bitwise left shift






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






17. bitwise right shift






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






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






20. Uses two arguments: constant name and constant definition






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






22. Shorthand used to increment and decrement






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






24. All variables must begin with _________.






25. The order of operations.






26. The concatenation assignment operator?






27. To determine the amount of elements in an array






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






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






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






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






32. Hyper Text Transfer Protocol






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






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






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






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






37. Leading 0x: 0x13F or 0xA23






38. Define(NAME,value)






39. An array of variables passed in the URL






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






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






42. Use ________ to have multiple quotations in one string






43. Hyper Text Markup Language






44. To find how many substrings are in a string






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






46. standard notation






47. equivalence






48. Operators used to operate and assign






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






50. $_SERVER - $_POST - $_GET - $_COOKIE - $_SESSION - $_ENV; special arrays.