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. a storage location in the computer's memory that has a type & a name and a contents






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






3. Function used to round down to the lowest integer






4. An array of variables passed in the URL






5. To sort values of an array in reversed order






6. Search Engine Optimization






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






8. leading zero: 0100 or 0567






9. $_SERVER is a ________ variable.






10. Creates a pointer to a file with the declared mode (read - write -etc.).






11. To put a dollar sign before a variable like $10 where 10 is the variable's value - you can escape the first dollar sign; $$cost; or you can use __________.






12. The syntax for connecting to a database






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






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






15. Alias of rtrim()






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






17. Function used to round up to the highest integer






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






19. Variable names can begin with __________






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






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






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






23. To assign array element values to individual variables






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






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






26. When used the value can be passed safely through the URL (GET).






27. This will show all error reporting.






28. Define(NAME,value)






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






30. bitwise AND






31. Tag to begin a php script






32. signed integer






33. To iterate over the values of an array






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






35. Document Type Definitions






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






37. The output of var_export((float)array(0));






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






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






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






41. Uses two arguments: constant name and constant definition






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






43. To determine the amount of elements in an array






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






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






46. To set up error reporting






47. What You See Is What You Get






48. _________ can be used in conditional statements to set precedence






49. Used to find the length of a string






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