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. Operators used to operate and assign






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






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






4. Used to convert certain HTML tags into their entity versions.






5. _____ is a logical operator






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






7. Use ________ to have multiple quotations in one string






8. EXtensible Markup Language






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






10. A conditional or loop is a ________________.






11. Used to display errors in a particular script - should be placed at top of script.

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


12. To remove all HTML and PHP tags.






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






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






15. To declare a constant






16. Standard Generalized Markup Language






17. Search Engine Optimization






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






19. equivalence






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






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






22. ___________ can be used with substr() to count backward






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






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






25. container of ordered data elements






26. To check if a constant is already declared






27. Active Server Pages






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






29. container of both data and code






30. a language in which to make querys to a database with






31. used to round numeric values.






32. To find how many substrings are in a string






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






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






35. Hyper Text Transfer Protocol






36. To close a connection between a database






37. The order of operations.






38. To reorganise the array randomly






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






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






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






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






43. To assign keys to the values in an array






44. What You See Is What You Get






45. signed integer






46. Used to replace a substring with another string - it is not case-sensitive.






47. bitwise AND






48. Alias of rtrim()






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






50. To set up error reporting