Quiz Space

January 2023 term · Tools in Data Science · BSSE2002

Tools in Data Science (TDS) End Term: 30 April 2023, Set QPD1-S2 (January 2023 term)

The IIT Madras BS Tools in Data Science (Tools in Data Science (TDS)) End Term paper sat on 30 Apr 2023, in the January 2023 term, set QPD1-S2: 62 questions for 70 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
62
Marks
70
Duration
180 min
MCQ
60
MSQ
2

Updated

Official paper: IIT M DIPLOMA ET1 EXAM QPD1 S2 30 Apr 2023 · 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

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 7

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

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

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

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

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

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

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

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

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

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

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

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

+1 markOne correct option

Subjectivity score ranges between -1 to +1.

  1. A

    TRUE

  2. B

    FALSE

Show answer

Correct answer

  • B

    FALSE

Question 20

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

+1 markOne correct option

The data consists of prices of three shares in the stock market over a period of six months. To compute the correlation coefficients between these three shares: (Choose the most suitable option)

  1. A

    It is sufficient if you specify these three shares as input variables in the excel ‘data analysis toolpak’ feature.

  2. B

    You must specify both input and target variables in the excel ‘data analysis toolpak’ to obtain the correlation coefficient values.

  3. C

    It is sufficient if you specify these three shares as target variables in the excel ‘data analysis toolpak’ feature.

Show answer

Correct answer

  • A

    It is sufficient if you specify these three shares as input variables in the excel ‘data analysis toolpak’ feature.

Question 38

+1 markOne correct option

Assume the data provided to you has a column that consists of sales dates. You would want to extract the week number from the column for further analysis. Which among the following excel function enables you to perform the above-mentioned task?

  1. A

    WEEKGET()

  2. B

    GETWEEKNUM()

  3. C

    NUMWEEK()

  4. D

    None of these

Show answer

Correct answer

  • D

    None of these

Question 39

+1 markOne correct option

Which among the following features in excel enables you to scrape data from websites?

  1. A

    Data Analysis Toolpak

  2. B

    Connections

  3. C

    New Query

  4. D

    Data Validation

Show answer

Correct answer

  • C

    New Query

Question 40

+1 markOne correct option

Which of the following statements about the k-means clustering algorithm is false?

  1. A

    It is guaranteed to converge to the global optimum solution for any given dataset and initial centroids.

  2. B

    It can be sensitive to the choice of initial centroids, and different initializations can lead to different final cluster assignments.

  3. C

    The k-means algorithm minimizes the within-cluster sum of squares as its objective function.

  4. D

    It can be used to cluster both continuous and categorical data.

Show answer

Correct answer

  • A

    It is guaranteed to converge to the global optimum solution for any given dataset and initial centroids.

Question 41

+1 markOne correct option

Which of the following is NOT a method of the Beautiful Soup object?

  1. A

    find()

  2. B

    get()

  3. C

    find_all()

  4. D

    prettify()

Show answer

Correct answer

  • B

    get()

Question 42

+1 markOne correct option

What is ComicGen?

  1. A

    A web development framework for comic creators.

  2. B

    A Python library for data analysis and storytelling using comics.

  3. C

    A tool for generating comic strips.

  4. D

    A game development engine.

Show answer

Correct answer

  • C

    A tool for generating comic strips.

Question 43

+1 markOne correct option

Network tab in Chrome Devtools (Inspect) tracks all api calls that happen in a website.

  1. A

    TRUE

  2. B

    FALSE

Show answer

Correct answer

  • A

    TRUE

Question 44

+1 markOne correct option

Flourish is a web-based:

  1. A

    Data visualization platform

  2. B

    Machine learning platform

  3. C

    Business intelligence platform

  4. D

    None of these

Show answer

Correct answer

  • A

    Data visualization platform

Question 45

+1 markOne correct option

Which of the tools below are used for data storytelling?

  1. A

    Excel

  2. B

    Quill

  3. C

    Comicgen

  4. D

    Flourish

  5. E

    Excel, Quill, Comicgen

  6. F

    All of these

Show answer

Correct answer

  • E

    Excel, Quill, Comicgen

Question 46

+1 markOne correct option

______  data consists of any value within the finite or infinite intervals. _______ data displayed as green icons in the data window and green pills on shelves.

  1. A

    Discrete,Continuous

  2. B

    Continuous,Continuous

  3. C

    None

Show answer

Correct answer

  • B

    Continuous,Continuous

Question 47

+1 markOne correct option

From the below options identify the statement that is False

  1. A

    Measures contain numeric, quantitative values that you can measure.

  2. B

    Measures can be aggregated.

  3. C

    When you drag a measure into the view, Tableau applies an aggregation to that measure (by default).

  4. D

    None of these

Show answer

Correct answer

  • D

    None of these

Question 48

+1 markOne correct option

Which of the following statements about Heroku is true?

  1. A

    Heroku is a cloud-based platform for deploying, managing, and scaling web applications.

  2. B

    Heroku is a programming language used for developing front-end web applications.

  3. C

    Heroku is a database management system used for storing and retrieving data.

  4. D

    Heroku is a web browser used for accessing internet-based applications.

Show answer

Correct answer

  • A

    Heroku is a cloud-based platform for deploying, managing, and scaling web applications.

Question 49

+1 markOne correct option

Which data type is not available in the ARX tool while you input data for anonymizing?

  1. A

    String

  2. B

    Date/Time

  3. C

    Continuous

  4. D

    Decimal

  5. E

    Integer

Show answer

Correct answer

  • C

    Continuous

Question 50

+1 markOne correct option

Your model is performing well in your training dataset but is not performing well in test dataset. It means:

  1. A

    Model is overfit

  2. B

    Model is underfit

  3. C

    Problem with test dataset

  4. D

    None of these

Show answer

Correct answer

  • A

    Model is overfit

Question 51

+1 markOne correct option

The following function in excel helps in removing extra spaces:

  1. A

    TRIM

  2. B

    REDUCE

  3. C

    REMOVESPACE

  4. D

    None of these

Show answer

Correct answer

  • A

    TRIM

Question 52

+1 markOne correct option

For categorical variables, missing data can be replaced by:

  1. A

    Mode

  2. B

    Median

  3. C

    Mean

  4. D

    None of these

Show answer

Correct answer

  • A

    Mode

Question 53

+2 marksOne correct option

The given piece of code 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. Identify which block of code executes without any errors.

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

Correct answer

  • A

Question 54

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

+2 marksOne correct option
  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 56

+2 marksOne correct option
  1. A
  2. B
  3. C
  4. D
Show answer

Correct answer

  • C

Question 57

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

Correct answer

  • B

Question 58

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

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

+2 marksOne or more correct options

scikit-network package contains functions for (select 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 61

+1 markOne correct option

You decided to perform analysis of the IPL teams year on year. You downloaded the teams standings table which got downloaded as a PDF.
Based on the above information, answer the given subquestions.

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 62

+1 markOne correct option

You decided to perform analysis of the IPL teams year on year. You downloaded the teams standings table which got downloaded as a PDF.
Based on the above information, 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