# NPTEL Python for Data Science Assignment 1 Answers 2023

Jan 30, 2023

Hello Learners, In this Post, you will find NPTEL Python for Data Science Assignment 1 Answers 2023. All the Answers are provided below to help the students as a reference don’t straight away look for the solutions.

###### NPTEL Python for Data Science Assignment 2 Answers👇

Note: First try to solve the questions by yourself. If you find any difficulty, then look for the solutions.

## NPTEL Python for Data Science Assignment 1 Answers 2023:

• 2_max = 5
• max_2 = 5
• max2 = 5
• max @2 = 5

• 1
• 5
• 0
• Syntax error

• 0
• 1
• 0.0
• 4

#### Q.4. What will be the outputof the following code snippet?

(i).

• 300
• 100200
• ‘100’ + ‘200’
• ‘100 + 200’

#### Q.5.

• 300
• 100200
• ‘100’ + ‘200’
• ‘100 + 200’

• int
• float
• bool
• str

• str
• bool
• True
• False

• 32
• 44
• 40
• 36

#### Q.9. Which of the arithmetic operators given below cannot be used with ‘strings’ inPython?

• *
• – Ans.
• +
• All of the above

#### Q.10. Consider the list of instructions and resulting outputs given below. Pick the set that is incorrect.

• 4
• 2
• 1, 3
• 1, 3, 4
• All are correct

#### Q.11. Two variables Xand Y were assigned the following values initially: X = 3 and Y = 6. Which of the following statementswill help swap the values between these two variables?

• Y = X X = Y
• X = Y
• X = Y Y = X
• X, Y = Y, X
##### NPTEL Python for Data Science Assignment 1 Answers Join Group👇

Disclaimer: This answer is provided by us only for discussion purpose if any answer will be getting wrong don’t blame us. If any doubt or suggestions regarding any question kindly comment. The solution is provided by Brokenprogrammers. This tutorial is only for Discussion and Learning purpose.

#### About NPTEL Python for Data Science Course:

The course aims at equipping participants to be able to use python programming for solving data science problems.

##### Course Layout:
• Week 1:
• BASICS OF PYTHON SPYDER (TOOL)
• • Introduction Spyder
• • Setting working Directory
• • Creating and saving a script file
• • File execution, clearing console, removing variables from environment, clearing environment
• • Commenting script files
• • Variable creation
• • Arithmetic and logical operators
• • Data types and associated operations
• Week 2:
• Sequence data types and associated operations
• •        Strings
• •        Lists
• •        Arrays
• •        Tuples
• •        Dictionary
• •        Sets
• •        Range
• NumPy
• •        ndArray
• Week 3:
• Pandas dataframe and dataframe related operations on Toyota Corolla dataset
• Exploratory data analysis
• Data preparation and preprocessing
• Data visualization on Toyoto Corolla dataset using matplotlib and seaborn libraries
• Scatter plot
• Line plot
• Bar plot
• Histogram
• Box plot
• Pair plot
• Control structures using Toyota Corolla dataset
• if-else family
• for loop
• for loop with if break
• while loop
• Functions
• Week 4: CASE STUDY
• Regression
• Predicting price of pre-owned cars
• Classification
• Classifying personal income
###### CRITERIA TO GET A CERTIFICATE:

Average assignment score = 25% of average of best 8 assignments out of the total 12 assignments given in the course.
Exam score = 75% of the proctored certification exam score out of 100

Final score = Average assignment score + Exam score

YOU WILL BE ELIGIBLE FOR A CERTIFICATE ONLY IF AVERAGE ASSIGNMENT SCORE >=10/25 AND EXAM SCORE >= 30/75. If one of the 2 criteria is not met, you will not get the certificate even if the Final score >= 40/100.

If you have not registered for exam kindly register Through https://examform.nptel.ac.in/