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. Hyper Text Markup Language






2. To sort values of an array without regard to the keys






3. Returns a character from a specified ASCII value






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






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






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






7. a storage location in the computer's memory that has a type & a name and a contents






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






9. To reorganise the array randomly






10. To assign keys to the values in an array






11. any programing language where the script is parsed on the server






12. Standard Generalized Markup Language






13. $_SERVER is a ________ variable.






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






15. container of ordered data elements






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






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






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






19. _______ is a comparison operator






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






21. The syntax for connecting to a database






22. This will show all error reporting.






23. standard notation






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






25. Active Server Pages






26. This error arises from misusing a function.






27. Uses two arguments: constant name and constant definition






28. does a certain action when called upon






29. Leading 0x: 0x13F or 0xA23






30. To find how many substrings are in a string






31. To iterate over the values of an array






32. To check if a constant is already declared






33. any programing language where the user must support the language the script is written in






34. To declare a constant






35. Operators used to operate and assign






36. $_POST and $_GET are ________ variables.






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






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






39. collection of binary data






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






41. To remove all HTML and PHP tags.






42. A conditional or loop is a ________________.






43. To set up error reporting






44. Document Type Definitions






45. The three types of loops in PHP are: for - while - ____.






46. Asynchronous Javascript And XML






47. The concatenation assignment operator?






48. An array of variables passed in the URL






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






50. This fatal error arises from memory allocation problem.