MySQL Python Connectivity

MySQL Python Connectivity

12th Grade - University

10 Qs

quiz-placeholder

Similar activities

ICT G6 lesson5 them2 term2

ICT G6 lesson5 them2 term2

6th Grade - University

8 Qs

U2. Embedded DB & Console Access

U2. Embedded DB & Console Access

University

15 Qs

KUIS 1 PKK KELAS XII TKJ SMK TARUNA PEKANBARU

KUIS 1 PKK KELAS XII TKJ SMK TARUNA PEKANBARU

12th Grade

10 Qs

DBMS Lab Quiz 1 2B3

DBMS Lab Quiz 1 2B3

University

10 Qs

BD. XII RPL SQL

BD. XII RPL SQL

3rd Grade - University

8 Qs

BPB(SQL)

BPB(SQL)

9th - 12th Grade

6 Qs

Technical Terms - Internet (A-Z) - WAIS

Technical Terms - Internet (A-Z) - WAIS

12th Grade

10 Qs

Pretest Basis data - hirarki basis data

Pretest Basis data - hirarki basis data

9th - 12th Grade

10 Qs

MySQL Python Connectivity

MySQL Python Connectivity

Assessment

Quiz

Computers

12th Grade - University

Hard

Created by

Trial1 T

Used 162+ times

FREE Resource

10 questions

Show all answers

1.

OPEN ENDED QUESTION

20 sec • 1 pt

Your Name

Evaluate responses using AI:

OFF

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Full form of API

Application Process Interchange

Application Programs Interchange

Application Process Interface

Application Programming Interface

3.

FILL IN THE BLANK QUESTION

20 sec • 1 pt

Python needs a MySQL driver to access the MySQL database. State True/False

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Connector Library to connect MySQL with Python IDLE is

pymysql

mysql.connector

both a and b

none of these

5.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

import mysql.connector as mys

Here mys is called

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

import mysql.connector as mys


mydb = mys.connect( host="localhost", user="root",

password="root"

)


mycursor = mydb.cursor()


mycursor.execute("CREATE DATABASE KVSEC3")

AFTER EXECUTING THE ABOVE CODE. What will be done

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To display all the databases of MySQL with the help of cursor mycursor , command will be

mycursor.execute("SHOW DATABASES")

mycursor.execute("DESC DATABASES")

mycursor.executes("SHOW DATABASES")

mycursor.execute("SHOW ALL DATABASES")

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?