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. When used the value can be passed safely through the URL (GET).






2. Uses two arguments: constant name and constant definition






3. To refer to an item in an array






4. An array whose keys are numbers.






5. Besides GET and POST ________ can be used to access data but $_POST and $_GET are more precise and therefore preferable.






6. Function used to round down to the lowest integer






7. To iterate over the values of an array






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






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






10. Similar to mysql_fetch_array() - but cannot be accessed by integer offset






11. All variables must begin with _________.






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






13. This fatal error arises from memory allocation problem.






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






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






16. says 'if' this then do this 'else' do this or 'while' this do this






17. allows you to split strings based on more complex rules






18. standard notation






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






20. Define(NAME,value)






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






22. Asynchronous Javascript And XML






23. The concatenation operator?






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






25. Variable names cannot begin with _______






26. A conditional or loop is a ________________.






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






28. container of both data and code






29. bitwise left shift






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






31. To assign array element values to individual variables






32. To find how many substrings are in a string






33. bitwise AND






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






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






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






37. _____ is a logical operator






38. Function that contains the highest value that rand() can have randomly






39. To sort values of an array in reversed order






40. This error refers to a variable with no value.






41. To close a connection between a database






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






43. To counter htmlentities()






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






45. What You See Is What You Get






46. Use _______ for passwords or pages that would not be bookmarked or pages that require security.






47. collection of binary data






48. To get time data






49. Used to check if a variable has any value (including 0 or FALSE or an empty string).






50. To declare a constant