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 remove all HTML and PHP tags.






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






3. What You See Is What You Get






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






5. Returns a character from a specified ASCII value






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






7. To create an array






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






9. Uses two arguments: constant name and constant definition






10. To set up error reporting






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






12. signed floating-point value






13. $_POST and $_GET are ________ variables.






14. Alias of rtrim()






15. bitwise left shift






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






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






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






19. Converts a string of ASCII characters to hexadecimal values






20. Define(NAME,value)






21. The syntax for connecting to a database






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






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






24. To iterate over the values of an array






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






26. To sort values of an array in reversed order






27. An array whose keys are numbers.






28. Document Type Definitions






29. EXtensible Markup Language






30. Function used to round down to the lowest integer






31. addition






32. Search Engine Optimization






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






34. The concatenation assignment operator?






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






36. To reorganise the array randomly






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






38. To assign keys to the values in an array






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






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






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






42. Function that contains the highest value that rand() can have randomly






43. To determine the amount of elements in an array






44. Function used to round up to the highest integer






45. container of ordered data elements






46. Standard Generalized Markup Language






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






48. standard notation






49. The concatenation operator?






50. bitwise AND