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 check if a given variable has an "empty" value - no value or 0 or FALSE.






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






3. $_SERVER is a ________ variable.






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






5. Hyper Text Markup Language






6. To set up error reporting






7. Search Engine Optimization






8. To get time data






9. To close a connection between a database






10. To sort values of an array in reversed order






11. This error arises from misusing a function.






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






13. identity






14. A conditional or loop is a ________________.






15. Function can you use to format a number with commas






16. bitwise right shift






17. All variables must begin with _________.






18. _______ is a comparison operator






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






20. _____ is a logical operator






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






22. $_POST and $_GET are ________ variables.






23. Converts a string of ASCII characters to hexadecimal values






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






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






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






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






28. The order of operations.






29. Variable names can begin with __________






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






31. container of ordered data elements






32. Asynchronous Javascript And XML






33. signed floating-point value






34. Used to check if a variable has a valid numerical value; strings with numerical values pass.






35. This will show all error reporting.






36. The prefix for a dynamic variable - also known as a variable variable






37. Tag to begin a php script






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






39. bitwise left shift






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






41. This fatal error arises from memory allocation problem.






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






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






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






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






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






47. To find how many substrings are in a string






48. a database which is best supported by PHP






49. either hasn't yet been set or is assigned NULL value






50. To create an array