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. container of ordered data elements






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






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






4. The order of operations.






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






6. Tag to end a php script






7. Variable names can begin with __________






8. bitwise right shift






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






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






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






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






13. does a certain action when called upon






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






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






16. collection of binary data






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






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






19. Function used to round up to the highest integer






20. To sort the values while maintaining the correlation between each value and its key - in reversed order






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






22. To create an array






23. equivalence






24. This fatal fatal is caused by a semantic mistake: omission of a semicolon or imbalance of quotations or parentheses or braces.






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






26. To find how many substrings are in a string






27. To set up error reporting






28. Converts a string of ASCII characters to hexadecimal values






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






30. To determine the amount of elements in an array






31. Returns a character from a specified ASCII value






32. Similar to mysql_fetch_array() - but cannot be accessed by integer offset






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






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






35. TRUE or FALSE






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






37. container of both data and code






38. This error arises from misusing a function.






39. A conditional or loop is a ________________.






40. To merge arrays






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






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






43. signed floating-point value






44. To declare a constant






45. Hyper Text Transfer Protocol






46. _____ is a logical operator






47. a positive or negative number






48. function Function used to create a random number






49. bitwise left shift






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