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. To iterate over the values of an array






2. standard notation






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






4. bitwise left shift






5. does a certain action when called upon






6. To set up error reporting






7. Standard Generalized Markup Language






8. collection of binary data






9. An array whose keys are strings; also known as a hash.






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






11. 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 __________.






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






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






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






15. signed floating-point value






16. Active Server Pages






17. To create an array






18. Used to check if a variable has a valid numerical value; strings with numerical values pass.






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






20. allows you to split strings based on more complex rules






21. signed integer






22. Tag to end a php script






23. _______ is a comparison operator






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






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






26. This error arises from misusing a function.






27. To find how many substrings are in a string






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






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






30. Uses two arguments: constant name and constant definition






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






32. To assign keys to the values in an array






33. To reorganise the array randomly






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






35. Function used to convert new lines in a variable from a form to <br /> tags so that the data can be formatted correctly.






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






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






38. bitwise XOR






39. The order of operations.






40. Use ________ to have multiple quotations in one string






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






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






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






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






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






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






47. To assign array element values to individual variables






48. This error refers to a variable with no value.






49. To remove all HTML and PHP tags.






50. identity







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