NPTEL Data Science for Engineers Assignment 1 Answers 2023

Hello NPTEL Learners, In this article, you will find NPTEL Data Science for Engineers Assignment 1 Week 1 Answers 2023. All the Answers are provided below to help the students as a reference don’t straight away look for the solutions, first try to solve the questions by yourself. If you find any difficulty, then look for the solutions.

NPTEL Data Science for Engineers Assignment 2 Answers 2023 Join Group👇
NPTEL Principles of Management Assignment 1 Answers 2023

Note: We are trying to give our best so please share with your friends also.

NPTEL Data Science for Engineers Assignment 1 Answers 2023
NPTEL Data Science for Engineers Assignment 1 Answers 2023

NPTEL Data Science for Engineers Assignment 1 Answers 2023:

We are updating answers soon Join Group for update: CLICK HERE

Q.1. The function “ ls() ” in R will

  • set a new working directory path
  • list all objects in our working environment
  • display the path to our working directory
  • list all files in our working directory

Q.2. Consider the following code:

NPTEL Data Science for Engineers Assignment 1 Answers 2023

If a room temperature of 20 degree Celsius is input to the above code, choose the output displayed:

  • “The room is chilly. Please turn the heater on!”
  • “The room is warm” “Enjoy the stay!”
  • “The room is hot” “Please turn the air conditioning on!”
  • None of the above

Q.3. Consider the code below to create a dataframe city_data: 

NPTEL Data Science for Engineers Assignment 1 Answers 2023

Choose the correct answer based on the output expected on running the below code.

NPTEL Data Science for Engineers Assignment 1 Answers 2023

  • In the column weather in dataframe city_data, “Rain” is replaced by “Snowy”
  • In the column name in dataframe city_data, “City C” is replaced by “Snowy”
  • No change occurs to the entries in the dataframe city_data
  • The code raises an error
NPTEL Data Science for Engineers Assignment 2 Answers Join Group👇
NPTEL Data Science for Engineers Assignment 1 Answers 2023

Q.4. Consider the code given below.

NPTEL Data Science for Engineers Assignment 1 Answers 2023

Choose the correct command to access the variable “Cloudy” 

  • city_weather[[4]][2]
  • city_weather[[5]]
  • city_weather[[2]][2]
  • None of the above

Q.5. Consider the following code.

             A = matrix(c(1:42), nrow = 6, ncol = 7, byrow = T)

             B = A[-2,] 

Based on the output of the above code, choose the correct options from the following

  • B is a matrix consisting of only elements of the second row of matrix A
  • B is a matrix consisting of same elements as that of A
  • The code raises an error
  • B is a matrix consisting of all elements of A excluding the second row

Q.6. The parameter “collapse” in the function paste()

  • adjusts the display of the string to left, right or center
  • add space in between two strings
  • eliminates the space in between two strings
  • eliminates the space within two words in a string

Q.7. Consider the following code in R. 

NPTEL Data Science for Engineers Assignment 1 Answers 2023

If we supply 4 as an argument to the function  find.function, after executing the above code, the result displayed would be

  • the numbers “1,2,3,4”
  • the numbers “1,4,9,16”
  • the number “4”
  • None of the above
NPTEL Data Science for Engineers Week 1 Answers Join Group👇
CLICK HERE

Q.8. The operator %in% is used for

  • multiplication of a matrix with its transpose
  • generating a sequence of numbers in a vector
  • identifying if an element belongs to a vector
  • none of the above

Q.9. The output of compiling and executing the following code in R would be

NPTEL Data Science for Engineers Assignment 1 Answers 2023

  • The term “Green” “apple” printed 5 times.
  • The term “Green apple” printed 3 times.
  • The term “Green” printed 4 times
  • The term “Green” “apple” printed 4 times.

Q.10. The “next” statement in R programming is useful

  • for skipping the current iteration of a loop without terminating it.
  • for terminating the current iteration of a loop.
  • for evaluating the current iteration of a loop without terminating it.
  • None of the above
NPTEL Data Science for Engineers Assignment 1 Answers Join Group👇
NPTEL Data Science for Engineers Assignment 1 Answers 2023

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 Chase2learn. This tutorial is only for Discussion and Learning purpose.

About NPTEL Data Science for Engineers Course:

Learning Objectives :

  1. Introduce R as a programming language 
  2. Introduce the mathematical foundations required for data science 
  3. Introduce the first level data science algorithms 
  4. Introduce a data analytics problem solving framework
  5. Introduce a practical capstone case study

Learning Outcomes:

  1. Describe a flow process for data science problems (Remembering) 
  2. Classify data science problems into standard typology (Comprehension)
  3. Develop R codes for data science solutions (Application) 
  4. Correlate results to the solution approach followed (Analysis)
  5. Assess the solution approach (Evaluation) 
  6. Construct use cases to validate approach and identify modifications required (Creating) 
Course Outcome:
  • Week 1:  Course philosophy and introduction to R  
  • Week 2:  Linear algebra for data science 
  •                 1. Algebraic view – vectors, matrices, product of matrix & vector, rank, null space, solution of over-determined set of equations and pseudo-inverse) 
  •                 2. Geometric view – vectors, distance, projections, eigenvalue decomposition
  • Week 3:  Statistics (descriptive statistics, notion of probability, distributions, mean, variance, covariance, covariance matrix, understanding univariate and multivariate normal distributions, introduction to hypothesis testing, confidence                        interval for estimates)  
  • Week 4:  Optimization
  • Week 5:  1. Optimization
  • 2. Typology of data science problems and a solution framework
  • Week 6:  1. Simple linear regression and verifying assumptions used in linear regression 
  • 2. Multivariate linear regression, model assessment, assessing importance of different variables, subset selection
  • Week 7:  Classification using logistic regression
  • Week 8:  Classification using kNN and k-means clustering
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/

Join Our Telegram Group:- CLICK HERE

Sharing Is Caring