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. Used to create a substring (referred to as a token) from a larger string






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






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






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






5. To close a connection between a database






6. The concatenation assignment operator?






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






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






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






10. An array whose keys are numbers.






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






12. Shorthand used to increment and decrement






13. This fatal error arises from memory allocation problem.






14. This will show all error reporting.






15. Control structure that continue exit - they perform specific statements for a determined number of iterations.






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






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






18. bitwise left shift






19. function Function used to create a random number






20. To counter htmlentities()






21. bitwise AND






22. An array of variables passed in the URL






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






24. $_SERVER is a ________ variable.






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






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






27. Function used to round down to the lowest integer






28. Asynchronous Javascript And XML






29. _______ is a comparison operator






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






31. To declare a constant






32. PHP has two conditional: if and ______.






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






34. Define(NAME,value)






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






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






37. To remove all HTML and PHP tags.






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






39. To get time data






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






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






42. To find how many substrings are in a string






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






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






45. a database which is best supported by PHP






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






47. To reorganise the array randomly






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






49. Function that contains the highest value that rand() can have randomly






50. used to round numeric values.







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