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. Function that contains the highest value that rand() can have randomly






2. Use ________ to have multiple quotations in one string






3. TRUE or FALSE






4. Shorthand used to increment and decrement






5. Alias of rtrim()






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






7. Variable names can begin with __________






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






9. a language in which to make querys to a database with






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






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






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






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






14. bitwise right shift






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






16. Used to check if a variable has any value (including 0 or FALSE or an empty string).






17. Similar to mysql_fetch_array() - but cannot be accessed by integer offset






18. $_POST and $_GET are ________ variables.






19. To get time data






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






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






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






23. signed floating-point value






24. An array whose keys are numbers.






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






26. a positive or negative number






27. The syntax for connecting to a database






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






29. PHP has two conditional: if and ______.






30. To determine the amount of elements in an array






31. Active Server Pages






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






33. To set up error reporting






34. standard notation






35. Control structures that break exit






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






37. To iterate over the values of an array






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






39. To merge arrays






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






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






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






43. leading zero: 0100 or 0567






44. To assign array element values to individual variables






45. Function used to round up to the highest integer






46. To declare a constant






47. bitwise left shift






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






49. _______ is a comparison operator






50. Hyper Text Markup Language