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. To close a connection between a database






2. _____ is a logical operator






3. To get over quotation marks while using arrays






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






5. To reorganise the array randomly






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






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






8. An array of variables passed in the URL






9. All variables must begin with _________.






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






11. To iterate over the values of an array






12. Search Engine Optimization






13. signed floating-point value






14. To reset an array _______ the array() function to the array






15. This error arises from misusing a function.






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






17. bitwise AND






18. the most basic function in PHP used to output information to the page






19. Tag to begin a php script






20. To iterate over the keys and values of an array






21. This will show all error reporting.






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






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






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






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






26. To sort values of an array in reversed order






27. Standard Generalized Markup Language






28. Active Server Pages






29. $_POST and $_GET are ________ variables.






30. Returns a character from a specified ASCII value






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






32. a positive or negative number






33. signed integer






34. bitwise left shift






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






36. $_SERVER is a ________ variable.






37. To check if a constant is already declared






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






39. Variable names can begin with __________






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






41. PHP has two conditional: if and ______.






42. TRUE or FALSE






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






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






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






46. a database which is best supported by PHP






47. does a certain action when called upon






48. Control structures that break exit






49. bitwise right shift






50. standard notation







Sorry!:) No result found.

Can you answer 50 questions in 15 minutes?


Let me suggest you:



Major Subjects



Tests & Exams


AP
CLEP
DSST
GRE
SAT
GMAT

Most popular tests