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. Converts a string of ASCII characters to hexadecimal values






2. signed floating-point value






3. To sort by the keys while maintaining the correlation between the key and its value






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






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






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






7. leading zero: 0100 or 0567






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






9. A conditional or loop is a ________________.






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






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






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






13. function Function used to create a random number






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






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






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






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






18. An array of variables passed in the URL






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






20. identity






21. Function used to round up to the highest integer






22. bitwise right shift






23. bitwise AND






24. collection of binary data






25. $_SERVER is a ________ variable.






26. Define(NAME,value)






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






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






29. Leading 0x: 0x13F or 0xA23






30. To assign keys to the values in an array






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






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






33. Tag to end a php script






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






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






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






37. Asynchronous Javascript And XML






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






39. To check if a constant is already declared






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






41. Returns a character from a specified ASCII value






42. Use ________ to have multiple quotations in one string






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






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






45. signed integer






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






47. To append elements to an array - this will assign item to the next available index; associative arrays get messy.






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






49. EXtensible Markup Language






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