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. The order of operations.






3. addition






4. container of ordered data elements






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






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






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






8. To close a connection between a database






9. To remove all HTML and PHP tags.






10. To declare a constant






11. The seven main SQL (structured query language) functions are alter - create - delete - _______ - insert - select - update






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






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






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






15. Search Engine Optimization






16. The concatenation assignment operator?






17. To get over quotation marks while using arrays






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






19. EXtensible Markup Language






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






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






22. An array whose keys are strings; also known as a hash.






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






24. The concatenation operator?






25. Control structures that break exit






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






27. Hyper Text Transfer Protocol






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






29. To determine the amount of elements in an array






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






31. Function used to convert new lines in a variable from a form to <br /> tags so that the data can be formatted correctly.






32. To assign keys to the values in an array






33. leading zero: 0100 or 0567






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






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






36. 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 __________.






37. _____ is a logical operator






38. bitwise left shift






39. Standard Generalized Markup Language






40. used to round numeric values.






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






42. signed floating-point value






43. function Function used to create a random number






44. To find how many substrings are in a string






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






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






47. container of both data and code






48. This will show all errors that fall under E_ALL or E_STRICT - the pipe | is used for 'or' so that errors that fall under either will be shown.






49. Returns an array that corresponds to the fetched row of MySQL data and moves the internal data pointer ahead






50. Returns a string with backslashes in front of the specified characters