• 1. 
    Which package must be imported in Python to create a database connectivity application.

  • Pyplot
  • Django
  • math
  • mysql.connector
  • 2. 
    Pick the correct username for logging in database

  • root
  • local
  • host
  • directory
  • 3. 
    Which attribute is used to return number of rows that are affected by an execute() method.

  • rows()
  • count()
  • rowcount()
  • returncount()
  • 4. 
    Which function will return all rows of from the resultset in the form of tuple containing records.

  • execute()
  • cursor()
  • fetchone()
  • fetchall()
  • 5. 
    Which python library is used for representing graphs.

  • pandas
  • numpy
  • matplotlib
  • none
  • 6. 
    We can analyze the data in pandas with :

  • Series
  • Dataframe
  • Both
  • none
  • 7. 
    What is the name of the SQL database the comes distributed with Python?

  • SQLite
  • MySQL
  • PostgreSQL
  • PySQL
  • 8. 
    Series in Pandas is

  • 1 Dimensional Array
  • 2 Dimensional array
  • 3 Dimensional array
  • none of above
  • 9. 
    Best way to import the pandas module in your program ?

  • import pandas
  • import pandas as p
  • Both A & B
  • none of abode
  • 10. 
    Minimum number of argument we require to pass in pandas series ?

  • 0
  • 1
  • 2
  • 3
  • 11. 
    Which is true for series.

  • Size is mutable,Values is mutable
  • size is immutable,values is mutable
  • size is mutable,values is immutable.
  • none
Report Question
warning
access_time
  Time