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. ____ or key is referred to for a value within an array.






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






3. a positive or negative number






4. used to round numeric values.






5. $_SERVER is a ________ variable.






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






7. This fatal error arises from memory allocation problem.






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






9. This error arises from misusing a function.






10. _____ is a logical operator






11. To sort values of an array without regard to the keys






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






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






14. Control structure that continue exit - they perform specific statements for a determined number of iterations.






15. Asynchronous Javascript And XML






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






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






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






19. Function used to round down to the lowest integer






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






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






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






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






24. Used to find the length of a string






25. To remove all HTML and PHP tags.






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






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






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






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






30. The output of var_export((float)array());






31. Uses two arguments: constant name and constant definition






32. Tag to begin a php script






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






34. The concatenation operator?






35. Variable names can begin with __________






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






37. Use ______ when there are no variables in the string






38. The four main error types are:Notice - Warning - ________ and Error.






39. The order of operations.






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






41. Function used to round up to the highest integer






42. Document Type Definitions






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






44. To check if a constant is already declared






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






46. Active Server Pages






47. _______ is a comparison operator






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






49. TRUE or FALSE






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