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. This error arises from misusing a function.






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






3. Variable names can begin with __________






4. function Function used to create a random number






5. equivalence






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






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






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






9. To declare a constant






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






11. Active Server Pages






12. The concatenation assignment operator?






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






14. TRUE or FALSE






15. 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


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






17. To word wrap after a certain amount of characters.






18. To find how many substrings are in a string






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






20. The concatenation operator?






21. Search Engine Optimization






22. Uses two arguments: constant name and constant definition






23. To counter htmlentities()






24. Shorthand used to increment and decrement






25. Standard Generalized Markup Language






26. container of both data and code






27. Used to check if a given variable has an "empty" value - no value or 0 or FALSE.






28. Document Type Definitions






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






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






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






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






33. any programing language where the script is parsed on the server






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






35. To determine the amount of elements in an array






36. This will show all error reporting.






37. Used to find the length of a string






38. To close a connection between a database






39. Asynchronous Javascript And XML






40. $_SERVER is a ________ variable.






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






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






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






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






45. Used to remove any white space - spaces or newlines or tabs - from the beginning and end of a string - not the middle.






46. To refer to an item in an array






47. Returns an array that corresponds to the fetched row of MySQL data and moves the internal data pointer ahead






48. What You See Is What You Get






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






50. To assign array element values to individual variables