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. An array of variables passed with <input /> data






2. signed integer






3. To find how many substrings are in a string






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






5. Function used to round down to the lowest integer






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






7. _______ is a comparison operator






8. Leading 0x: 0x13F or 0xA23






9. To remove all HTML and PHP tags.






10. Function used to round up to the highest integer






11. Converts a string of ASCII characters to hexadecimal values






12. To assign keys to the values in an array






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






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






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






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






17. function Function used to create a random number






18. An array of variables passed in the URL






19. The concatenation assignment operator?






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






21. Variable names can begin with __________






22. bitwise right shift






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






24. Document Type Definitions






25. Alias of rtrim()






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






27. To append elements to an array - this will assign item to the next available index; associative arrays get messy.






28. bitwise left shift






29. This error arises from misusing a function.






30. Uses two arguments: constant name and constant definition






31. Use ______ for search engines or catalogued pages or pages that would be bookmarked.






32. equivalence






33. Asynchronous Javascript And XML






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






35. does a certain action when called upon






36. To get over quotation marks while using arrays






37. leading zero: 0100 or 0567






38. To sort values of an array in reversed order






39. A conditional or loop is a ________________.






40. What You See Is What You Get






41. bitwise XOR






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






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






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






45. Used to find the length of a string






46. To set up error reporting






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






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






49. To check if a constant is already declared






50. PHP has two conditional: if and ______.