
PYTHON DATABASE CONNECTIVITY
Quiz
•
Computers
•
12th Grade
•
Practice Problem
•
Medium
PRASAD N
Used 8+ times
FREE Resource
Enhance your content in a minute
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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
13 questions
اختبار تشخيصي قبلي
Quiz
•
11th - 12th Grade
14 questions
IoT Chapter 2 Review
Quiz
•
9th - 12th Grade
12 questions
Toon Boom Storyboard Pro TOP MENU
Quiz
•
9th - 12th Grade
12 questions
Animation techniques - Adobe Animate
Quiz
•
6th - 12th Grade
10 questions
IDs and Classes
Quiz
•
9th - 12th Grade
13 questions
Word Session Quiz
Quiz
•
7th Grade - University
10 questions
Security of Data
Quiz
•
11th - 12th Grade
13 questions
Robust Programming
Quiz
•
11th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
