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. To refer to an element in a multidimensional array list the indices in order of _____ to more precise;






2. Function that contains the highest value that rand() can have randomly






3. Asynchronous Javascript And XML






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






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






6. This error arises from misusing a function.






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






8. bitwise right shift






9. Use ________ to have multiple quotations in one string






10. All variables must begin with _________.






11. signed floating-point value






12. does a certain action when called upon






13. To set up error reporting






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






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






16. An array whose keys are numbers.






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






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


19. To counter htmlentities()






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






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






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






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






24. A conditional or loop is a ________________.






25. collection of binary data






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






27. To check if a constant is already declared






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






29. To reorganise the array randomly






30. To create an array






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






32. To remove all HTML and PHP tags.






33. An array of variables passed in the URL






34. The output of var_export((float)array(0));






35. Returns a character from a specified ASCII value






36. To iterate over the values of an array






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






38. Search Engine Optimization






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






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






41. container of both data and code






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






43. Returns an array that corresponds to the fetched row of MySQL data and moves the internal data pointer ahead






44. Function used to convert new lines in a variable from a form to <br /> tags so that the data can be formatted correctly.






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






46. $_POST and $_GET are ________ variables.






47. Variable names cannot begin with _______






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






49. To assign keys to the values in an array






50. To get over quotation marks while using arrays