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 variable has any value (including 0 or FALSE or an empty string).






2. Standard Generalized Markup Language






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






4. Control structures that break exit






5. Tag to end a php script






6. What You See Is What You Get






7. Use ________ to have multiple quotations in one string






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






9. TRUE or FALSE






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






11. The name of the #! used to designate the location of the PHP binary






12. The syntax for connecting to a database






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






14. container of both data and code






15. To sort values of an array in reversed order






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






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






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






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






20. signed floating-point value






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






22. Search Engine Optimization






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






24. Use ______ for search engines or catalogued pages or pages that would be bookmarked.






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






26. Define(NAME,value)






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






28. bitwise left shift






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






30. Variable names can begin with __________






31. The concatenation assignment operator?






32. a database which is best supported by PHP






33. PHP has two conditional: if and ______.






34. An array of variables passed in the URL






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






36. Function used to round down to the lowest integer






37. _____ is a logical operator






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






39. Operators used to operate and assign






40. The concatenation operator?






41. signed integer






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






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






44. Variable names cannot begin with _______






45. used to round numeric values.






46. $_POST and $_GET are ________ variables.






47. container of ordered data elements






48. standard notation






49. To assign array element values to individual variables






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