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. When used the value can be passed safely through the URL (GET).






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






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






4. The concatenation operator?






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






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






7. This error arises from misusing a function.






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






9. An array of variables passed in the URL






10. To sort values of an array in reversed order






11. To find how many substrings are in a string






12. Define(NAME,value)






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






14. Function used to round up to the highest integer






15. either hasn't yet been set or is assigned NULL value






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






17. bitwise AND






18. Predefined constants such as __LINE__ or __FILE__ or __FUNCTION__ or __CLASS__ and __METHOD__






19. All variables must begin with _________.






20. Active Server Pages






21. bitwise right shift






22. Shorthand used to increment and decrement






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






24. To check if a constant is already declared






25. identity






26. To iterate over the values of an array






27. To set up error reporting






28. This will show all error reporting.






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






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






31. Alias of rtrim()






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






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






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






35. Hyper Text Markup Language






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






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






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






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






40. To remove all HTML and PHP tags.






41. Document Type Definitions






42. bitwise left shift






43. The concatenation assignment operator?






44. The array that stores variables specific to a user's visit






45. Variable names can begin with __________






46. addition






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






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






49. _____ is a logical operator






50. A conditional or loop is a ________________.