Vidyalelo
Python · Q5

Database Connectivity with Python

Programming · Python · question 5

Q5

What is a cursor in the context of database connectivity?

A.
A pointer to a specific table
B.
A tool for creating graphs
C.
An object used to interact with the database
Answer
D.
A graphical user interface element

Answer: Option C

Solution

Answer: Option C
Solution:
A cursor is an object that allows you to interact with a database by executing SQL commands and fetching results.