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. either hasn't yet been set or is assigned NULL value






3. To iterate over the keys and values of an array






4. To set up error reporting






5. Hyper Text Transfer Protocol






6. All variables must begin with _________.






7. Converts a string of ASCII characters to hexadecimal values






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






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






10. PHP has two conditional: if and ______.






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






12. To sort values of an array in reversed order






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






14. Standard Generalized Markup Language






15. container of ordered data elements






16. What You See Is What You Get






17. _______ is a comparison operator






18. _____ is a logical operator






19. An array whose keys are numbers.






20. The syntax for connecting to a database






21. Document Type Definitions






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






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






24. $_SERVER is a ________ variable.






25. any programing language where the script is parsed on the server






26. To get time data






27. function Function used to create a random number






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






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






30. To find how many substrings are in a string






31. Used to find the length of a string






32. Uses two arguments: constant name and constant definition






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






34. To iterate over the values of an array






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






36. bitwise AND






37. Use ________ to have multiple quotations in one string






38. $_POST and $_GET are ________ variables.






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






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






41. The concatenation assignment operator?






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






43. Used to display errors in a particular script - should be placed at top of script.

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


44. addition






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






46. Search Engine Optimization






47. To remove all HTML and PHP tags.






48. container of both data and code






49. bitwise XOR






50. To reorganise the array randomly