Question 1

A database cursor is a control structure that enables traversal over the records in a database. (T/F)


Question 2

The ibm_db API provides a variety of useful Python functions for accessing and manipulating data in an IBM data server like Db2. Is this statement True or False?


Question 3

A Dataframe represents a tabular, spreadsheet-like data structure containing an ordered collection of columns, each of which can be a different value type. Indicate whether the following statement is True or False:

A pandas dataframe in Python can be used for storing the result set of a SQL query.


Question 4

Which of the following statement(s) about Python is/are NOT correct (i.e. False)?


Question 5

To query data from tables in database a connection to the database needs to be established. Which of the following is NOT required to establish a connection with a relational database from a Python notebook: