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 used to round down to the lowest integer






2. Variable names cannot begin with _______






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






4. Hyper Text Transfer Protocol






5. bitwise left shift






6. _____ is a logical operator






7. To reset an array _______ the array() function to the array






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






9. Alias of rtrim()






10. Active Server Pages






11. To get over quotation marks while using arrays






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






13. Control structure that continue exit - they perform specific statements for a determined number of iterations.






14. To assign keys to the values in an array






15. Used to find the length of a string






16. container of ordered data elements






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






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






19. a type with two possible values: true and false






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






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






22. This error arises from misusing a function.






23. Variable names can begin with __________






24. This will show all error reporting.






25. To find how many substrings are in a string






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






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






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






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






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






31. What You See Is What You Get






32. To refer to an item in an array






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






34. Converts a string of ASCII characters to hexadecimal values






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






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






37. The syntax for connecting to a database






38. Leading 0x: 0x13F or 0xA23






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






40. addition






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






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






43. To set up error reporting






44. Document Type Definitions






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






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






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






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






49. To declare a constant






50. The concatenation operator?