In Python-MySQL connectivity, what is the primary purpose of a Cursor object?

PYQ KVS TGT/PGT 2026

In Python-MySQL connectivity, what is the primary purpose of a Cursor object?

  1. A.

    To store the password for the database connection.

  2. B.

    To visually point to the data in the MySQL Workbench.

  3. C.

    To execute SQL queries and fetch results from the database.

  4. D.

    To act as a backup of the entire database.

Attempted by 484 students.

Sign up free to check your answer

Sign up free

Explore the full course: Kvs Nvs Tier 2 Computer Science

Loading lesson…