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. ____ or key is referred to for a value within an array.






2. Use ______ when there are no variables in the string






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






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






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






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






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






8. The concatenation assignment operator?






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






10. Variable names cannot begin with _______






11. 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.






12. To assign keys to the values in an array






13. Active Server Pages






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






15. Search Engine Optimization






16. _______ is a comparison operator






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






18. To counter htmlentities()






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






20. TRUE or FALSE






21. An array of variables passed in the URL






22. Function used to round up to the highest integer






23. any programing language where the user must support the language the script is written in






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






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






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






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






28. Control structures that break exit






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






30. All variables must begin with _________.






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






32. a positive or negative number






33. To iterate over the values of an array






34. Variable names can begin with __________






35. bitwise AND






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






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






38. The four main error types are:Notice - Warning - ________ and Error.






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






40. container of both data and code






41. To check if a constant is already declared






42. equivalence






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






44. This fatal fatal is caused by a semantic mistake: omission of a semicolon or imbalance of quotations or parentheses or braces.






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






46. Leading 0x: 0x13F or 0xA23






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






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






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






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