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. The array that stores variables specific to a user's visit






2. The concatenation operator?






3. TRUE or FALSE






4. _______ is a comparison operator






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






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






7. Function used to find the absolute value of a number or numeric variable






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






9. Shorthand used to increment and decrement






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






11. function Function used to create a random number






12. Variable names cannot begin with _______






13. To close a connection between a database






14. An array of variables passed in the URL






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






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






17. Uses two arguments: constant name and constant definition






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






19. This fatal error arises from memory allocation problem.






20. a positive or negative number






21. To sort values of an array in reversed order






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






23. The order of operations.






24. Active Server Pages






25. To remove all HTML and PHP tags.






26. To declare a constant






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






28. _____ is a logical operator






29. used to round numeric values.






30. The concatenation assignment operator?






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






32. To iterate over the values of an array






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






34. ____ or key is referred to for a value within an array.






35. PHP has two conditional: if and ______.






36. To refer to an item in an array






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






38. To word wrap after a certain amount of characters.






39. bitwise left shift






40. Use ________ to have multiple quotations in one string






41. Variable names can begin with __________






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






43. To get over quotation marks while using arrays






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






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






46. The ouput of var_export((bool)"NULL");






47. Asynchronous Javascript And XML






48. To get time data






49. The syntax for connecting to a database






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