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. bitwise AND






2. Returns a character from a specified ASCII value






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






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






5. This fatal error arises from memory allocation problem.






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






7. The three types of loops in PHP are: for - while - ____.






8. To assign keys to the values in an array






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






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






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






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






13. To set up error reporting






14. identity






15. To get time data






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






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






18. To check if a constant is already declared






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






20. To refer to an item in an array






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






22. Define(NAME,value)






23. To iterate over the values of an array






24. To find how many substrings are in a string






25. signed floating-point value






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






27. To declare a constant






28. To close a connection between a database






29. _______ is a comparison operator






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






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






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






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






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






35. This error arises from misusing a function.






36. An array whose keys are numbers.






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






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






39. collection of binary data






40. $_POST and $_GET are ________ variables.






41. a positive or negative number






42. Standard Generalized Markup Language






43. searches the subject for matches to a given pattern replaced with the given replacement text






44. This will show all error reporting.






45. container of ordered data elements






46. bitwise XOR






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






48. Variable names cannot begin with _______






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






50. Use ______ when a variable contains any amount of variables; in general.