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. Used to convert all HTML tags into their entity versions.






2. This will show all error reporting except for notice errors.






3. equivalence






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






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






6. TRUE or FALSE






7. To close a connection between a database






8. To assign array element values to individual variables






9. The order of operations.






10. Used to find the length of a string






11. Function used to round down to the lowest integer






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


13. This will show all errors that fall under E_ALL or E_STRICT - the pipe | is used for 'or' so that errors that fall under either will be shown.






14. Search Engine Optimization






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






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






17. Standard Generalized Markup Language






18. The concatenation assignment operator?






19. To determine the amount of elements in an array






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






21. This will not show error reporting - it will be turned off.






22. any programing language where the user must support the language the script is written in






23. Use ______ when there are no variables in the string






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






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






26. This fatal error arises from memory allocation problem.






27. $_SERVER is a ________ variable.






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






29. To set up error reporting






30. To append elements to an array - this will assign item to the next available index; associative arrays get messy.






31. To reorganise the array randomly






32. Active Server Pages






33. signed floating-point value






34. Leading 0x: 0x13F or 0xA23






35. To create an array






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






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






38. Shorthand used to increment and decrement






39. A data structure that can hold a number of items of data of the same type eg. a list of names






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






41. The syntax for connecting to a database






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






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






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






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






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






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






48. used to round numeric values.






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






50. Alias of rtrim()