1.
Which PHP extension provides an improved interface for interacting with MySQL databases?
2.
What does PDO stand for in the context of PHP database access?
3.
Which PHP extension is specific to MySQL databases and offers both procedural and object-oriented approaches for database operations?
4.
What is the primary advantage of using PDO over MySQLi for database access in PHP?
5.
Which PHP extension offers a consistent interface for accessing different database engines, including MySQL, PostgreSQL, and SQLite?
6.
What is the primary function of the mysqli_connect() function in PHP?
7.
Which of the following functions is used to prepare an SQL statement for execution with parameters in MySQLi extension?
8.
What is the purpose of the PDO::setAttribute() method in PDO extension?
9.
Which of the following is NOT a valid database driver supported by PDO extension?
10.
What is the purpose of the PDO::query() method in PDO extension?