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. Used to find the length of a string






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






3. Uses two arguments: constant name and constant definition






4. identity






5. This will show all error reporting.






6. collection of binary data






7. signed integer






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






9. EXtensible Markup Language






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






11. Tag to end a php script






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






13. Define(NAME,value)






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






15. The seven main SQL (structured query language) functions are alter - create - delete - _______ - insert - select - update






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






17. To assign array element values to individual variables






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






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






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






21. Active Server Pages






22. The ouput of var_export((bool)"NULL");






23. bitwise AND






24. PHP has two conditional: if and ______.






25. All variables must begin with _________.






26. This error arises from misusing a function.






27. To check if a constant is already declared






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






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






30. container of both data and code






31. To find how many substrings are in a string






32. equivalence






33. Leading 0x: 0x13F or 0xA23






34. function Function used to create a random number






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






36. Document Type Definitions






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






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






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






40. Search Engine Optimization






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






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






43. _______ is a comparison operator






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






45. To append elements to an array - this will assign item to the next available index; associative arrays get messy.






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






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






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






49. Hyper Text Transfer Protocol






50. Used to create a substring (referred to as a token) from a larger string







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