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 sort the values while maintaining the correlation between each value and its key






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






3. To iterate over the values of an array






4. Alias of rtrim()






5. Uses two arguments: constant name and constant definition






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






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






8. Use _______ for passwords or pages that would not be bookmarked or pages that require security.






9. Standard Generalized Markup Language






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






11. addition






12. a positive or negative number






13. Function used to round down to the lowest integer






14. Hyper Text Markup Language






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






16. used to round numeric values.






17. Tag to begin a php script






18. Document Type Definitions






19. Function can you use to format a number with commas






20. Define(NAME,value)






21. collection of binary data






22. Active Server Pages






23. EXtensible Markup Language






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






25. Function used to find the absolute value of a number or numeric variable






26. Variable names cannot begin with _______






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






28. standard notation






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






30. To create an array






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






32. Predefined constants such as __LINE__ or __FILE__ or __FUNCTION__ or __CLASS__ and __METHOD__






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






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






35. Used to find the length of a string






36. identity






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






38. To remove all HTML and PHP tags.






39. Returns a character from a specified ASCII value






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






41. This error arises from misusing a function.






42. Search Engine Optimization






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






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






45. To sort the values while maintaining the correlation between each value and its key - in reversed order






46. container of ordered data elements






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






48. To determine the amount of elements in an array






49. To close a connection between a database






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