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 refer to an item in an array






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






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






4. To counter htmlentities()






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






6. Variable names can begin with __________






7. allows you to split strings based on more complex rules






8. Control structures that break exit






9. All variables must begin with _________.






10. container of both data and code






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






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






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






14. To assign array element values to individual variables






15. Operators used to operate and assign






16. The order of operations.






17. used to round numeric values.






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






19. To find how many substrings are in a string






20. PHP has two conditional: if and ______.






21. An array whose keys are numbers.






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






23. Search Engine Optimization






24. Uses two arguments: constant name and constant definition






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






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






27. Returns an array that corresponds to the fetched row of MySQL data and moves the internal data pointer ahead






28. Hyper Text Markup Language






29. A conditional or loop is a ________________.






30. Tag to end a php script






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






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






33. To determine the amount of elements in an array






34. Use ________ to have multiple quotations in one string






35. EXtensible Markup Language






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






37. bitwise right shift






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






39. Document Type Definitions






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






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






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






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






44. bitwise left shift






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






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






47. An array of variables passed in the URL






48. identity






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






50. addition