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. This error refers to a variable with no value.






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






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






4. $_POST and $_GET are ________ variables.






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






6. identity






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






8. Asynchronous Javascript And XML






9. This will show all error reporting.






10. bitwise XOR






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






12. equivalence






13. A conditional or loop is a ________________.






14. function Function used to create a random number






15. bitwise right shift






16. $_SERVER is a ________ variable.






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






18. Variable names cannot begin with _______






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






20. ____ or key is referred to for a value within an array.






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






22. Function used to round down to the lowest integer






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






24. TRUE or FALSE






25. To declare a constant






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






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






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






29. Active Server Pages






30. does a certain action when called upon






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






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


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






34. EXtensible Markup Language






35. PHP has two conditional: if and ______.






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






37. To close a connection between a database






38. To counter htmlentities()






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






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






41. To remove all HTML and PHP tags.






42. The syntax for connecting to a database






43. To sort values of an array in reversed order






44. To check if a constant is already declared






45. Function used to round up to the highest integer






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






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






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






49. Used to convert all HTML tags into their entity versions.






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