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. _______ is a comparison operator






2. addition






3. To get over quotation marks while using arrays






4. Hyper Text Markup Language






5. What You See Is What You Get






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






7. Define(NAME,value)






8. To find how many substrings are in a string






9. $_SERVER is a ________ variable.






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






11. An array of variables passed in the URL






12. Tag to end a php script






13. Operators used to operate and assign






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






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






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






17. Used to find the length of a string






18. PHP has two conditional: if and ______.






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






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






21. To reorganise the array randomly






22. used to round numeric values.






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






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






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


26. Variable names can begin with __________






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






28. The concatenation assignment operator?






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






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






31. Use ________ to have multiple quotations in one string






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






33. EXtensible Markup Language






34. Converts a string of ASCII characters to hexadecimal values






35. bitwise AND






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






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






38. This fatal fatal is caused by a semantic mistake: omission of a semicolon or imbalance of quotations or parentheses or braces.






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






40. Asynchronous Javascript And XML






41. To check if a constant is already declared






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






43. does a certain action when called upon






44. Tag to begin a php script






45. To sort values of an array in reversed order






46. Document Type Definitions






47. An array whose keys are numbers.






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






49. Control structures that break exit






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