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. collection of binary data






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






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






5. To counter htmlentities()






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






7. equivalence






8. To reorganise the array randomly






9. Alias of rtrim()






10. a positive or negative number






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






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






13. To determine the amount of elements in an array






14. Define(NAME,value)






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






16. Used to check if a variable has a valid numerical value; strings with numerical values pass.






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






18. To close a connection between a database






19. leading zero: 0100 or 0567






20. bitwise left shift






21. ____ or key is referred to for a value within an array.






22. container of both data and code






23. identity






24. Tag to end a php script






25. To set up error reporting






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






27. What You See Is What You Get






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






29. To remove all HTML and PHP tags.






30. To assign array element values to individual variables






31. function Function used to create a random number






32. Hyper Text Transfer Protocol






33. a language in which to make querys to a database with






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






35. The seven main error reporting constants are: E_NOTICE - E_WARNING - E_PARSE - E_ERROR - E_ALL - _____ - E_DEPRECATED






36. Used to check if a variable has any value (including 0 or FALSE or an empty string).






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






38. The four main error types are:Notice - Warning - ________ and Error.






39. container of ordered data elements






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






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






42. a database which is best supported by PHP






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






44. ___________ can be used with substr() to count backward






45. $_POST and $_GET are ________ variables.






46. Used to remove any white space - spaces or newlines or tabs - from the beginning and end of a string - not the middle.






47. An array whose keys are numbers.






48. A conditional or loop is a ________________.






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






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