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 concatenation assignment operator?






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






3. identity






4. To remove all HTML and PHP tags.






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






6. This error arises from misusing a function.






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






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






9. leading zero: 0100 or 0567






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






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






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






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






14. signed integer






15. Function used to round down to the lowest integer






16. An array whose keys are numbers.






17. standard notation






18. To assign keys to the values in an array






19. To get over quotation marks while using arrays






20. Converts a string of ASCII characters to hexadecimal values






21. Hyper Text Markup Language






22. To create an array






23. collection of binary data






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






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






26. To sort values of an array without regard to the keys






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






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






29. Used to find the length of a string






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






31. Alias of rtrim()






32. To determine the amount of elements in an array






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






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






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






36. The order of operations.






37. Control structures that break exit






38. the most basic function in PHP used to output information to the page






39. Variable names can begin with __________






40. This will show all error reporting.






41. Uses two arguments: constant name and constant definition






42. Variable names cannot begin with _______






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






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






45. Search Engine Optimization






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






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






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






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






50. Document Type Definitions