The special control structure that facilitates row by row processing of records in resultset.

(A) Tuple

(B) database cursor

(C) connection

(D) None of these

 

Answer:

Checking the options

  • (A) Tuple - It refers to a single row of a table in an SQL database.
  • (B) database cursor - It is a database object that retrieves data from the result set one row at a time.  
  • (C) connection - It refers to creating a link between the MySQL database and the python application.  
  • (D) None of these

From the options given above, database cursor refers to the special control structure that facilitates row by  row processing of records in resultset. 

 

So, the correct answer is (B)

Go Ad-free
Davneet Singh's photo - Co-founder, Teachoo

Made by

Davneet Singh

Davneet Singh has done his B.Tech from Indian Institute of Technology, Kanpur. He has been teaching from the past 14 years. He provides courses for Maths, Science and Computer Science at Teachoo