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. A conditional or loop is a ________________.






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






3. equivalence






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






5. collection of binary data






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






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






8. Returns a character from a specified ASCII value






9. Used to remove any white space - spaces or newlines or tabs - from the beginning and end of a string - not the middle.






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






11. a positive or negative number






12. the most basic function in PHP used to output information to the page






13. identity






14. To find how many substrings are in a string






15. Use ________ to have multiple quotations in one string






16. Function used to round up to the highest integer






17. To counter htmlentities()






18. Active Server Pages






19. To assign keys to the values in an array






20. This will show all error reporting.






21. Control structures that break exit






22. To declare a constant






23. bitwise left shift






24. To assign array element values to individual variables






25. To set up error reporting






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






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






28. Operators used to operate and assign






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






30. $_POST Data sent using POST found is sent to _______






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






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






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






34. An array of variables passed in the URL






35. _______ is a comparison operator






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






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






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






39. used to round numeric values.






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






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






42. $_SERVER is a ________ variable.






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






44. To create an array






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






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






47. This error arises from misusing a function.






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






49. a database which is best supported by PHP






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







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