NPTEL Python for Data Science Assignment 1 Answers 2024

NPTEL Python for Data Science Assignment 1 Answers 2024

Hello learners In this article we are going to discuss NPTEL Python for Data Science Assignment 1 Answers. All the Answers provided below to help the students as a reference, You must submit your assignment with your own knowledge and use this article as reference only.

About the course:-

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

NPTEL Python for Data Science Assignment 1 Answers 2024:

1. What is the output of the following code?

Answer :- b

2. What is the output of the following code?

Answer :- b

3. Consider a following code snippet. What is a data type of y

Answer :- c

4. Which of the following variable names are INVALID in Python?

Answer :- a,d

5. While naming the variable, use of any special character other than underscore(_) will throw which type of error?

Answer :- a

6. Let x = “Mayur”. Which of the following commands converts the ‘x’ to float datatype?

Answer :- d

7. Which Python library is commonly used for data wrangling and manipulation?

Answer :- b

8. Predict the output of the following code.

Answer :- b

9. Given two variables, j = 6 and g = 3.3. If both normal division and floor division operators were used to divide j by g, what would be the data type of the value obtained from the operations?

Answer :- b

10. Let a = 5 (101 in binary) and b = 3 (011 in binary). What is the result of the following operation?

Answer:- d