PYTHON  DATABASE CONNECTIVITY

PYTHON DATABASE CONNECTIVITY

12th Grade

10 Qs

quiz-placeholder

Similar activities

Incident Response Policy 2

Incident Response Policy 2

12th Grade

10 Qs

Implementing Mass Storage Application

Implementing Mass Storage Application

10th Grade - University

10 Qs

Thukable SC Assessment 2

Thukable SC Assessment 2

7th - 12th Grade

15 Qs

Security of Data

Security of Data

11th - 12th Grade

10 Qs

Access - kwerendy 2

Access - kwerendy 2

12th Grade

15 Qs

اختبار تشخيصي قبلي

اختبار تشخيصي قبلي

11th - 12th Grade

13 Qs

IoT Chapter 2 Review

IoT Chapter 2 Review

9th - 12th Grade

14 Qs

ASJ_XII_UH1

ASJ_XII_UH1

1st - 12th Grade

15 Qs

PYTHON  DATABASE CONNECTIVITY

PYTHON DATABASE CONNECTIVITY

Assessment

Quiz

Computers

12th Grade

Practice Problem

Medium

Created by

PRASAD N

Used 8+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Mandatory arguments required to connect any database from pyton

username, password, hostname, port , database name

user name, password

user name, password, host name

user name, password, host name, database name

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method of cursor class is used to fetch records from the table

cur.fetchall()

cur.fetchone()

cur.fetchmnay()

cur.fetch()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the full form of SQL

Structured Quick Language

Structured Query Language

Structured Query Linking

Structured Query List

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In sql, which command is used to check host name?

select current_user;

select currentuser();

select curret_user();

select current_user()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

SQL command for list databases.

show all;

show all databases;

show databases;

show database;

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

select the correct statement in python to check SQL connectivity status.

if con_is.connected():

if con.is_connected():

if con_isconnected()

if con.is_connected

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

select the correct statement to install sql connector library

pip install mysql

pip install mysql.connect

pip install mysql-connector

pip install mysql-connect-python

Access all questions and much more by creating a free account

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

Already have an account?