NPTEL Data Science for Engineers Assignment 1 Answers 2022

NPTEL Data Science for Engineers ASSIGNMENT 1 Answers:- Hello students in this article we are going to share NPTEL Data Science for Engineers assignment week 1 answers. All the Answers provided below to help the students as a reference, You must submit your assignment at your own knowledge.

About Data Science for Engineers Course:-

Operating systems (OS) provide the crucial interface between a computer’s hardware and the applications that run on it. It allows us to write programs without bothering much about the hardware. It also ensures that the computer’s resources such as its CPU, hard disk, and memory, are appropriately utilized. In this course, we dwell into how the OS manages to do all this in an efficient manner. This is an introductory course, for students with prior knowledge of computer organization

Criteria to get Certificate:-

This course is a week 12 course the best of 8 out 12 assignments marks will be calculated for final result.

Below are mentioned criteria for final result

Average assignment score = 25% of average of best 6 assignments out of the total 8 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.

Below you can find NPTEL Data Science for Engineers Assignment 1 Answers

NPTEL Data Science for Engineers Assignment 1 Answers 2022:-

Q1. Choose the variable name(s) that are valid in R.

a. emp_name = “Ram”
b. emp.name = “Ram”
c. empname1 = “Ram”
d. 1empname = “Ram”

Q2. The function ls() in R will

a. set a new working directory path
b. list all objects in our working environment
c. display the path to our working directory
d. None of the above

Q3. Consider the following code in R.

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

a. the numbers “1,2,3,4”
b. the numbers “1,4,9,16”
c. the number “4”
d. None of the above

Q4. The next statement in R programming is useful

a. for skipping the current iteration of a loop without terminating it
b. for terminating the current iteration of a loop
C. for evaluating the current iteration of a loop without terminating it
d. None of the above

Create the data frame using the code given below and answer questions 5 and 6

Q5. Choose the correct command to add a column named student_dept to the dataframe student_data

a. student_data\$student_dept=c(“Commerce”,”Biology”,”English”,”Tamil”)
b. student_data[“student_dept”]= c(“Commerce”,”Biology”,”English”,”Tamil”)
C. student_dept= student_data[c(“Commerce”,”Biology”,”English”,”Tamil”)]
d. None of the above

Q6. Choose the correct command to access the element Tamil in the dataframe student_data

a. student_data[[4]]
b. student_data[[4]][3]
C. student_data[[3]][4]
d. None of the above

Q7. State whether the given statement is True or False.

The library reshape2 is based around two key functions named melt and cast.

a. True
b. False

Q8. Consider the following code.

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

a. “The room is cold. Please turn the heater on!”
b. “The room is warm” “Enjoy the stay!”
C. “The room is hot” “Please turn the air conditioning on!”
d. None of the above

Q9. Table 1 provides the scores of the students in three subjects. Create a data frame called students_scores out of Table 1. Which of the following options gives Table 2 as an output?

a. melt(students_scores, id.vars = c(“Name”), measure.vars = c(“Mathematics”, “English”,”Science”))
b. melt(students_scores, id.vars = c(“Name”,”Mathematics”), measure.vars = c( “English”,”Science”))
C. dcast(students_scores, variable+Name ~ Science , value.var=”value”)
d. None of the above

Q10. The command to check if a value is of numeric data type is ___

a. typeof()
b. is.numeric()
C. as.numeric()
d. Zigbee protocol support