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