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 counter htmlentities()






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






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






4. This fatal error arises from memory allocation problem.






5. To get time data






6. Variable names cannot begin with _______






7. a database which is best supported by PHP






8. collection of binary data






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






10. bitwise right shift






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






12. The concatenation assignment operator?






13. All variables must begin with _________.






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






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






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






17. Shorthand used to increment and decrement






18. To refer to an item in an array






19. Define(NAME,value)






20. Search Engine Optimization






21. To find how many substrings are in a string






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






23. Alias of rtrim()






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






25. EXtensible Markup Language






26. Used to find the length of a string






27. Used to create a substring (referred to as a token) from a larger string






28. identity






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






30. bitwise left shift






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






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






33. To merge arrays






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






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






36. When used the value can be passed safely through the URL (GET).






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






38. To create an array






39. addition






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






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






42. Function used to find the absolute value of a number or numeric variable






43. _____ is a logical operator






44. signed integer






45. This will show all error reporting except for notice errors.






46. standard notation






47. Use ________ to have multiple quotations in one string






48. $_POST and $_GET are ________ variables.






49. The seven main error reporting constants are: E_NOTICE - E_WARNING - E_PARSE - E_ERROR - E_ALL - _____ - E_DEPRECATED






50. Asynchronous Javascript And XML