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. To reorganise the array randomly






2. To sort values of an array in reversed order






3. To iterate over the values of an array






4. used to round numeric values.






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






6. does a certain action when called upon






7. print $_SERVER will _____ work if you use the print function on arrays.






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






9. Standard Generalized Markup Language






10. bitwise XOR






11. To close a connection between a database






12. To remove all HTML and PHP tags.






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






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






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






16. $_SERVER is a ________ variable.






17. To delete a variable or an element of an array






18. $_SERVER - $_POST - $_GET - $_COOKIE - $_SESSION - $_ENV; special arrays.






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






20. Hyper Text Transfer Protocol






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






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






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






24. This will show all error reporting.






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






26. Use ________ to have multiple quotations in one string






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






28. signed floating-point value






29. Document Type Definitions






30. To set up error reporting






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






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






33. The syntax for connecting to a database






34. _______ is a comparison operator






35. _____ is a logical operator






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






37. searches the subject for matches to a given pattern replaced with the given replacement text






38. Tag to end a php script






39. Active Server Pages






40. leading zero: 0100 or 0567






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






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






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






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






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






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






47. To declare a constant






48. A data structure that can hold a number of items of data of the same type eg. a list of names






49. standard notation






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







Sorry!:) No result found.

Can you answer 50 questions in 15 minutes?


Let me suggest you:



Major Subjects



Tests & Exams


AP
CLEP
DSST
GRE
SAT
GMAT

Most popular tests