[Week 1-12] NPTEL Data Analytics with Python Assignment Answers 2024
    About Lesson

    1. Which of the following is never possible for variance?

    • Zero variance
    • larger than the standard deviation
    • Negative variance
    • smaller than the standard deviation

    Answer :- c

    2. def m(data)

            Diff = max(data) – min(data)

             return(Diff)

    The above defined data function in Python programming, will calculate the?

    • Inter quartile range
    • mode
    • median
    • range

    Answer :- d

    3. Bar Charts are used for :

    • Continuous data
    • Categorical data
    • both a. and b.
    • None of these

    Answer :- a

    4. Frequency polygons are used for:

    • Continuous data
    • Categorical data
    • both a. and b.
    • None of the above

    Answer :- a

    5. u is an example of which of the following?

    • A population parameter
    • sample statistic
    • population variance
    • mode

    Answer :- a

    6. Consider the following statements- 

    Statement A : To “flatten” the dataframe, you can use the reset_index(). 

    Statement B : Use the nunique() to get counts of unique values on a Pandas Series. 

    • Both statements are correct
    • Both statements are false
    • A is correct, B is false
    • B is correct, A is false

    Answer :- a

    7. Which of the following statements in context of drawing an excellent graph is false:

    • The graph should not contain unnecessary adornments (sometimes referred to as chart junk)
    • The scale on the vertical axis should begin at zero
    • All axes should not be properly labelled
    • The graph should contain a title

    Answer :- c

    8. Which of the following is not a measure of dispersion?

    • Skewness
    • Kurtosis
    • Range
    • Percentile

    Answer :- d

    9. Assume, you are given two lists:

        a = [1,2,3,4,5]

        b = [6,7,8,9]

    The task is to create a list which has all the elements of a and b in one dimension.

        Output:

         a = [1,2,3,4,5,6,7,8,9]

    Which of the following option would you choose?

    • a.append(b)
    • a.extend(b)
    • Any of the above
    • None of these

    Answer :- a

    10. State the following true or false?

    Statement: Bimodal Data sets contains more than two modes

    • True
    • False

    Answer :- b

    0% Complete