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. To assign array element values to individual variables






3. container of ordered data elements






4. Tag to begin a php script






5. Used to remove any white space - spaces or newlines or tabs - from the beginning and end of a string - not the middle.






6. Creates a pointer to a file with the declared mode (read - write -etc.).






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






8. To iterate over the values of an array






9. does a certain action when called upon






10. PHP has two conditional: if and ______.






11. a storage location in the computer's memory that has a type & a name and a contents






12. Variable names can begin with __________






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






14. Standard Generalized Markup Language






15. bitwise right shift






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






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






18. function Function used to create a random number






19. Converts a string of ASCII characters to hexadecimal values






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






21. Used to display errors in a particular script - should be placed at top of script.

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


22. Returns an array that corresponds to the fetched row of MySQL data and moves the internal data pointer ahead






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






24. any programing language where the user must support the language the script is written in






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






26. This error arises from misusing a function.






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






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






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






30. container of both data and code






31. This fatal error arises from memory allocation problem.






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






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






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






35. equivalence






36. To put a dollar sign before a variable like $10 where 10 is the variable's value - you can escape the first dollar sign; $$cost; or you can use __________.






37. This will not show error reporting - it will be turned off.






38. The order of operations.






39. An array whose keys are numbers.






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






41. signed floating-point value






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






43. This will show all error reporting.






44. To set up error reporting






45. An array of variables passed in the URL






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






47. To find how many substrings are in a string






48. standard notation






49. This fatal fatal is caused by a semantic mistake: omission of a semicolon or imbalance of quotations or parentheses or braces.






50. What You See Is What You Get