Page 186 - Touhpad Ai
P. 186

4.   Which command is used to install the Matplotlib library in Python?
                      a.   pip download matplotlib                     b.  pip remove matplotlib

                      c.   pip install matplotlib                      d.  pip upgrade matplotlib
                  5.   Which chart adds a third variable by varying the size of the bubbles?

                      a.   Line chart                                  b.  Pie chart
                      c.   Bubble chart                                d.  Histogram

                  6.   Which function is used to set the value limit for the x-axis in Matplotlib?
                      a.   plt.set_xlim()                              b.   plt.set_ylim()
                      c.   plt.axis()                                  d.  plt.xlim()

                  7.   What is the role of sns.countplot() in Seaborn?
                      a.   To create a pie chart                       b.  Shows the count of categories

                      c.   To clean data                               d.  Sets the background style

                  8.   Select the function that is used to remove extra spaces from text data in Excel.
                      a.   Using the CLEAN() function                  b.  Using the REMOVE() function
                      c.   Using the TRIM() function                   d.  Manually editing each cell

                  9.   Which function is used to display data in a color-coded matrix, often used for correlation?
                      a.   sns.barplot()                               b.  sns.lineplot()

                      c.   sns.heatmap()                               d.  sns.scatterplot()
                 10.   Select the statement which is not true about a pie chart.
                      a.   Can represent more than ten categories.      b.  Do not display changes over time.

                      c.   Used to visualize facts from a small dataset.      d.  Cannot display zero value.

              B.  Fill in the blanks.
                  1.   Data visualization helps us quickly understand data, spot      , and make better decisions.

                  2.   Canva and               are web-based design platforms often used for creating infographics.
                  3.   Data visualization in Python is primarily done using libraries such as Matplotlib and   .

                  4.                 plot explore relationships between multiple variables at once.
                  5.                 is good for comparing multiple entities across many attributes simultaneously.

                  6.   The function =PROPER(text) in Excel capitalizes the       letter of each word.
                  7.                 plot is useful for detecting patterns and clusters in high-dimensional data.

                  8.  The               data in Excel means carefully reviewing the dataset to correct errors and improve accuracy.
                  9.   Duplicate data is identified and         to maintain data integrity and accuracy.
                 10.                 graphs are appropriate for data that can take any value within a defined range.

              C.  State whether the following statement is true or false.

                  1.   Data visualization is only useful for scientists and engineers.
                  2.  The xticks() function places the tick marks on the x-axis.

                  3.   The Seaborn simplifies the process of adding styles, colours, and advanced plots.

                 184    Touchpad Artificial Intelligence - XI
   181   182   183   184   185   186   187   188   189   190   191