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. The concatenation operator?






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






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






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






5. Hyper Text Markup Language






6. returns the number of matches found by a given search string under this format...






7. ___________ can be used with substr() to count backward






8. Shorthand used to increment and decrement






9. Define(NAME,value)






10. ____ or key is referred to for a value within an array.






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






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






13. To create an array






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






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






16. a database which is best supported by PHP






17. To refer to an item in an array






18. To assign keys to the values in an array






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






20. _____ is a logical operator






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






22. This will not show error reporting - it will be turned off.






23. To check if a constant is already declared






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






25. Predefined constants such as __LINE__ or __FILE__ or __FUNCTION__ or __CLASS__ and __METHOD__






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






27. $_SERVER - $_POST - $_GET - $_COOKIE - $_SESSION - $_ENV; special arrays.






28. Tag to begin a php script






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






30. Function used to find the absolute value of a number or numeric variable






31. Hypertext Preprocessor - a server-side programing language used to create webpages






32. function Function used to create a random number






33. leading zero: 0100 or 0567






34. All variables must begin with _________.






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






36. To get over quotation marks while using arrays






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






38. The concatenation assignment operator?






39. Function used to round down to the lowest integer






40. This error arises from misusing a function.






41. This fatal error arises from memory allocation problem.






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






43. An array whose keys are numbers.






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






45. bitwise AND






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






47. To iterate over the values of an array






48. $_POST and $_GET are ________ variables.






49. TRUE or FALSE






50. Tag to end a php script