Page 484 - AI Ver 3.0 class 10_Flipbook
P. 484
3. What is the primary function of Matplotlib in Python?
Ans. Matplotlib allows the creation of static, animated, and interactive visualizations such as line charts, bar graphs, and
scatter plots.
4. What does scipy.fftpack module in SciPy include?
Ans. scipy.fftpack module contains functions for fast Fourier transforms (FFT) and related operations for efficient spectral
analysis.
Unsolved Questions
SECTION A (Objective Type Questions)
uiz
A. Tick ( ) the correct option.
1. Which of the following is not a module of SciPy?
a. scipy.stats b. scipy.linalg
c. scipy.math d. scipy.integrate
2. What does the scipy.signal module primarily focus on?
a. Optimization and root finding
b. Statistical analysis
c. Signal processing tasks such as filtering and spectral analysis
d. Matrix operations and linear algebra
3. Which of the following is used to plot a line graph in Matplotlib?
a. plt.bar() b. plt.plot()
c. plt.hist() d. plt.pie()
4. Which function in Matplotlib is used to create a histogram?
a. plt.bar() b. plt.hist()
c. plt.scatter() d. plt.plot()
5. In Matplotlib, which function would you use to add a title to your plot?
a. plt.title() b. plt.label()
c. plt.legend() d. plt.annotate()
6. What does the Pandas function DataFrame.shape return?
a. The data type of the DataFrame
b. The number of rows in the DataFrame
c. The dimensions (rows, columns) of the DataFrame
d. The size of the DataFrame
7. What does the function np.arange(10, 101, 10) do in NumPy?
a. Creates an array with values from 1 to 10
b. Creates an array of values from 10 to 100 with a step of 10
c. Creates an array with random values
d. Creates an array of 10 random integers
482 Touchpad Artificial Intelligence (Ver. 3.0)-X

