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. a storage location in the computer's memory that has a type & a name and a contents






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






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






4. Used to check if a given variable has an "empty" value - no value or 0 or FALSE.






5. Alias of rtrim()






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






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






8. Use ________ to have multiple quotations in one string






9. equivalence






10. Function used to round up to the highest integer






11. _______ is a comparison operator






12. This fatal error arises from memory allocation problem.






13. Operators used to operate and assign






14. identity






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






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






17. The syntax for connecting to a database






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






19. This will show all error reporting.






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






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






22. To include files - _______ will give errors and _________ will terminate execution().






23. To check if a constant is already declared






24. Variable names cannot begin with _______






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






26. says 'if' this then do this 'else' do this or 'while' this do this






27. What You See Is What You Get






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






29. container of both data and code






30. This error arises from misusing a function.






31. To iterate over the values of an array






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






33. Define(NAME,value)






34. Uses two arguments: constant name and constant definition






35. To find how many substrings are in a string






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






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






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






39. Used to find the length of a string






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






41. To reorganise the array randomly






42. does a certain action when called upon






43. Asynchronous Javascript And XML






44. To sort values of an array in reversed order






45. $_SERVER - $_POST - $_GET - $_COOKIE - $_SESSION - $_ENV; special arrays.






46. Leading 0x: 0x13F or 0xA23






47. An array of variables passed in the URL






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






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






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