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 delete a variable or an element of an array






2. EXtensible Markup Language






3. Returns a string with backslashes in front of predefined characters






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






5. To close a connection between a database






6. used to round numeric values.






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






8. Tag to begin a php script






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






10. To declare a constant






11. This error arises from misusing a function.






12. Used to find the length of a string






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






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






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






16. collection of binary data






17. leading zero: 0100 or 0567






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






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






20. Converts a string of ASCII characters to hexadecimal values






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


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






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






24. bitwise XOR






25. Used to check if a variable has any value (including 0 or FALSE or an empty string).






26. A conditional or loop is a ________________.






27. Asynchronous Javascript And XML






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






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






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






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






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






33. Used to create a substring (referred to as a token) from a larger string






34. does a certain action when called upon






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






36. Function used to round down to the lowest integer






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






38. To sort values of an array in reversed order






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






40. function Function used to create a random number






41. standard notation






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






43. Hyper Text Transfer Protocol






44. bitwise AND






45. An array whose keys are numbers.






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






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






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






49. TRUE or FALSE






50. Search Engine Optimization