Page 313 - Touhpad Ai
P. 313

13.  Which Pandas function removes duplicate rows?
                        a.  dropna()                                        b.  fillna()

                        c.  drop_duplicates()                               d.  replace()
                     14.  In AI, matrices are mainly used for —
                        a.  Storing text                                    b.  Image and data representation

                        c.  Counting words                                  d.  File compression
                    15.  Which chart best shows trends over time?
                        a.  Pie Chart                                       b.  Bar Graph

                        c.  Line Graph                                      d.  Histogram
                    16.   Assertion (A): In linear regression, the line of best fit is the one that minimizes the sum of the squared differences
                        between the actual and predicted values.
                          Reason (R): Minimizing squared errors ensures that larger errors are given more weight, leading to a better
                        overall fit of the model.

                         Choose the correct option:
                        a.  Both A and R are true, and R is the correct explanation of A.
                        b.  Both A and R are true, but R is not the correct explanation of A.

                        c.  A is true, but R is false.
                        d.  A is false, but R is true.

                     17.  Which chart shows proportions or percentages of a whole?
                        a.  Line Graph                                      b.  Pie Chart
                        c.  Histogram                                       d.  Scatter Plot

                     18.  Which of these is not a measure of central tendency?
                        a.  Mean                                            b.  Median
                        c.  Mode                                            d.  Variance

                    19.  Why is data cleaning important before visualization?
                        a.  To make charts colorful                         b.  To ensure accuracy and consistency of results
                        c.  To hide incorrect data                          d.  To increase file size

                    20.  If the regression line passes through the origin, which statement is true?
                        a.  The intercept                                   b.  The slope

                        c.  The dependent variable is constant              d.  The model has perfect fit
                                                           PART II � 50 MARKS
                    Answer six questions in this part, choosing two questions from Section A, two from Section B and two from
                                                                Section C.
                                                               SECTION - A
                                                        Answer any two questions.
                 Question 3

                     21.  What is the difference between dependent and independent variables in regression?
                        Ans.  In regression, the independent variable is the input or cause (like hours studied), and the dependent variable
                             is the result or outcome (like test score). The dependent variable depends on the independent one.

                                                                                             Sample Question Paper  311
   308   309   310   311   312   313   314   315   316   317   318