Questions

1 Marks Each

🎯

Test yourself on this topic

7 questions · timed · auto-graded

Question 21 Mark
Define cursor.
Answer
Cursor().The cursor() method of the pymysql.connections object is used to work with the database.
View full question & answer
Question 51 Mark
Define connect() method.
Answer

Method to connect the database. This method accepts four parameters.
The syntax for connect() function and assigning the results to a variable is as follows:
[variable] = MySQLdb.connect([hostname], [username], [password], [database name])
View full question & answer
1 Marks Each - Computer Science STD 12 Commerce Questions - Vidyadip