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. $_POST and $_GET are ________ variables.






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






3. To find how many substrings are in a string






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






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






6. Asynchronous Javascript And XML






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






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






9. A conditional or loop is a ________________.






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






11. The concatenation operator?






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






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






14. The syntax for connecting to a database






15. To iterate over the values of an array






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






17. Use ________ to have multiple quotations in one string






18. Function used to round down to the lowest integer






19. Search Engine Optimization






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






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






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






23. identity






24. To sort the values while maintaining the correlation between each value and its key






25. This error arises from misusing a function.






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






27. Alias of rtrim()






28. ____ or key is referred to for a value within an array.






29. To remove all HTML and PHP tags.






30. container of both data and code






31. The concatenation assignment operator?






32. signed floating-point value






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






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






35. does a certain action when called upon






36. This will not show error reporting - it will be turned off.






37. To determine the amount of elements in an array






38. Used to encrypt values - it is a one-way encryption method






39. A data structure that can hold a number of items of data of the same type eg. a list of names






40. Active Server Pages






41. PHP has two conditional: if and ______.






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






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. This will show all error reporting.






45. Used to remove any white space - spaces or newlines or tabs - from the beginning and end of a string - not the middle.






46. To close a connection between a database






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






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






49. This fatal error arises from memory allocation problem.






50. Shorthand used to increment and decrement







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