Data Analytics with Python Week 1 NPTEL Assignment Answers

Are you looking for accurate and reliable solutions for Week 1 of Data Analytics with Python (NPTEL)? You’re at the right place! Below are verified answers with detailed explanations to help you complete your assignment confidently.


1. State True or false:

Statement: Data can be generated by machines but not by humans.
Options:
a) True
b) False

Answer:✅ b
Explanation:
Both machines and humans generate data. For example, human-generated data includes surveys and feedback, while machines generate sensor logs and clickstreams.


2. Which one of the following is not a classification of Data Analytics?

Options:
a) Diagnostic analytics
b) Deceptive analytics
c) Predictive analytics
d) Prescriptive analytics

Answer:✅ b
Explanation:
Deceptive analytics is not a recognized type. The standard classifications are:

  • Descriptive
  • Diagnostic
  • Predictive
  • Prescriptive

3. State True or false:

Statement: Nominal scale is the lowest level of measurement and ratio scale is the highest level of measurement.
Options:
a) True
b) False

Answer:✅a
Explanation:
Measurement scales from lowest to highest:
Nominal → Ordinal → Interval → Ratio
Ratio scale has a true zero and supports all mathematical operations.

📚 Want Full NPTEL Assignment Support?
If you’re looking for the complete and expert-curated solution set for Week 1 of Data Analytics with Python with explanations and updates before deadlines,
👉 Click here to visit Answer GPT – your trusted learning partner


4. Consider the following statements:

Statement A: With iloc, we can pass in the negative value.
Statement B: With loc, we can pass in the negative value.
Options:
a) A and B are correct
b) Both are false
c) A is correct, B is false
d) B is correct, A is false

Answer:✅ c
Explanation:

  • iloc supports negative indexing.
  • loc works on labels, not positions, so negative indexing is not valid.

5. For getting 3rd, 4th & 6th row of a datafile “df” in Python programming, we can write:

Options:
a) df.loc[[2,3,5]]
b) df.loc[[3,4,5]]
c) df.iloc[3,4,6]
d) None of the above

Answer:✅a
Explanation:
Python indexing starts at 0. So 3rd = index 2, 4th = index 3, and 6th = index 5.
Hence: df.loc[[2,3,5]] is correct.


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

Options:
a) Skewness
b) Kurtosis
c) Range
d) Percentile

Answer:✅ d
Explanation:

  • Percentile shows the rank or position of data, not variability.
  • Range, skewness, and kurtosis are used to measure dispersion or distribution shape.

7. State the following true or false:

Statement: Bimodal Data sets contain more than two modes.
Options:
a) True
b) False

Answer:✅ b
Explanation:

  • Bimodal means the dataset has exactly two modes.
  • More than two modes = Multimodal.

8. Bar Charts are used for:

Options:
a) Continuous data
b) Categorical data
c) Both a and b
d) None of the above

Answer:✅ b
Explanation:
Bar charts are best used for categorical variables, like gender, location, or product type.


9. Median is not applicable to:

Options:
a) Ordinal
b) Interval
c) Nominal
d) None of the above

Answer:✅ c
Explanation:

  • Nominal data has no inherent order (e.g., colors, brands), so median doesn’t make sense.
  • Median works on ordered data like ordinal or numerical.

10. What does the following Python function calculate?

python

CopyEdit

def m(data):

    Diff = max(data) – min(data)

return(Diff)

Options:
a) Interquartile range
b) Mode
c) Median
d) Range

Answer:✅ d
Explanation:
The function returns max – min, which is the range of the dataset.


Conclusion
We hope these detailed answers helped you with your NPTEL Week 1 assignment on Data Analytics with Python.
To access all weeks and explore verified NPTEL content, visit:
👉Data Analytics with Python Week 1 NPTEL Assignment Answers at Answer GPT

Leave a Reply

Your email address will not be published. Required fields are marked *