Web Application Development MCQs with Answers
Practice important Web Application Development MCQs with answers and explanations.
Multiple Choice Questions
Q111: Which of the following is an example of a Database Management System (DBMS)?
- A: MySQL
- B: HTML
- C: JavaScript
- D: CSS
View Answer
A
Q112: Fill in the blank: MySQL is a _______ database system.
- A: relational
- B: non-relational
- C: object-oriented
- D: hierarchical
View Answer
A
Q113: What does the MySQLi extension stand for in PHP?
- A: Improved MySQL extension
- B: Interactive MySQL extension
- C: Internet MySQL extension
- D: Initial MySQL extension
View Answer
A
Q114: Which PHP function is used to establish a connection to a MySQL database?
- A: mysqli_connect()
- B: mysql_connect()
- C: pdo_connect()
- D: db_connect()
View Answer
A
Q115: Fill in the blank: To create a new database in MySQL, you use the _______ statement.
- A: CREATE DATABASE
- B: DROP DATABASE
- C: ALTER DATABASE
- D: SELECT DATABASE
View Answer
A
Q116: Which tool is used to manage MySQL databases over the Internet?
- A: PhpMyAdmin
- B: XAMPP
- C: WAMP
- D: MySQL Workbench
View Answer
A
Q117: Fill in the blank: To check the connection to a MySQL database in PHP, you use _______.
- A: mysqli_connect_error()
- B: mysqli_query()
- C: mysqli_close()
- D: mysqli_connect()
View Answer
A
Q118: What is the primary purpose of PhpMyAdmin?
- A: To handle the administration of MySQL databases
- B: To connect to MySQL databases
- C: To execute PHP scripts
- D: To manage server files
View Answer
A
Q119: Which PHP function is used to check if a database was created successfully?
- A: mysqli_query()
- B: mysqli_create()
- C: mysqli_connect_error()
- D: mysqli_error()
View Answer
A
Q120: Fill in the blank: The mysqli_connect() function requires _______ arguments to connect to a MySQL database.
- A: 3
- B: 2
- C: 4
- D: 5
View Answer
A