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. When used the value can be passed safely through the URL (GET).






2. All variables must begin with _________.






3. Control structures that break exit






4. Standard Generalized Markup Language






5. Use ________ to have multiple quotations in one string






6. Use ______ for search engines or catalogued pages or pages that would be bookmarked.






7. Variable names can begin with __________






8. Variable names cannot begin with _______






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






10. This error arises from misusing a function.






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






12. To remove all HTML and PHP tags.






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






14. bitwise left shift






15. addition






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






17. EXtensible Markup Language






18. Active Server Pages






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






20. leading zero: 0100 or 0567






21. This fatal error arises from memory allocation problem.






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






23. $_SERVER is a ________ variable.






24. does a certain action when called upon






25. Function used to round up to the highest integer






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






27. To refer to an item in an array






28. To declare a constant






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






30. An array whose keys are numbers.






31. identity






32. An array of variables passed in the URL






33. allows you to split strings based on more complex rules






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






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






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






37. The order of operations.






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






39. container of ordered data elements






40. Used to find the amount of words in a string.






41. TRUE or FALSE






42. The ouput of var_export((bool)"NULL");






43. equivalence






44. To check if a constant is already declared






45. _____ is a logical operator






46. Hyper Text Transfer Protocol






47. a database which is best supported by PHP






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






49. signed integer






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