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. Alias of rtrim()






2. container of both data and code






3. identity






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






5. TRUE or FALSE






6. Hyper Text Transfer Protocol






7. Standard Generalized Markup Language






8. To get time data






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






10. To assign keys to the values in an array






11. To sort values of an array in reversed order






12. Used to find the length of a string






13. To merge arrays






14. standard notation






15. Document Type Definitions






16. Hyper Text Markup Language






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






18. EXtensible Markup Language






19. signed floating-point value






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






21. used to round numeric values.






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






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






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






25. Control structures that break exit






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






27. function Function used to create a random number






28. Use ______ when a variable contains any amount of variables; in general.






29. Online applications and resources which are available to the general public with very few restrictions






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






31. a line of information that can be stored in a variable or used in a function or statement






32. bitwise right shift






33. bitwise AND






34. a database which is best supported by PHP






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






36. Leading 0x: 0x13F or 0xA23






37. any programing language where the script is parsed on the server






38. To set up error reporting






39. PHP has two conditional: if and ______.






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






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






42. Shorthand used to increment and decrement






43. To put a dollar sign before a variable like $10 where 10 is the variable's value - you can escape the first dollar sign; $$cost; or you can use __________.






44. To determine the amount of elements in an array






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






46. collection of binary data






47. bitwise XOR






48. Function used to round down to the lowest integer






49. _________ can be used in conditional statements to set precedence






50. To get over quotation marks while using arrays