SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
Search
Test your basic knowledge |
Php Mysql Basics
Start Test
Study First
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 name of the table the specified field is in
mysql_get_server_info()
mysql_stat()
mysql_fetch_row()
mysql_field_table()
2. Pings a server connection or reconnects if there is no connection
mysql_field_table()
mysql_query()
mysql_result()
mysql_ping()
3. Returns a row from a recordset as a numeric array
mysql_free_result()
mysql_get_proto_info()
mysql_fetch_row()
mysql_select_db()
4. Executes a query on a MySQL database (without fetching / buffering the result)
mysql_list_processes()
mysql_unbuffered_query()
mysql_fetch_field()
mysql_stat()
5. Returns the current thread ID
mysql_thread_id()
mysql_fetch_array()
mysql_errno()
mysql_info()
6. Returns the error description of the last MySQL operation
mysql_field_type()
mysql_error()
mysql_fetch_array()
mysql_get_client_info()
7. Returns MySQL server info
mysql_info()
mysql_get_server_info()
mysql_fetch_field()
mysql_connect()
8. Opens a persistent MySQL connection
mysql_client_encoding()
mysql_pconnect()
mysql_unbuffered_query()
mysql_result()
9. Moves the result pointer to a specified field
mysql_field_seek()
mysql_fetch_lengths()
mysql_stat()
mysql_affected_rows()
10. Returns MySQL client info
mysql_field_seek()
mysql_fetch_field()
mysql_fetch_lengths()
mysql_get_client_info()
11. Returns the error number of the last MySQL operation
mysql_pconnect()
mysql_client_encoding()
mysql_error()
mysql_errno()
12. Returns the name of the character set for the current connection
mysql_get_proto_info()
mysql_thread_id()
mysql_client_encoding()
mysql_field_table()
13. Returns the name of a field in a recordset
mysql_field_type()
mysql_info()
mysql_pconnect()
mysql_field_name()
14. Returns the value of a field in a recordset
mysql_field_seek()
mysql_result()
mysql_affected_rows()
mysql_client_encoding()
15. Closes a non-persistent MySQL connection
mysql_field_seek()
mysql_get_server_info()
mysql_info()
mysql_close()
16. Lists MySQL processes
mysql_errno()
mysql_fetch_object()
mysql_list_processes()
mysql_list_dbs()
17. Returns the number of fields in a recordset
mysql_fetch_assoc()
mysql_field_table()
mysql_num_fields()
mysql_fetch_array()
18. Returns the maximum length of a field in a recordset
mysql_get_client_info()
mysql_field_len()
mysql_connect()
mysql_get_server_info()
19. Returns the current system status of the MySQL server
mysql_close()
mysql_num_fields()
mysql_free_result()
mysql_stat()
20. Moves the record pointer
mysql_connect()
mysql_data_seek()
mysql_close()
mysql_select_db()
21. Returns the AUTO_INCREMENT ID generated from the previous INSERT operation
mysql_insert_id()
mysql_list_dbs()
mysql_field_seek()
mysql_num_rows()
22. Returns the type of a field in a recordset
mysql_field_type()
mysql_insert_id()
mysql_thread_id()
mysql_fetch_lengths()
23. Returns a row from a recordset as an associative array and/or a numeric array
mysql_list_dbs()
mysql_fetch_array()
mysql_info()
mysql_fetch_row()
24. Returns the length of the contents of each field in a result row
mysql_fetch_lengths()
mysql_fetch_row()
mysql_field_seek()
mysql_field_name()
25. Sets the active MySQL database
mysql_data_seek()
mysql_num_rows()
mysql_fetch_row()
mysql_select_db()
26. Returns MySQL host info
mysql_get_host_info()
mysql_list_dbs()
mysql_fetch_object()
mysql_client_encoding()
27. Returns a row from a recordset as an associative array
mysql_fetch_assoc()
mysql_field_flags()
mysql_fetch_object()
mysql_affected_rows()
28. Returns column info from a recordset as an object
mysql_query()
mysql_list_dbs()
mysql_fetch_array()
mysql_fetch_field()
29. Returns a database name from a call to mysql_list_dbs()
mysql_field_len()
mysql_fetch_field()
mysql_query()
mysql_db_name()
30. Returns a row from a recordset as an object
mysql_num_fields()
mysql_get_client_info()
mysql_insert_id()
mysql_fetch_object()
31. Free result memory
mysql_get_client_info()
mysql_free_result()
mysql_db_name()
mysql_list_processes()
32. Lists available databases on a MySQL server
mysql_list_dbs()
mysql_affected_rows()
mysql_close()
mysql_num_fields()
33. Executes a query on a MySQL database
mysql_num_fields()
mysql_get_client_info()
mysql_free_result()
mysql_query()
34. Returns MySQL protocol info
mysql_info()
mysql_fetch_assoc()
mysql_get_proto_info()
mysql_fetch_row()
35. Returns the number of rows in a recordset
mysql_db_name()
mysql_field_seek()
mysql_list_dbs()
mysql_num_rows()
36. Opens a non-persistent MySQL connection
mysql_field_name()
mysql_pconnect()
mysql_result()
mysql_connect()
37. Returns the flags associated with a field in a recordset
mysql_field_flags()
mysql_close()
mysql_query()
mysql_error()
38. Escapes a string for use in SQL statements
mysql_db_name()
mysql_fetch_field()
mysql_real_escape_string()
mysql_get_host_info()
39. Returns information about the last query
mysql_stat()
mysql_pconnect()
mysql_info()
mysql_connect()
40. Returns the number of affected rows in the previous MySQL operation
mysql_get_proto_info()
mysql_info()
mysql_affected_rows()
mysql_close()