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 error arises from misusing a function.






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






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






4. To get time data






5. EXtensible Markup Language






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






7. To check if a constant is already declared






8. To merge arrays






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






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






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






12. The concatenation assignment operator?






13. To sort values of an array in reversed order






14. Used to convert all HTML tags into their entity versions.






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






16. To create an array






17. Function used to round up to the highest integer






18. Online applications and resources which are available to the general public with very few restrictions






19. To find how many substrings are in a string






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






21. To close a connection between a database






22. Alias of rtrim()






23. The output of var_export((float)array(0));






24. a positive or negative number






25. does a certain action when called upon






26. Document Type Definitions






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






28. The syntax for connecting to a database






29. Used to find the length of a string






30. Active Server Pages






31. Control structures that break exit






32. TRUE or FALSE






33. To get over quotation marks while using arrays






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






35. collection of binary data






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






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






38. signed integer






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






40. bitwise AND






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






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






43. Returns a character from a specified ASCII value






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






45. Search Engine Optimization






46. _____ is a logical operator






47. equivalence






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






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






50. standard notation