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. Operators used to operate and assign






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






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






5. container of ordered data elements






6. signed integer






7. What You See Is What You Get






8. To declare a constant






9. identity






10. bitwise right shift






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






12. An array whose keys are strings; also known as a hash.






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






14. Converts a string of ASCII characters to hexadecimal values






15. The order of operations.






16. To refer to an item in an array






17. Control structures that break exit






18. To find how many substrings are in a string






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






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






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






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






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






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






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






26. Standard Generalized Markup Language






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






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






29. bitwise left shift






30. $_POST and $_GET are ________ variables.






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






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






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






34. The concatenation operator?






35. To set up error reporting






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






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






38. The output of var_export((float)array());






39. standard notation






40. All variables must begin with _________.






41. Tag to begin a php script






42. Leading 0x: 0x13F or 0xA23






43. Use ________ to have multiple quotations in one string






44. _______ is a comparison operator






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






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






47. collection of binary data






48. Shorthand used to increment and decrement






49. function Function used to create a random number






50. bitwise AND