MySQL Python Connectivity

MySQL Python Connectivity

12th Grade - University

10 Qs

quiz-placeholder

Similar activities

ภาษาคอมพิวเตอร์

ภาษาคอมพิวเตอร์

University

10 Qs

Repaso teoría 1er Parcial - SISOP UTN-FRBA

Repaso teoría 1er Parcial - SISOP UTN-FRBA

University

10 Qs

CPU & Storage

CPU & Storage

12th Grade

10 Qs

Enterprise Applications

Enterprise Applications

University

15 Qs

แบบทดสอบเรื่อง Flowchart

แบบทดสอบเรื่อง Flowchart

10th - 12th Grade

10 Qs

Revision - Internet

Revision - Internet

10th Grade - University

10 Qs

ADB Quiz #1

ADB Quiz #1

University

15 Qs

Problem Solving : Design Solution

Problem Solving : Design Solution

12th Grade

15 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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?

Discover more resources for Computers