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 sort values of an array without regard to the keys






2. To remove all HTML and PHP tags.






3. Predefined constants such as __LINE__ or __FILE__ or __FUNCTION__ or __CLASS__ and __METHOD__






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






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






6. Function can you use to format a number with commas






7. The syntax for connecting to a database






8. leading zero: 0100 or 0567






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






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






11. a database which is best supported by PHP






12. signed integer






13. To get time data






14. Search Engine Optimization






15. Operators used to operate and assign






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






17. equivalence






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






19. Returns a string with backslashes in front of the specified characters






20. collection of binary data






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






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






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






24. This will show all error reporting.






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






26. Hyper Text Transfer Protocol






27. used to round numeric values.






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






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






30. does a certain action when called upon






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






32. addition






33. _______ is a comparison operator






34. This will show all errors that fall under E_ALL or E_STRICT - the pipe | is used for 'or' so that errors that fall under either will be shown.






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






36. bitwise XOR






37. Use ________ to have multiple quotations in one string






38. signed floating-point value






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






40. To find how many substrings are in a string






41. To declare a constant






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






43. Tag to end a php script






44. EXtensible Markup Language






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






46. $_POST and $_GET are ________ variables.






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






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






49. Define(NAME,value)






50. Standard Generalized Markup Language