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. Returns the AUTO_INCREMENT ID generated from the previous INSERT operation






2. Moves the result pointer to a specified field






3. Lists available databases on a MySQL server






4. Returns the current system status of the MySQL server






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






6. Returns MySQL protocol info






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






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






9. Returns a row from a recordset as an object






10. Lists MySQL processes






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






12. Returns MySQL host info






13. Returns the name of a field in a recordset






14. Returns column info from a recordset as an object






15. Returns the error number of the last MySQL operation






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






17. Returns MySQL client info






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






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






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






21. Returns the error description of the last MySQL operation






22. Returns the number of rows in a recordset






23. Returns the current thread ID






24. Opens a non-persistent MySQL connection






25. Free result memory






26. Escapes a string for use in SQL statements






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






28. Moves the record pointer






29. Executes a query on a MySQL database






30. Opens a persistent MySQL connection






31. Returns information about the last query






32. Returns the type of a field in a recordset






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






34. Returns MySQL server info






35. Returns the number of fields in a recordset






36. Returns the value of a field in a recordset






37. Closes a non-persistent MySQL connection






38. Sets the active MySQL database






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






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