Quiz Space

May 2022 term · Tools in Data Science · BSSE2002

Tools in Data Science (TDS) End Term: 7 August 2022, Set QPD1 (May 2022 term)

The IIT Madras BS Tools in Data Science (Tools in Data Science (TDS)) End Term paper sat on 7 Aug 2022, in the May 2022 term, set QPD1: 46 questions for 46 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
46
Marks
46
Duration
180 min
MCQ
44
MSQ
2

Updated

Official paper: IIT M FOUNDATION DIPLOMA ENDTERM QPD1 07 Aug 2022 IBA NS · No negative marking.

Question 1

+1 markOne correct option

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

  1. A

    Trend Line in Line Chart

  2. B

    SLOPE function

  3. C

    Both Trend Line in Line Chart and SLOPE function

  4. D

    None of these

Show answer

Correct answer

  • C

    Both Trend Line in Line Chart and SLOPE function

Question 2

+1 markOne correct option

Quill provides the option to turn on/off, for displaying the individual comments from the narrative generation process?

  1. A

    TRUE

  2. B

    FALSE

Show answer

Correct answer

  • A

    TRUE

Question 3

+1 markOne correct option

We are analyzing how much the use of fertilizers affects the agricultural yield of the farmers. 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 4

+1 markOne correct option

Subjectivity score in TextBlob ranges from ___________.

  1. A

    0 to 1

  2. B

    -1 to +1

  3. C

    -inf to +inf

  4. D

    0 to inf

  5. E

    0 to 10

Show answer

Correct answer

  • A

    0 to 1

Question 5

+1 markOne correct option

Flourish cannot be used to create animated bar charts.

  1. A

    TRUE

  2. B

    FALSE

Show answer

Correct answer

  • B

    FALSE

Question 6

+1 markOne correct option

Which piece of code below will extract details of all Bollywood movies that were released in Jan – March 2009 and later prints out only those rows where the respective movie was categorized only as a Drama?

  1. A
  2. B
  3. C
  4. D
Show answer

Correct answer

  • A

Question 7

+1 markOne correct option

A very large Matrix A has a lot of zero entries in it. Which function from the scipy library is useful in efficient storage of such a matrix A?

  1. A

    csr_matrix

  2. B

    interpolate

  3. C

    compressed_mat

  4. D

    zip_mat

Show answer

Correct answer

  • A

    csr_matrix

Question 8

+1 markOne correct option

Kumu is a tool that allows you to (select the most appropriate answer):

  1. A

    Visualize complex network data

  2. B

    create stunning dashboards for large projects

  3. C

    merge Comicgen characters into a comic

  4. D

    Narrate data stories

Show answer

Correct answer

  • A

    Visualize complex network data

Question 9

+1 markOne correct option

Which of the following Python libraries has functions and tools that are useful in the analysis of large graphs?

  1. A

    scikit-network

  2. B

    pandas-network

  3. C

    numpy-network

  4. D

    pd-network

Show answer

Correct answer

  • A

    scikit-network

Question 10

+1 markOne correct option

Which of the following Python libraries has functions extensively written to perform numerical operations?

  1. A

    csr_matrix

  2. B

    numpy

  3. C

    seaborn

  4. D

    itertools

Show answer

Correct answer

  • B

    numpy

Question 11

+1 markOne correct option

You developed a sudden interest in English Premier League. Post the TDS course, you wanted to perform an analysis on all teams which played EPL from the year 1992. You performed PDF scraping using ‘tabula’ and appended every year standings of teams one below the other and saved as a single csv file. For looking at aggregating at various levels (viz Year wise, Team wise) the following can be used in Excel:

  1. A

    Pilot Table

  2. B

    Pivot Table

  3. C

    Pivol Table

  4. D

    None of these

Show answer

Correct answer

  • B

    Pivot Table

Question 12

+1 markOne correct option

Assume you have data with a column “Direction” which takes the values “Left”, “Right”. If you had used one hot encoding, the new columns added would be:

  1. A

    Direction_Left, Direction_Right

  2. B

    Left_Direction, Right_Direction

  3. C

    Left-Direction, Right-Direction

  4. D

    Direction-Left, Right-Direction

Show answer

Correct answer

  • A

    Direction_Left, Direction_Right

Question 13

+1 markOne correct option

One of quick ways to generate a descriptive stats file for variables along with correlation is to use

  1. A

    pandas_profiling

  2. B

    profiling_pandas

  3. C

    describe_dataset

  4. D

    Dataframe_profile

Show answer

Correct answer

  • A

    pandas_profiling

Question 14

+1 markOne correct option

You decide to use keras to classify images into one of the following categories: cat, dog, bull. 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 15

+1 markOne correct option

Logical calculations in tableau helps to determine if a certain condition is true or false. Is the following expression valid?

  1. A

    TRUE

  2. B

    FALSE

Show answer

Correct answer

  • A

    TRUE

Question 16

+1 markOne correct option

Identify which of the following statements is/are TRUE
1. A story contains a single view along with shelves, cards, legends, and the Data and Analytics panes in its side bar.
2. A worksheet contains a sequence of stories that work together to convey information 3. A dashboard is a collection of views from multiple worksheets

  1. A

    1 Only

  2. B

    3 Only

  3. C

    2 & 3 Only

  4. D

    1 & 2 Only

Show answer

Correct answer

  • B

    3 Only

Question 17

+1 markOne correct option

The dataset consists of geographic, demographic information about countries and their respective GDPs. You would like to visualize this data and study the relationship between the location of countries and their GDPs. You decide to use Tableau to visualize the dataset. But you would also like to generate a summary of the data. Choose the most suitable answer among the given options.

  1. A

    The summary can be generated using Quill and this is possible because Quill can be used as an extension in Tableau.

  2. B

    Tableau can be used for visualization. But Quill is incompatible with Tableau.

  3. C

    Quill does not support generation of summary. Therefore using other visualization tools such as Tableau would work.

  4. D

    None of the options are appropriate for the generation of summary for the given question.

Show answer

Correct answer

  • A

    The summary can be generated using Quill and this is possible because Quill can be used as an extension in Tableau.

Question 18

+1 markOne correct option

What are the two outputs provided by the Excel Azure Machine Learning plugin?

  1. A

    Percentage, Labels

  2. B

    Sentiment, Percentage

  3. C

    Sentiment, Score

  4. D

    Score, Labels

Show answer

Correct answer

  • C

    Sentiment, Score

Question 19

+1 markOne correct option

Provided below is an incomplete code snippet that enables you to compute distance between two locations. Choose the most appropriate option that can be used in place of <missing line> to compute the distance. Assume the coordinates of location one is stored in the variable “loc1” and the coordinates of location 2 is stored in the variable “loc2”.

  1. A

    geopy.distance(loc1, loc2).km

  2. B

    geopy.distance(loc1, loc2).km.km

  3. C

    geopy.distance.distance(loc1, loc2).km

  4. D

    geopy.distance.distance.distance(loc1_coord, loc2_coord).km

Show answer

Correct answer

  • C

    geopy.distance.distance(loc1, loc2).km

Question 20

+1 markOne correct option

Provided below is a snippet of the code block of HTML tags from a website providing weather forecast. Your goal is to scrape the high and low values for the 10-day temperature forecast.

  1. A
  2. B
  3. C
  4. D
Show answer

Correct answer

  • C

Question 21

+1 markOne 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 22

+1 markOne 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 23

+1 markOne correct option

Subjectivity score ranges between -1 to +1.

  1. A

    TRUE

  2. B

    FALSE

Show answer

Correct answer

  • B

    FALSE

Question 24

+1 markOne 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 25

+1 markOne 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 26

+1 markOne 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
  2. B
Show answer

Correct answer

  • B

Question 27

+1 markOne 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 28

+1 markOne 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 29

+1 markOne 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 30

+1 markOne 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 31

+1 markOne 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 32

+1 markOne 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 33

+1 markOne 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 34

+1 markOne 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 35

+1 markOne 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 36

+1 markOne 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 37

+1 markOne 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 38

+1 markOne 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 39

+1 markOne 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 40

+1 markOne 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 41

+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 42

+1 markOne 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 43

+1 markOne or more correct options

Comicgen is a useful tool in narrating data stories using comics. Which of the following are capabilities of comicgen?

Select all that apply.

  1. A

    Comicgen can create comic characters

  2. B

    Comicgen provides options to custom create different comic characters and their emotions and pose

  3. C

    Comicgen can be easily integrated into Google sheets or Excel to narrate your data stories

  4. D

    You can type in your data story into comicgen to get your comic in return

Show answer

Correct answers

  • A

    Comicgen can create comic characters

  • B

    Comicgen provides options to custom create different comic characters and their emotions and pose

  • C

    Comicgen can be easily integrated into Google sheets or Excel to narrate your data stories

Question 44

+1 markOne 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

Question 45

+1 markOne correct option

Answer the given subquestions

You decided to perform analysis of the IPL teams year on year. You downloaded the teams standings table which got downloaded as a PDF. You wish to convert to a csv file for further analysis in Excel. The following method in ‘tabula’ can be used for the same:

  1. A

    convert_into

  2. B

    convert_file

  3. C

    convert_all

  4. D

    convert_csv

Show answer

Correct answer

  • A

    convert_into

Question 46

+1 markOne correct option

Answer the given subquestions

From the converted csv file in previous question, you realize that the team ‘Delhi Daredevil’ has changed its name to ‘Delhi Capital’. Using excel, you wish to replace the old name with a new name. It can be done in Excel using

  1. A

    Find and Replace

  2. B

    Finding and Replacing

  3. C

    Replace and Find

  4. D

    Search and Replace

Show answer

Correct answer

  • A

    Find and Replace