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