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. returns the number of matches found by a given search string under this format...






2. collection of binary data






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






4. EXtensible Markup Language






5. An array whose keys are numbers.






6. Function used to round up to the highest integer






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






8. bitwise right shift






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






10. Converts a string of ASCII characters to hexadecimal values






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






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






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






14. Standard Generalized Markup Language






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






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






17. Alias of rtrim()






18. What You See Is What You Get






19. Define(NAME,value)






20. The name of the #! used to designate the location of the PHP binary






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






22. any programing language where the user must support the language the script is written in






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






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






25. To determine the amount of elements in an array






26. Besides GET and POST ________ can be used to access data but $_POST and $_GET are more precise and therefore preferable.






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






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






29. Shorthand used to increment and decrement






30. To check if a constant is already declared






31. Function used to round down to the lowest integer






32. $_SERVER is a ________ variable.






33. To put a dollar sign before a variable like $10 where 10 is the variable's value - you can escape the first dollar sign; $$cost; or you can use __________.






34. standard notation






35. To merge arrays






36. To reorganise the array randomly






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






38. _____ is a logical operator






39. addition






40. This will show all error reporting.






41. Search Engine Optimization






42. Returns a character from a specified ASCII value






43. To include files - _______ will give errors and _________ will terminate execution().






44. The concatenation operator?






45. To remove all HTML and PHP tags.






46. _______ is a comparison operator






47. To counter htmlentities()






48. The order of operations.






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






50. Use ________ to have multiple quotations in one string