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. To sort the values while maintaining the correlation between each value and its key - in reversed order






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






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






4. All variables must begin with _________.






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






6. used to round numeric values.






7. To reorganise the array randomly






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






9. To determine the amount of elements in an array






10. _____ is a logical operator






11. This error arises from misusing a function.






12. To delete a variable or an element of an array






13. Function used to round up to the highest integer






14. To counter htmlentities()






15. Use ________ to have multiple quotations in one string






16. This will show all error reporting.






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






18. collection of binary data






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






20. signed floating-point value






21. standard notation






22. Variable names can begin with __________






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






24. The order of operations.






25. To assign array element values to individual variables






26. To declare a constant






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






28. EXtensible Markup Language






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






30. $_SERVER is a ________ variable.






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






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






33. To check if a constant is already declared






34. Returns a character from a specified ASCII value






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






36. Used to encrypt values - it is a one-way encryption method






37. leading zero: 0100 or 0567






38. A data structure that can hold a number of items of data of the same type eg. a list of names






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






40. Alias of rtrim()






41. Standard Generalized Markup Language






42. container of both data and code






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






44. To merge arrays






45. Tag to begin a php script






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






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






48. _______ is a comparison operator






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






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