Quiz Space

January 2022 term · Tools in Data Science · BSSE2002

Tools in Data Science (TDS) End Term: 3 April 2022, Set AN1 (January 2022 term)

The IIT Madras BS Tools in Data Science (Tools in Data Science (TDS)) End Term paper sat on 3 Apr 2022, in the January 2022 term, set AN1: 25 questions for 50 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
25
Marks
50
Duration
180 min
MCQ
24
MSQ
1

Updated

Official paper: IIT M FOUNDATION DIPLOMA ENDTERM FN1 3 Apr 2022 · No negative marking.

Question 1

+2 marksOne correct option

The final output from the BBC Weather Location Service API is in CSV format:

  1. A

    TRUE

  2. B

    FALSE

Show answer

Correct answer

  • B

    FALSE

Question 2

+2 marksOne correct option

Which among the following properties are returned by the sentiment function of the TextBlob library?

  1. A

    Score, Polarity

  2. B

    Polarity, Negativity

  3. C

    Median, Subjectivity

  4. D

    Polarity, Subjectivity

Show answer

Correct answer

  • D

    Polarity, Subjectivity

Question 3

+2 marksOne correct option

Subjectivity score ranges between -1 to +1.

  1. A

    TRUE

  2. B

    FALSE

Show answer

Correct answer

  • B

    FALSE

Question 4

+2 marksOne correct option

A subjectivity score of 0.4 means that the text statement:

  1. A

    has a positive sentiment

  2. B

    has a negative sentiment

  3. C

    is more of an opinion statement

  4. D

    is more of a factual statement

Show answer

Correct answer

  • D

    is more of a factual statement

Question 5

+2 marksOne correct option

A polarity score of 0.1 means that the text statement:

  1. A

    has a positive sentiment

  2. B

    has a negative sentiment

  3. C

    is more of an opinion statement

  4. D

    is more of a factual statement

Show answer

Correct answer

  • A

    has a positive sentiment

Question 6

+2 marksOne correct option

Provided below is a snapshot of the dataset which consists of movie reviews and respective labels.

To compute the sentiment scores the Azure Machine Learning add-in requires input and output values. In the figure provided below the input and output cells need to be populated with appropriate values to obtain sentiment scores.

Choose the most appropriate option that enables you to predict sentiment scores using the Excel Azure Machine Learning add-in.

  1. A

    Input: Sheet1!A1:A11
    Output: Sheet!C1

  2. B

    Input: Sheet1!B1:B11
    Output: Sheet!C1

Show answer

Correct answer

  • B

    Input: Sheet1!B1:B11
    Output: Sheet!C1

Question 7

+2 marksOne correct option

We are interested in analyzing the effect of money spent on TV advertising on the sales volume of a product. Which Excel function would you use as a starting point in this analysis?

  1. A

    STDEV.P()

  2. B

    STDEV.S()

  3. C

    SLOPE()

  4. D

    EXACT()

Show answer

Correct answer

  • C

    SLOPE()

Question 8

+2 marksOne correct option
  1. A

    from sklearn.metrics import mean_absolute_error

  2. B

    from sklearn.metrics import median_absolute_error

  3. C

    from sklearn.metrics import median_absolute_percentage_error

  4. D

    from sklearn.metrics import average_absolute_percentage_error

Show answer

Correct answer

  • B

    from sklearn.metrics import median_absolute_error

Question 9

+2 marksOne correct option

You are working on a piece of code that classifies different vehicles into its respective class (car, LCV, truck, earth movers). Which of the following loss functions from Keras would you pick for the task?

  1. A

    binary_crossentropy

  2. B

    categorical_crossentropy

  3. C

    mean_squared_error

  4. D

    Mean_absolute_error

Show answer

Correct answer

  • B

    categorical_crossentropy

Question 10

+2 marksOne correct option

Tableau automatically divides the data fields into two categories. What are they..?

  1. A

    Measures and categories

  2. B

    Dimensions and Measures

  3. C

    Columns and rows

  4. D

    Matrices and columns

Show answer

Correct answer

  • B

    Dimensions and Measures

Question 11

+2 marksOne correct option

Which Extension in Tableau transforms visualizations into narratives.?

  1. A

    Narrator

  2. B

    Navigator

  3. C

    Quill

  4. D

    Quora

Show answer

Correct answer

  • C

    Quill

Question 12

+2 marksOne correct option

If you want to create comical characters while building business stories, which tool would be helpful.?

  1. A

    Cartoongen

  2. B

    Image size

  3. C

    Comicgen

  4. D

    Gentoon

Show answer

Correct answer

  • C

    Comicgen

Question 13

+2 marksOne correct option

Which of the following is used to build and host web applications?

  1. A

    Streamlit for building web applications, Heroku for hosting web applications

  2. B

    Heroku for building web applications, Streamlit for hosting web applications

  3. C

    Streamlit for building web applications, Streamlit for hosting web applications

  4. D

    Heroku for building web applications, Heroku for hosting web applications

Show answer

Correct answer

  • A

    Streamlit for building web applications, Heroku for hosting web applications

Question 14

+2 marksOne correct option

Which among the following excel charts is the most suitable for detecting outliers in the data?

  1. A

    Bar chart

  2. B

    Line chart

  3. C

    Box and Whisker chart

  4. D

    Histogram

Show answer

Correct answer

  • C

    Box and Whisker chart

Question 15

+2 marksOne correct option

Which of the following libraries is used to construct API urls?

  1. A

    Urllib

  2. B

    BeautifulSoup

  3. C

    Requests

  4. D

    Pandas

Show answer

Correct answer

  • A

    Urllib

Question 16

+2 marksOne correct option

Which of the following tabs is used to identify API calls in the Inspect element in any browser?

  1. A

    Network

  2. B

    Elements

  3. C

    Console

  4. D

    Sources

Show answer

Correct answer

  • A

    Network

Question 17

+2 marksOne correct option

Google Studio is a tool that allows you to

  1. A

    merge Comicgen characters into a comic

  2. B

    visualize complex network data

  3. C

    create dashboards for small scale projects

  4. D

    Edit photographs and videos

Show answer

Correct answer

  • C

    create dashboards for small scale projects

Question 18

+2 marksOne correct option

Kumu is a tool that allows you to:

  1. A

    visualize dynamic line charts

  2. B

    create stunning dashboards for large projects

  3. C

    merge Comicgen characters into a comic

  4. D

    Visualize complex network data

Show answer

Correct answer

  • D

    Visualize complex network data

Question 19

+2 marksOne correct option

csr_matrix from the scipy library:

  1. A

    always helps reduce matrix space

  2. B

    helps reduce matrix space when there are a lot of zero entries in the matrix

  3. C

    helps reduce matrix space when there are a lot of negative entries in the matrix

  4. D

    makes matrix multiplication more meaningful and powerful

Show answer

Correct answer

  • B

    helps reduce matrix space when there are a lot of zero entries in the matrix

Question 20

+2 marksOne correct option

classification_report function from the sklearn.metrics module

  1. A

    builds a decision tree classifier and prints the accuracy of the classifier

  2. B

    reports the root mean square error of the model

  3. C

    runs different classification models and compares the results

  4. D

    builds a text report displaying the main classification metrics

Show answer

Correct answer

  • D

    builds a text report displaying the main classification metrics

Question 21

+2 marksOne correct option

pycaret is a

  1. A

    Visualization tool

  2. B

    Dashboard helper

  3. C

    low-code machine learning library

  4. D

    Data cleaning solution

Show answer

Correct answer

  • C

    low-code machine learning library

Question 22

+2 marksOne 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 23

+2 marksOne correct option

Scikit-learn has a DecisionTreeClassifier module that is useful in building decision tree classifiers. Suppose, our dataset is imbalanced in class. Which feature in the DecisionTreeClassifier() will help us tackle this problem?

  1. A

    random_state

  2. B

    min_sample_split

  3. C

    class_balance

  4. D

    class_weight

Show answer

Correct answer

  • D

    class_weight

Question 24

+2 marksOne correct option

k-means is typically influenced by the start values. What option in sklearn.cluster.KMeans helps reduce the impact?

  1. A

    verbose

  2. B

    algorithm

  3. C

    n_init

  4. D

    init

Show answer

Correct answer

  • C

    n_init

Question 25

+2 marksOne or more correct options

scikit-network package contains functions for (pick all correct sentences):

Select all that apply.

  1. A

    analysis of faults in a computer network

  2. B

    social network analysis

  3. C

    analysis of large graphs

  4. D

    enhancing one’s social network

Show answer

Correct answers

  • B

    social network analysis

  • C

    analysis of large graphs