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. Use ______ when a variable contains any amount of variables; in general.






2. used to round numeric values.






3. Control structures that break exit






4. EXtensible Markup Language






5. Variable names cannot begin with _______






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






7. To counter htmlentities()






8. Hyper Text Transfer Protocol






9. This will not show error reporting - it will be turned off.






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






11. To iterate over the values of an array






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






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






14. Use ______ for search engines or catalogued pages or pages that would be bookmarked.






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






16. Tag to begin a php script






17. To close a connection between a database






18. Active Server Pages






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






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






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






22. To create an array






23. PHP has two conditional: if and ______.






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






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






26. To delete a variable or an element of an array






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






28. _______ is a comparison operator






29. Variable names can begin with __________






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






31. Predefined constants such as __LINE__ or __FILE__ or __FUNCTION__ or __CLASS__ and __METHOD__






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






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






34. bitwise XOR






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






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






37. Hyper Text Markup Language






38. collection of binary data






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






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






41. To refer to an item in an array






42. Standard Generalized Markup Language






43. This error arises from misusing a function.






44. All variables must begin with _________.






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






46. $_POST and $_GET are ________ variables.






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






48. standard notation






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






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