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. Use ______ when a variable contains any amount of variables; in general.






2. This will show all error reporting.






3. Besides GET and POST ________ can be used to access data but $_POST and $_GET are more precise and therefore preferable.






4. Shorthand used to increment and decrement






5. An array whose keys are numbers.






6. To sort values of an array in reversed order






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






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






9. To declare a constant






10. Control structures that break exit






11. Converts a string of ASCII characters to hexadecimal values






12. Search Engine Optimization






13. function Function used to create a random number






14. bitwise right shift






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






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






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






18. The three types of loops in PHP are: for - while - ____.






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






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






21. signed integer






22. All variables must begin with _________.






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






24. bitwise left shift






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






26. To refer to an item in an array






27. searches the subject for matches to a given pattern replaced with the given replacement text






28. Use ______ for search engines or catalogued pages or pages that would be bookmarked.






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






30. Returns an array that corresponds to the fetched row of MySQL data and moves the internal data pointer ahead






31. Used to find the length of a string






32. Alias of rtrim()






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






34. To counter htmlentities()






35. bitwise AND






36. To assign keys to the values in an array






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






38. Standard Generalized Markup Language






39. _______ is a comparison operator






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






41. Operators used to operate and assign






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






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






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






45. To get over quotation marks while using arrays






46. $_POST and $_GET are ________ variables.






47. used to round numeric values.






48. TRUE or FALSE






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






50. Leading 0x: 0x13F or 0xA23







Sorry!:) No result found.

Can you answer 50 questions in 15 minutes?


Let me suggest you:



Major Subjects



Tests & Exams


AP
CLEP
DSST
GRE
SAT
GMAT

Most popular tests