Quiz Space

September 2023 term · Tools in Data Science · BSSE2002

Tools in Data Science (TDS) End Term: 24 December 2023, Set ADD3 (September 2023 term)

The IIT Madras BS Tools in Data Science (Tools in Data Science (TDS)) End Term paper sat on 24 Dec 2023, in the September 2023 term, set ADD3: 20 questions for 20 marks in 180 minutes. Every question is below with its answer. Take it as a timed mock test to be marked, or read it through first.

Questions
20
Marks
20
Duration
180 min
MSQ
5
MCQ
15

Updated

Official paper: IIT M DIPLOMA FN EXAM FDD1 24 Dec 2023 · No negative marking.

Question 1

+1 markOne or more correct options

How do we find (using Python) all the possible values of categories inside a Pandas data-frame column named ‘book’? The name of the Pandas data-frame is data_df.

Select all that apply.

  1. A

    data_df.book.unique()

  2. B

    data_df.book.category_name()

  3. C

    data_df['book'].distinct()

  4. D

    data_df['book'].unique()

Show answer

Correct answers

  • A

    data_df.book.unique()

  • D

    data_df['book'].unique()

Question 2

+1 markOne or more correct options

Which of these are Python libraries specifically useful for Geospatial analysis:

Select all that apply.

  1. A

    Geopandas

  2. B

    QGIS

  3. C

    Folium

  4. D

    OpenStreetMap

Show answer

Correct answers

  • A

    Geopandas

  • C

    Folium

Question 3

+1 markOne or more correct options

Using cross-validation we find that the ideal K in a K -Nearest Neighbour procedure is 6. Your friend does not use cross-validation but instead guesses a K of 2. His predictor would:

Select all that apply.

  1. A

    have higher bias

  2. B

    have higher variance

  3. C

    have lower bias

  4. D

    have lower variance

  5. E

    overfit the data compared to your solution

  6. F

    underfit the data compared to your solution

Show answer

Correct answers

  • B

    have higher variance

  • E

    overfit the data compared to your solution

Question 4

+1 markOne or more correct options

The analysis metric slope can be observed through which of the following ways?

Select all that apply.

  1. A

    Trend Line in Line Chart

  2. B

    SLOPE function

  3. C

    None of these

Show answer

Correct answers

  • A

    Trend Line in Line Chart

  • B

    SLOPE function

Question 5

+1 markOne or more correct options

Under which of the following parts of inspect elements can you find cookie information?

Select all that apply.

  1. A

    Elements

  2. B

    network

  3. C

    Source

  4. D

    Application

Show answer

Correct answers

  • B

    network

  • D

    Application

Question 6

+1 markOne correct option

By default, for making connections in a Kumu network, which of the following column names are necessary for the data frame that is passed?.

  1. A

    name , attribute

  2. B

    to , from

  3. C

    from , to

  4. D

    first , second

Show answer

Correct answer

  • C

    from , to

Question 7

+1 markOne correct option

If the p-value in a regression analysis is less than the significance level (e.g., 0.05), what does it generally indicate?

  1. A

    There is no relationship between variables

  2. B

    The analysis is inconclusive

  3. C

    The relationship between variables is statistically significant

  4. D

    The model is overfitting

Show answer

Correct answer

  • C

    The relationship between variables is statistically significant

Question 8

+1 markOne correct option

What is OpenRefine used for?

  1. A

    Data cleaning and transformation

  2. B

    Data compression and storage

  3. C

    Real-time data analysis

  4. D

    Open source refined data

Show answer

Correct answer

  • A

    Data cleaning and transformation

Question 9

+1 markOne correct option

In the WEEKNUM function, how can you change the starting day of the week to Sunday?

  1. A

    By using the optional argument: =WEEKNUM(A1, 1)

  2. B

    It is not possible to change the starting day

  3. C

    By using the optional argument: =WEEKNUM(A1, 7)

  4. D

    By adjusting the Excel settings in the options menu

Show answer

Correct answer

  • C

    By using the optional argument: =WEEKNUM(A1, 7)

Question 10

+1 markOne correct option

We are interested in fitting an ARIMA model to our time series data. Specifically, we are interested in a moving average model of 0, setting a lag value of 4 for autoregression, and a difference order of 1. Which of the following gives you such a model?

  1. A

    ARIMA(..., trend = (4,1,0))

  2. B

    ARIMA(..., order = (4,1,0))

  3. C

    ARIMA(..., order = (0,4,1))

  4. D

    ARIMA(..., trend = (0,4,1))

Show answer

Correct answer

  • B

    ARIMA(..., order = (4,1,0))

Question 11

+1 markOne correct option

Subjectivity score ranges between -1 to +1.

  1. A

    TRUE

  2. B

    FALSE

Show answer

Correct answer

  • B

    FALSE

Question 12

+1 markOne correct option

Which of the following tab in chrome devtools will show API calls on the website?

  1. A

    Elements

  2. B

    Console

  3. C

    Sources

  4. D

    Network

  5. E

    APILogs

Show answer

Correct answer

  • D

    Network

Question 13

+1 markOne correct option

Chrome devtools can be accessed by which of the following steps?

  1. A

    Right click, choose View page-source

  2. B

    Right click, choose Inspect

  3. C

    Settings, more tools and choose Developer Tools

  4. D

    Settings, extensions and search for devtools

Show answer

Correct answer

  • B

    Right click, choose Inspect

Question 14

+1 markOne correct option

Nominatim can output the type of place for every latitutde longitude.

  1. A

    TRUE

  2. B

    FALSE

Show answer

Correct answer

  • A

    TRUE

Question 15

+1 markOne correct option

What Streamlit command is used to add text to the app interface?

  1. A

    st.add_text()

  2. B

    st.text()

  3. C

    st.insert_text()

  4. D

    st.display_text()

Show answer

Correct answer

  • B

    st.text()

Question 16

+1 markOne correct option

What is a "Tableau Workbook" in Tableau terminology?

  1. A

    A workbook created in Microsoft Excel

  2. B

    A Tableau file containing sheets, dashboards, and stories

  3. C

    A spreadsheet in Tableau

  4. D

    A summary of visualizations

Show answer

Correct answer

  • B

    A Tableau file containing sheets, dashboards, and stories

Question 17

+1 markOne correct option

K-Means clustering algorithm is sensitive to the initial choice of centroids. Which parameter in kmeans() function helps the user mitigate this problem?

  1. A

    algorithm

  2. B

    max_iter

  3. C

    n_clusters

  4. D

    n_init

Show answer

Correct answer

  • D

    n_init

Question 18

+1 markOne correct option

What is the purpose of the "st.button()" command in a Streamlit app?

  1. A

    Adds a button to trigger an action

  2. B

    Displays the current status of the app

  3. C

    Resets all input fields

  4. D

    Turns the app into full-screen mode

Show answer

Correct answer

  • A

    Adds a button to trigger an action

Question 19

+1 markOne correct option

What happens if you choose the "Delimited" option in "Text to Columns" and don't select any delimiter?

  1. A

    The text will be split based on spaces

  2. B

    The text will not be split, and the original content remains unchanged

  3. C

    An error message will be displayed

  4. D

    The text will be split into individual characters

Show answer

Correct answer

  • B

    The text will not be split, and the original content remains unchanged

Question 20

+1 markOne correct option

How can you change the calculation performed in the "Values" area of a Pivot Table?

  1. A

    By selecting a function from the “Summarize Values by” in the “Value Field settings”

  2. B

    By right-clicking the cell and choosing "Change Calculation"

  3. C

    By dragging a new field into the "Values" area

  4. D

    By adjusting the cell formatting in the "Values" area

Show answer

Correct answer

  • A

    By selecting a function from the “Summarize Values by” in the “Value Field settings”