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 remove all HTML and PHP tags.






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






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






4. An array of variables passed in the URL






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






6. To reorganise the array randomly






7. A conditional or loop is a ________________.






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






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






10. Leading 0x: 0x13F or 0xA23






11. container of both data and code






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






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






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






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






16. The seven main error reporting constants are: E_NOTICE - E_WARNING - E_PARSE - E_ERROR - E_ALL - _____ - E_DEPRECATED






17. Hyper Text Markup Language






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






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






20. Search Engine Optimization






21. Alias of rtrim()






22. To find how many substrings are in a string






23. To sort the values while maintaining the correlation between each value and its key - in reversed order






24. $_SERVER is a ________ variable.






25. To set up error reporting






26. To get time data






27. Shorthand used to increment and decrement






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






29. Tag to begin a php script






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






31. To sort values of an array in reversed order






32. Function used to round down to the lowest integer






33. The seven main SQL (structured query language) functions are alter - create - delete - _______ - insert - select - update






34. Used to find the length of a string






35. Used to replace a substring with another string - it is not case-sensitive.






36. Returns a character from a specified ASCII value






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






38. signed floating-point value






39. the most basic function in PHP used to output information to the page






40. The syntax for connecting to a database






41. Uses two arguments: constant name and constant definition






42. Hyper Text Transfer Protocol






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






44. standard notation






45. Use ______ when a variable contains any amount of variables; in general.






46. a positive or negative number






47. An array whose keys are numbers.






48. To create an array






49. To put a dollar sign before a variable like $10 where 10 is the variable's value - you can escape the first dollar sign; $$cost; or you can use __________.






50. _______ is a comparison operator