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. bitwise right shift






2. To merge arrays






3. Operators used to operate and assign






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






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






6. standard notation






7. EXtensible Markup Language






8. _______ is a comparison operator






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






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






11. To check if a constant is already declared






12. To determine the amount of elements in an array






13. Hyper Text Markup Language






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






15. used to round numeric values.






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






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






18. To refer to an item in an array






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






20. a database which is best supported by PHP






21. says 'if' this then do this 'else' do this or 'while' this do this






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






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






24. bitwise AND






25. To find how many substrings are in a string






26. function Function used to create a random number






27. The name of the #! used to designate the location of the PHP binary






28. Use ________ to have multiple quotations in one string






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






30. This will show all error reporting.






31. The concatenation operator?






32. To get over quotation marks while using arrays






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






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






35. Tag to end a php script






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






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






38. Hyper Text Transfer Protocol






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






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






41. identity






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






43. equivalence






44. The concatenation assignment operator?






45. To close a connection between a database






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






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






48. collection of binary data






49. To get time data






50. Function used to round down to the lowest integer