My Report

PHP Database Test – 2


Correct Answer: 2 points | Wrong: -1 point
Grades: A* (100% score) | A (80%-99%) | B (60%-80%) | C (40%-60%) | D (0%-40%)
advertisement

1. Which one of the following method is used to retrieve the number of rows affected by an INSERT, UPDATE, or DELETE query?

2. Which one of the following methods recuperates any memory consumed by a result set?

3. Which of the following methods is used to execute the statement after the parameters have been bound?

4. Which version of MySQL introduced the prepared statements?

5. Which method rolls back the present transaction?

6. Which method retrieves each row from the prepared statement result and assigns the fields to the bound results?

7. Which of the methods are used to manage result sets using both associative and indexed arrays?

8. Which one of the following methods is used to recuperating prepared statements resources?

9. Which one of the following statements should be used to include a file?

10. Which one of the following methods is responsible for sending the query to the database?


 

Start practicing “1000 MCQs on PHP”, and once you are ready, you can take tests on all topics by attempting our “PHP Test Series”.

Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.