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. Hyper Text Markup Language






2. leading zero: 0100 or 0567






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






4. does a certain action when called upon






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






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






7. bitwise AND






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






9. This error arises from misusing a function.






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






11. equivalence






12. The syntax for connecting to a database






13. To refer to an item in an array






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






15. Tag to end a php script






16. To assign keys to the values in an array






17. ___________ can be used with substr() to count backward






18. addition






19. searches the subject for matches to a given pattern replaced with the given replacement text






20. standard notation






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






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






23. This fatal error arises from memory allocation problem.






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






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






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






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






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






29. To assign array element values to individual variables






30. To counter htmlentities()






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






32. container of both data and code






33. bitwise left shift






34. Converts a string of ASCII characters to hexadecimal values






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






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






37. Use ________ to have multiple quotations in one string






38. To get over quotation marks while using arrays






39. TRUE or FALSE






40. signed integer






41. To remove all HTML and PHP tags.






42. Define(NAME,value)






43. When used the value can be passed safely through the URL (GET).






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






45. The concatenation assignment operator?






46. Asynchronous Javascript And XML






47. To merge arrays






48. To reorganise the array randomly






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






50. To create an array