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. The four main error types are:Notice - Warning - ________ and Error.






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






3. All variables must begin with _________.






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






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






6. Tag to end a php script






7. The concatenation assignment operator?






8. bitwise right shift






9. Used to check if a variable has any value (including 0 or FALSE or an empty string).






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






11. addition






12. TRUE or FALSE






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






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






15. bitwise AND






16. To determine the amount of elements in an array






17. leading zero: 0100 or 0567






18. To sort values of an array in reversed order






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






20. To find how many substrings are in a string






21. equivalence






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






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






24. Used to check if a variable has a valid numerical value; strings with numerical values pass.






25. Control structures that break exit






26. does a certain action when called upon






27. This will show all errors that fall under E_ALL or E_STRICT - the pipe | is used for 'or' so that errors that fall under either will be shown.






28. Hyper Text Markup Language






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






30. To assign keys to the values in an array






31. To iterate over the values of an array






32. $_SERVER is a ________ variable.






33. Active Server Pages






34. function Function used to create a random number






35. To declare a constant






36. Function used to round up to the highest integer






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






38. To remove all HTML and PHP tags.






39. To counter htmlentities()






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






41. Hyper Text Transfer Protocol






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






43. bitwise XOR






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






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






46. What You See Is What You Get






47. Hypertext Preprocessor - a server-side programing language used to create webpages






48. The syntax for connecting to a database






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






50. To check if a constant is already declared