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. any programing language where the script is parsed on the server






2. Used to convert all HTML tags into their entity versions.






3. To get time data






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






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






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






7. print $_SERVER will _____ work if you use the print function on arrays.






8. $_POST and $_GET are ________ variables.






9. Standard Generalized Markup Language






10. To merge arrays






11. To sort values of an array in reversed order






12. Operators used to operate and assign






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






14. signed floating-point value






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






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






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






18. bitwise AND






19. Search Engine Optimization






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






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






22. Variable names cannot begin with _______






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






24. To get over quotation marks while using arrays






25. Used to find the length of a string






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






27. A conditional or loop is a ________________.






28. Define(NAME,value)






29. To determine the amount of elements in an array






30. a positive or negative number






31. To assign keys to the values in an array






32. says 'if' this then do this 'else' do this or 'while' this do this






33. equivalence






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






35. a database which is best supported by PHP






36. Use ________ to have multiple quotations in one string






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






38. All variables must begin with _________.






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






40. This fatal fatal is caused by a semantic mistake: omission of a semicolon or imbalance of quotations or parentheses or braces.






41. EXtensible Markup Language






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






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






44. a type with two possible values: true and false






45. An array whose keys are numbers.






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






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






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






49. $_SERVER - $_POST - $_GET - $_COOKIE - $_SESSION - $_ENV; special arrays.






50. TRUE or FALSE