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






2. bitwise AND






3. To sort values of an array in reversed order






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






5. Hyper Text Markup Language






6. What You See Is What You Get






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






8. leading zero: 0100 or 0567






9. says 'if' this then do this 'else' do this or 'while' this do this






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






11. Use ______ when there are no variables in the string






12. Function used to round down to the lowest integer






13. To reorganise the array randomly






14. Converts a string of ASCII characters to hexadecimal values






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






16. The concatenation operator?






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






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






19. collection of binary data






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






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






22. The syntax for connecting to a database






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






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






25. To get time data






26. The order of operations.






27. All variables must begin with _________.






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






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






30. does a certain action when called upon






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






32. $_SERVER is a ________ variable.






33. This will show all error reporting.






34. Leading 0x: 0x13F or 0xA23






35. Active Server Pages






36. The concatenation assignment operator?






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






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






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






40. This will not show error reporting - it will be turned off.






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






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






43. _______ is a comparison operator






44. To merge arrays






45. To check if a constant is already declared






46. $_POST and $_GET are ________ variables.






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






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






49. To assign array element values to individual variables






50. This error arises from misusing a function.