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. _______ is a comparison operator






2. What You See Is What You Get






3. The concatenation operator?






4. $_SERVER is a ________ variable.






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






6. Use ________ to have multiple quotations in one string






7. function Function used to create a random number






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






9. Uses two arguments: constant name and constant definition






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






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






12. Tag to begin a php script






13. To assign keys to the values in an array






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






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






16. Variable names can begin with __________






17. A conditional or loop is a ________________.






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






19. The syntax for connecting to a database






20. Standard Generalized Markup Language






21. Asynchronous Javascript And XML






22. To include files - _______ will give errors and _________ will terminate execution().






23. To close a connection between a database






24. _____ is a logical operator






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






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






27. This error arises from misusing a function.






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






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






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






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






32. Operators used to operate and assign






33. The output of var_export((float)array());






34. a line of information that can be stored in a variable or used in a function or statement






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






36. Tag to end a php script






37. This will show all error reporting.






38. To remove all HTML and PHP tags.






39. Control structures that break exit






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






41. Document Type Definitions






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






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






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






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






46. To sort values of an array in reversed order






47. This fatal error arises from memory allocation problem.






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






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






50. The array that stores variables specific to a user's visit