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. a language in which to make querys to a database with






2. addition






3. print $_SERVER will _____ work if you use the print function on arrays.






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






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






6. To close a connection between a database






7. The concatenation operator?






8. To sort by the keys while maintaining the correlation between the key and its value






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






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






11. _____ is a logical operator






12. $_SERVER is a ________ variable.






13. Active Server Pages






14. To set up error reporting






15. Hyper Text Markup Language






16. container of both data and code






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






18. Predefined constants such as __LINE__ or __FILE__ or __FUNCTION__ or __CLASS__ and __METHOD__






19. equivalence






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






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






22. To check if a constant is already declared






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






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






25. The order of operations.






26. returns the number of matches found by a given search string under this format...






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






28. bitwise AND






29. An array whose keys are numbers.






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






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






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






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






34. A conditional or loop is a ________________.






35. Function used to round up to the highest integer






36. a database which is best supported by PHP






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






38. Used to check if a given variable has an "empty" value - no value or 0 or FALSE.






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






40. Leading 0x: 0x13F or 0xA23






41. Hyper Text Transfer Protocol






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






43. Converts a string of ASCII characters to hexadecimal values






44. Control structures that break exit






45. To assign array element values to individual variables






46. bitwise left shift






47. EXtensible Markup Language






48. Function used to convert new lines in a variable from a form to <br /> tags so that the data can be formatted correctly.






49. Use ________ to have multiple quotations in one string






50. An array of variables passed in the URL