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