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. Returns a string with backslashes in front of the specified characters






2. function Function used to create a random number






3. addition






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






5. To check if a constant is already declared






6. The output of var_export((float)array(0));






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






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






9. An array of variables passed with <input /> data






10. What You See Is What You Get






11. A conditional or loop is a ________________.






12. Leading 0x: 0x13F or 0xA23






13. This fatal error arises from memory allocation problem.






14. Shorthand used to increment and decrement






15. Define(NAME,value)






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






17. This error arises from misusing a function.






18. To counter htmlentities()






19. Standard Generalized Markup Language






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






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






22. a language in which to make querys to a database with






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






24. Converts a string of ASCII characters to hexadecimal values






25. Control structures that break exit






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






27. container of ordered data elements






28. Function used to round up to the highest integer






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






30. This will show all errors that fall under E_ALL or E_STRICT - the pipe | is used for 'or' so that errors that fall under either will be shown.






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






32. To sort values of an array in reversed order






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






34. To refer to an item in an array






35. The name of the #! used to designate the location of the PHP binary






36. To get over quotation marks while using arrays






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






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






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






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






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






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






43. returns the number of matches found by a given search string under this format...






44. Uses two arguments: constant name and constant definition






45. _____ is a logical operator






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






47. To reorganise the array randomly






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






49. To sort by the keys while maintaining the correlation between the key and its value






50. bitwise left shift







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