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. print $_SERVER will _____ work if you use the print function on arrays.






2. Search Engine Optimization






3. To assign keys to the values in an array






4. a positive or negative number






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






6. Used to display errors in a particular script - should be placed at top of script.

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


7. To iterate over the values of an array






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






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






10. To get over quotation marks while using arrays






11. This fatal error arises from memory allocation problem.






12. To merge arrays






13. The concatenation assignment operator?






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






15. To sort the values while maintaining the correlation between each value and its key






16. To refer to an item in an array






17. bitwise XOR






18. The output of var_export((float)array());






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






20. Leading 0x: 0x13F or 0xA23






21. PHP has two conditional: if and ______.






22. An array whose keys are numbers.






23. Tag to end a php script






24. To declare a constant






25. All variables must begin with _________.






26. Operators used to operate and assign






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






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






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






30. Alias of rtrim()






31. An array of variables passed in the URL






32. This error arises from misusing a function.






33. identity






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






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






36. Used to replace a substring with another string - it is not case-sensitive.






37. The array that stores variables specific to a user's visit






38. To check if a constant is already declared






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






40. Returns a string with backslashes in front of the specified characters






41. does a certain action when called upon






42. bitwise right shift






43. Document Type Definitions






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






45. To set up error reporting






46. _______ is a comparison operator






47. Function used to round up to the highest integer






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






49. The concatenation operator?






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