Get Latest Exam Updates, Free Study materials and Tips

Q.1:

The plot method on Series and DataFrame is just a simple wrapper around ____________

A) gplt.plot() B) plt.plot()
C) plt.plotgraph() D) none of the mentioned
Q.2:

Point out the correct combination with regards to kind keyword for graph plotting.

A) ‘hist’ for histogram B) ‘box’ for boxplot
C) ‘area’ for area plots D) all of the mentioned
Q.3:

Which of the following value is provided by kind keyword for barplot?

A) bar B) kde
C) hexbin D) none of the mentioned
Q.4:

You can create a scatter plot matrix using the __________ method in pandas.tools.plotting.

A) sca_matrix B) scatter_matrix
C) DataFrame.plot D) All of the mentioned
Q.5:

Point out the wrong combination with regards to kind keyword for graph plotting.

A) ‘scatter’ for scatter plots B) ‘kde’ for hexagonal bin plots
C) ‘pie’ for pie plots D) none of the mentioned
Q.6:

Which of the following plots are used to check if a data set or time series is random?

A) Lag B) Random
C) Lead D) None of the mentioned
Q.7:

Plots may also be adorned with error bars or tables.

A) True B) False
Q.8:

Which of the following plots are often used for checking randomness in time series?

A) Autocausation B) Autorank
C) Autocorrelation D) None of the mentioned
Q.9:

__________ plots are used to visually assess the uncertainty of a statistic.

A) Lag B) RadViz
C) Bootstrap D) None of the mentioned
Q.10:

Andrews curves allow one to plot multivariate data.

A) True B) False
Q.11:

Which is a python package used for 2D graphics?

A) matplotlib.pyplot B) matplotlib.pip
C) matplotlib.numpy D) matplotlib.plt
Q.12:

Identify the package manager for Python packages, or modules.

A) Matplotlib B) PIP
C) plt.show() D) python package
Q.13:

Read the following code: Identify the purpose of this code and choose the right option from the following.
C:\Users\YourName\AppData\Local\Programs\Python\Python36-32\Scripts>pip – version

A) Check if PIP is Installed B) Install PIP
C) Download a Package D) Check PIP version
Q.14:

Read the following code: Identify the purpose of this code and choose the right option from the following.
C:\Users\Your Name\AppData\Local\Programs\Python\Python36-32\Scripts>pip list

A) List installed packages B) list command
C) Install PIP D) packages installed
Q.15:

To install matplotlib, the following function will be typed in your command prompt. What does “-U”represents?
Python –m pip install –U pip

A) downloading pip to the latest version B) upgrading pip to the latest version
C) removing pip D) upgrading matplotlib to the latest version
Q.16:

Which key is used to run the module?

A) F6 B) F4
C) F3 D) F5
Q.17:

Identify the right type of chart using the following hints.
Hint 1: This chart is often used to visualize a trend in data over intervals of time.
Hint 2: The line in this type of chart is often drawn chronologically.

A) Line chart B) Bar chart
C) Pie chart D) Scatter plot
Q.18:

Read the statements given below. Identify the right option from the following for pie chart.
Statement A: To make a pie chart with Matplotlib, we can use the plt.pie() function.
Statement B: The autopct parameter allows us to display the percentage value using the Python string formatting.

A) Statement A is correct B) Statement B is correct
C) Both the statements are correct D) Both the statements are wrong
Q.19:

Which function is used to read single line from file?

A) Readline() B) Readlines()
C) Readstatement() D) Readfullline()
Q.20:

Which function is used to write all the characters?

A) write() B) writecharacters()
C) writeall() D) writechar()
Q.21:

Pandas is an open-source _______ Library?

A) Ruby B) Javascript
C) Java D) Python
Q.22:

Pandas key data structure is called?

A) Keyframe B) DataFrame
C) Statistics D) Econometrics
Q.23:

In pandas, Index values must be?

A) unique B) hashable
C) Both A and B D) None of the above
Q.24:

Which of the following is correct Features of DataFrame?

A) Potentially columns are of different types B) Can Perform Arithmetic operations on rows and columns
C) Labeled axes (rows and columns) D) All of the above
Q.25:

A panel is a ___ container of data

A) 1D B) 2D
C) 3D D) Infinite
Q.26:

Which of the following is true?

A) If data is an ndarray, index must be the same length as data. B) Series is a one-dimensional labeled array capable of holding any data type.
C) Both A and B D) None of the above
Q.27:

Which of the following takes a dict of dicts or a dict of array-like sequences and returns a DataFrame?

A) DataFrame.from_items B) DataFrame.from_records
C) DataFrame.from_dict D) All of the above
Q.28:

Which of the following makes use of pandas and returns data in a series or dataFrame?

A) pandaSDMX B) freedapi
C) OutPy D) Inpy
Q.29:

What will be output for the following code?
import pandas as pd
import numpy as np
s = pd.Series(np.random.randn(4))
print s.ndim

A) 0 B) 1
C) 2 D) 3
Q.30:

Which of the following indexing capabilities is used as a concise means of selecting data from a pandas object?

A) In B) ix
C) ipy D) iy
Q.31:

Which of the following thing can be data in Pandas?

A) a python dict B) an ndarray
C) a scalar value D) all of the mentioned
Q.32:

Point out the correct statement.

A) If data is a list, if index is passed the values in data corresponding to the labels in the index will be pulled out B) NaN is the standard missing data marker used in pandas
C) Series acts very similarly to a array D) None of the mentioned
Q.33:

The result of an operation between unaligned Series will have the ________ of the indexes involved.

A) intersection B) union
C) total D) All of the mentioned
Q.34:

Which of the following input can be accepted by DataFrame?

A) Structured ndarray B) Series
C) DataFrame D) All of the mentioned
Q.35:

Point out the wrong statement.

A) A DataFrame is like a fixed-size dict in that you can get and set values by index label B) Series can be be passed into most NumPy methods expecting an ndarray
C) A key difference between Series and ndarray is that operations between Series automatically align the data based on label D) None of the mentioned
Q.36:

Which of the following takes a dict of dicts or a dict of array-like sequences and returns a DataFrame?

A) DataFrame.from_items B) DataFrame.from_records
C) DataFrame.from_dict D) All of the mentioned
Q.37:

Series is a one-dimensional labeled array capable of holding any data type.

A) True B) False
Q.38:

Which of the following works analogously to the form of the dict constructor?

A) DataFrame.from_items B) DataFrame.from_records
C) DataFrame.from_dict D) All of the mentioned
Q.39:

Which of the following operation works with the same syntax as the analogous dict operations?

A) Getting columns B) Setting columns
C) Deleting columns D) All of the mentioned
Q.40:

If data is an ndarray, index must be the same length as data.

A) True B) False
Q.41:

Best way to import the pandas module in your program ?

A) import pandas B) import pandas as p
C) from pandas import * D) All of the above
Answer & Explanation
Q.42:

DataFrame in pandas is

A) 1 dimensional array B) 2 dimensional array
C) 3 dimensional array D) None of the above
Answer & Explanation
Q.43:

For what purpose a Pandas is used ?

A) To create a GUI programming B) To create a database
C) To create a High level array D) All of the above
Answer & Explanation
Q.44:

In data science, which of the python library are more popular ?

A) Numpy B) Pandas
C) OpenCv D) Django
Answer & Explanation
Q.45:

Minimum number of argument we require to pass in pandas series ?

A) 0 B) 1
C) A2 D) 3
Answer & Explanation
Q.46:

Series in Pandas is

A) 1 dimensional array B) 2 dimensional array
C) 3 dimensional array D) None of the above
Answer & Explanation
Q.47:

Way to install the pandas library ?

A) install pandas B) pandas install python
C) python install pandas D) None of the above
Answer & Explanation
Q.48:

we can analyze the data in pandas with :

A) Series B) DataFrame
C) Both of the above D) None of the above
Answer & Explanation
Q.49:

What we pass in DataFrame in pandas ?

A)Integer B) String
C) Pandas series D) All of the above
Answer & Explanation
Q.50:

In which of the following field, we can put our Button?

A) Window B) Frame
C) Label D) All of the above
Answer & Explanation
Q.51:

SciPy stands for?

A) science library B) source library
C) significant library D) scientific library
Answer & Explanation
Q.52:

Which of the following is not correct sub-packages of SciPy?

A) scipy.cluster B) scipy.source
C) scipy.interpolate D) scipy.signal
Answer & Explanation
Q.53:

Which of the following is true?

A) By default, all the NumPy functions have been available through the SciPy namespace B) There is no need to import the NumPy functions explicitly, when SciPy is imported.
C) SciPy is built on top of NumPy arrays D) All of the above
Answer & Explanation
Q.54:

What will be output for the following code?
import numpy as np
print np.linspace(1., 4., 6)

A) array([ 1. , 2.2, 2.8, 3.4, 4. ]) B) array([ 1. , 1.6, 2.8, 3.4, 4. ])
C) array([ 1. , 1.6, 2.2, 2.8, 3.4, 4. ]) D) array([ 1. , 1.6, 2.2, 2.8, 4. ])
Answer & Explanation
Q.55:

How to import Constants Package in SciPy?

A) import scipy.constants B) from scipy.constants
C) import scipy.constants.package D) from scipy.constants.package
Answer & Explanation
Q.56:

what is constant defined for Boltzmann constant in SciPy?

A) G B) e
C) R D) k
Answer & Explanation
Q.57:

What will be output for the following code?
from scipy import linalg
import numpy as np
a = np.array([[3, 2, 0], [1, -1, 0], [0, 5, 1]])
b = np.array([2, 4, -1])
x = linalg.solve(a, b)
print x

A) array([ 2., -2., 9., 6.]) B) array([ 2., -2., 9.])
C) array([ 2., -2.]) D) array([ 2., -2., 9., -9.])
Answer & Explanation
Q.58:

In SciPy, determinant is computed using?

A) determinant() B) SciPy.determinant()
C) det() D) SciPy.det()
Answer & Explanation
Q.59:

Which of the following is false?

A) scipy.linalg also has some other advanced functions that are not in numpy.linalg B) SciPy version might be faster depending on how NumPy was installed.
C) Both A and B D) None of the above
Answer & Explanation
Q.60:

What relation is consider between Eigen value (lambda), square matrix (A) and Eign vector(v)?

A) Av = lambda*v B) Av =Constant * lambda*v
C) Av =10 * lambda*v D) Av != lambda*v
Answer & Explanation
Q.61:

Flask is a web development framework created in ___________ language.

A) C B) Java
C) Python D) Javascript
Answer & Explanation
Q.62:

Is the Flask framework open source?

A) TRUE B) FALSE
C) Can be true or false D) Can not say
Answer & Explanation
Q.63:

It is released under the ___________ Clause.

A) BSD-0 B) BSD-1
C) BSD-2 D) BSD-3
Answer & Explanation
Q.64:

How to add the mailing feature in the Flask Application?

A) pip install Flask B) pip install Flask-Mail
C) install Flask-Mail D) pip Flask-Mail
Answer & Explanation
Q.65:

WSGI stands for the?

A) Write Server Gateway Interface B) Web Static Gateway Interface
C) Web Server Gateway Interface D) Web Server Gateway Interact
Answer & Explanation
Q.66:

Flask default port is?

A) 2000 B) 3000
C) 4000 D) 5000
Answer & Explanation
Q.67:

Flask default host is a localhost (127.0.0.1)

A) TRUE B) FALSE
C) Can be true or false D) Can not say
Answer & Explanation
Q.68:

Flask is called a?

A) miniframework B) microframework
C) peraframework D) nanoframework
Answer & Explanation
Q.69:

Which of the following are the benefits of using the Flask framework?

A) It has an inbuilt development server. B) It has vast third-party extensions.
C) It is WSGI compliant. D) All of the above
Answer & Explanation
Q.70:

Flask works with most of the RDBMSs, such as?

A) PostgreSQL B) SQLite
C) MySQL D) All of the above
Answer & Explanation