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. signed floating-point value






2. The four main error types are:Notice - Warning - ________ and Error.






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






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






5. To reorganise the array randomly






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






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






8. Leading 0x: 0x13F or 0xA23






9. Operators used to operate and assign






10. Used to find the length of a string






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






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






13. bitwise AND






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






15. Tag to begin a php script






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






17. To get time data






18. collection of binary data






19. a positive or negative number






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






21. This error refers to a variable with no value.






22. bitwise left shift






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






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






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






26. Used to convert certain HTML tags into their entity versions.






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






28. container of both data and code






29. What You See Is What You Get






30. _____ is a logical operator






31. To close a connection between a database






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






33. An array of variables passed in the URL






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






35. To merge arrays






36. To sort by the keys while maintaining the correlation between the key and its value






37. The order of operations.






38. container of ordered data elements






39. To iterate over the values of an array






40. This will show all error reporting.






41. _______ is a comparison operator






42. Returns a character from a specified ASCII value






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






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






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






46. To set up error reporting






47. To check if a constant is already declared






48. Alias of rtrim()






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






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