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 fatal fatal is caused by a semantic mistake: omission of a semicolon or imbalance of quotations or parentheses or braces.






3. _____ is a logical operator






4. Standard Generalized Markup Language






5. Used to create a substring (referred to as a token) from a larger string






6. signed integer






7. bitwise left shift






8. To set up error reporting






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






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






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






12. To sort values of an array in reversed order






13. Control structures that break exit






14. any programing language where the script is parsed on the server






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






16. function Function used to create a random number






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






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






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






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






21. Leading 0x: 0x13F or 0xA23






22. Used to find the length of a string






23. addition






24. What You See Is What You Get






25. bitwise AND






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






27. leading zero: 0100 or 0567






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






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






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






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






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






33. $_POST and $_GET are ________ variables.






34. Asynchronous Javascript And XML






35. To word wrap after a certain amount of characters.






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






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






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






39. container of ordered data elements






40. Use _______ for passwords or pages that would not be bookmarked or pages that require security.






41. Variable names can begin with __________






42. The concatenation assignment operator?






43. Tag to begin a php script






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. Use ________ to have multiple quotations in one string






46. An array whose keys are strings; also known as a hash.






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






48. To determine the amount of elements in an array






49. The three types of loops in PHP are: for - while - ____.






50. To get time data