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. Returns a character from a specified ASCII value






3. $_POST and $_GET are ________ variables.






4. leading zero: 0100 or 0567






5. To get time data






6. $_POST Data sent using POST found is sent to _______






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






8. A conditional or loop is a ________________.






9. This error arises from misusing a function.






10. Function used to round down to the lowest integer






11. The concatenation assignment operator?






12. Converts a string of ASCII characters to hexadecimal values






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






14. Variable names cannot begin with _______






15. _______ is a comparison operator






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






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






18. To check if a constant is already declared






19. _____ is a logical operator






20. bitwise AND






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






22. _________ can be used in conditional statements to set precedence






23. When used the value can be passed safely through the URL (GET).






24. To reorganise the array randomly






25. addition






26. Active Server Pages






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






28. container of ordered data elements






29. bitwise XOR






30. To refer to an element in a multidimensional array list the indices in order of _____ to more precise;






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






32. PHP has two conditional: if and ______.






33. Used to create a substring (referred to as a token) from a larger string






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






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






36. To set up error reporting






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






38. To get over quotation marks while using arrays






39. To determine the amount of elements in an array






40. The order of operations.






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






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






43. To merge arrays






44. $_SERVER is a ________ variable.






45. identity






46. To refer to an item in an array






47. allows you to split strings based on more complex rules






48. Leading 0x: 0x13F or 0xA23






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






50. To remove all HTML and PHP tags.