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. container of ordered data elements






2. To get time data






3. To get over quotation marks while using arrays






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






5. bitwise AND






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






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






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






9. TRUE or FALSE






10. All variables must begin with _________.






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






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






13. $_SERVER is a ________ variable.






14. bitwise right shift






15. Asynchronous Javascript And XML






16. What You See Is What You Get






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






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






19. A conditional or loop is a ________________.






20. An array of variables passed in the URL






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






22. leading zero: 0100 or 0567






23. equivalence






24. This fatal error arises from memory allocation problem.






25. To remove all HTML and PHP tags.






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






27. The syntax for connecting to a database






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


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






30. Operators used to operate and assign






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






32. signed floating-point value






33. Variable names can begin with __________






34. Function used to round down to the lowest integer






35. either hasn't yet been set or is assigned NULL value






36. Control structures that break exit






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






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






39. Standard Generalized Markup Language






40. Hyper Text Transfer Protocol






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






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






43. The prefix for a dynamic variable - also known as a variable variable






44. 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 __________.






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






46. PHP has two conditional: if and ______.






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






48. collection of binary data






49. Define(NAME,value)






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