
SQL & Python Connectivity
Authored by anshu sharma
Computers
12th Grade
Used 35+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Full form of API
Application Process Interchange
Application Programs Interchange
Application Process Interface
Application Programming Interface
2.
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
3.
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")
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Correct the error if any
mycursor = mydb.cursor()
mycursor.execute("CREATE TABLE customers (name VARCHAR(25), 'address' VARCHAR(55))")
mycursor.execute('CREATE TABLE customers (name VARCHAR(25), 'address' VARCHAR(55))')
mycursor.execute("CREATE TABLE customers (name VARCHAR(25), address VARCHAR(55))')
mycursor.execute("CREATE TABLE customers (name VARCHAR(25), address VARCHAR(55));")
mycursor.execute("CREATE TABLE customers (name VARCHAR(25), address VARCHAR55))")
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
After inserting the data we need to issue
rollback
set autocommit
mycur.commit(1)
mycur.commit()
6.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
To close a connection (CON) we Use
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command is used for counting the number of rows in a database?
row
rowcount
count
row_count
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
17 questions
ICT Service Solutions 2
Quiz
•
8th - 12th Grade
20 questions
G11 ITGS Test 1 Revision
Quiz
•
11th - 12th Grade
10 questions
Data Engineering y BigQuery V1
Quiz
•
12th Grade
20 questions
SECURITY TROUBLESHOOTING AND SOLUTIONS
Quiz
•
9th - 12th Grade
15 questions
Quiz No. 1 on Open Source Software
Quiz
•
11th - 12th Grade
20 questions
Access Lesson 7
Quiz
•
9th - 12th Grade
13 questions
AP CSP - Data Collection Vocab
Quiz
•
10th - 12th Grade
20 questions
Ulangan Harian 1 Pemrograman Dasar
Quiz
•
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