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. An array of variables passed with <input /> data






2. This will show all error reporting.






3. Hyper Text Markup Language






4. Used to find the length of a string






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






6. a storage location in the computer's memory that has a type & a name and a contents






7. To assign keys to the values in an array






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






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






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






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






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






13. Hyper Text Transfer Protocol






14. used to round numeric values.






15. A conditional or loop is a ________________.






16. Function used to find the absolute value of a number or numeric variable






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






18. Converts a string of ASCII characters to hexadecimal values






19. print $_SERVER will _____ work if you use the print function on arrays.






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






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






22. All variables must begin with _________.






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






24. Alias of rtrim()






25. Variable names can begin with __________






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






27. a database which is best supported by PHP






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






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






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






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






32. To iterate over the values of an array






33. Search Engine Optimization






34. To put a dollar sign before a variable like $10 where 10 is the variable's value - you can escape the first dollar sign; $$cost; or you can use __________.






35. To determine the amount of elements in an array






36. Tag to begin a php script






37. Uses two arguments: constant name and constant definition






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






39. To get over quotation marks while using arrays






40. $_POST and $_GET are ________ variables.






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






42. addition






43. bitwise AND






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






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






46. To set up error reporting






47. This error arises from misusing a function.






48. To merge arrays






49. collection of binary data






50. TRUE or FALSE