- Home
- Class - 12 CBSE Computer Science — Assertion Reason Type Questions
Assertion. A database connection object
Class - 12 CBSE Computer Science — Assertion Reason Type Questions
Assertion. A database connection object controls the connection to a database.
Reason. A connection object represents a unique session with a database, connected from within a script/program.
Answer
(a)
Both Assertion and Reason are true and Reason is the correct explanation of Assertion.
Explanation
A database connection object controls the connection to the database, ensuring that the script or program can communicate effectively with the database. This connection object represents a unique session with a database connected from within a script/program.