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. Function used to round up to the highest integer






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






3. $_SERVER is a ________ variable.






4. Document Type Definitions






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






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






7. Tag to begin a php script






8. Search Engine Optimization






9. To determine the amount of elements in an array






10. This error arises from misusing a function.






11. Leading 0x: 0x13F or 0xA23






12. To declare a constant






13. To close a connection between a database






14. Alias of rtrim()






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






16. Converts a string of ASCII characters to hexadecimal values






17. bitwise left shift






18. To get time data






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






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






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






22. TRUE or FALSE






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






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






25. Returns a character from a specified ASCII value






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






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






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






29. Used to find the length of a string






30. To sort the values while maintaining the correlation between each value and its key






31. Variable names can begin with __________






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






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






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






35. Active Server Pages






36. To counter htmlentities()






37. Used to encrypt values - it is a one-way encryption method






38. addition






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






40. _________ can be used in conditional statements to set precedence






41. This will not show error reporting - it will be turned off.






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






43. To assign array element values to individual variables






44. Define(NAME,value)






45. 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


46. container of both data and code






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






48. To check if a constant is already declared






49. Standard Generalized Markup Language






50. used to round numeric values.