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 close a connection between a database






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






3. To assign keys to the values in an array






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






5. $_POST and $_GET are ________ variables.






6. To get time data






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






8. Function that contains the highest value that rand() can have randomly






9. signed integer






10. What You See Is What You Get






11. To remove all HTML and PHP tags.






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






13. bitwise left shift






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






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






16. A conditional or loop is a ________________.






17. container of both data and code






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






19. EXtensible Markup Language






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






21. _______ is a comparison operator






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






23. $_SERVER is a ________ variable.






24. Asynchronous Javascript And XML






25. To find how many substrings are in a string






26. An array of variables passed with <input /> data






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






28. signed floating-point value






29. Used to find the length of a string






30. leading zero: 0100 or 0567






31. addition






32. Uses two arguments: constant name and constant definition






33. Search Engine Optimization






34. identity






35. Document Type Definitions






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






37. Control structures that break exit






38. Used to remove any white space - spaces or newlines or tabs - from the beginning and end of a string - not the middle.






39. The syntax for connecting to a database






40. This fatal error arises from memory allocation problem.






41. equivalence






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






43. used to round numeric values.






44. bitwise XOR






45. To merge arrays






46. Use _______ for passwords or pages that would not be bookmarked or pages that require security.






47. To check if a constant is already declared






48. Tag to begin a php script






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






50. Variable names cannot begin with _______