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. Use ______ when there are no variables in the string






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






3. Active Server Pages






4. Returns a character from a specified ASCII value






5. leading zero: 0100 or 0567






6. function Function used to create a random number






7. bitwise XOR






8. To find how many substrings are in a string






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






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






11. container of ordered data elements






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






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






14. The syntax for connecting to a database






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






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






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






18. To sort the values while maintaining the correlation between each value and its key - in reversed order






19. To remove all HTML and PHP tags.






20. Asynchronous Javascript And XML






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






22. The concatenation assignment operator?






23. Function used to round down to the lowest integer






24. TRUE or FALSE






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






26. signed floating-point value






27. Variable names cannot begin with _______






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






29. Tag to end a php script






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






31. To determine the amount of elements in an array






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






33. Operators used to operate and assign






34. To assign keys to the values in an array






35. To set up error reporting






36. equivalence






37. bitwise left shift






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






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






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






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

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


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






43. An array whose keys are strings; also known as a hash.






44. _____ is a logical operator






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






46. Used to find the length of a string






47. A conditional or loop is a ________________.






48. Shorthand used to increment and decrement






49. PHP has two conditional: if and ______.






50. _______ is a comparison operator