Test your basic knowledge |

Php Mysql Basics

Subject : it-skills
Instructions:
  • Answer 40 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. Moves the record pointer






2. Returns the type of a field in a recordset






3. Returns MySQL host info






4. Sets the active MySQL database






5. Escapes a string for use in SQL statements






6. Returns a row from a recordset as a numeric array






7. Returns the name of the table the specified field is in






8. Pings a server connection or reconnects if there is no connection






9. Opens a persistent MySQL connection






10. Returns the flags associated with a field in a recordset






11. Lists MySQL processes






12. Returns the name of a field in a recordset






13. Returns the number of fields in a recordset






14. Returns the number of affected rows in the previous MySQL operation






15. Returns MySQL server info






16. Returns column info from a recordset as an object






17. Executes a query on a MySQL database






18. Returns the length of the contents of each field in a result row






19. Returns the error number of the last MySQL operation






20. Returns the error description of the last MySQL operation






21. Returns a row from a recordset as an associative array






22. Returns the current thread ID






23. Returns a database name from a call to mysql_list_dbs()






24. Executes a query on a MySQL database (without fetching / buffering the result)






25. Returns MySQL protocol info






26. Opens a non-persistent MySQL connection






27. Returns the maximum length of a field in a recordset






28. Returns the current system status of the MySQL server






29. Moves the result pointer to a specified field






30. Returns the number of rows in a recordset






31. Free result memory






32. Lists available databases on a MySQL server






33. Returns the AUTO_INCREMENT ID generated from the previous INSERT operation






34. Returns the value of a field in a recordset






35. Returns a row from a recordset as an object






36. Closes a non-persistent MySQL connection






37. Returns information about the last query






38. Returns a row from a recordset as an associative array and/or a numeric array






39. Returns the name of the character set for the current connection






40. Returns MySQL client info