[ Swayam (https://swayam.gov.in) ® rpesowayen gone
foNPTEL]
[email protected] ~
NPTEL (https://swayam.gov.inlexplorer?ncCode=NPTEL) » Data Science for Engineers (course)
If already
registered, click
to check your
payment status.
Course
outline
About NPTEL
0
How does an
NPTEL online
course work?
0
Setup Guide
0
Pre Course
Material ()
We
00
Week.1; Assignment 1
Your last recorded submission was on 2024-02-06, 23:00 IST Due date: 2024-02-07, 23:59 IST.
41) Which of the following variable names are INVALZD in R? 1 point
1 variable
Ovariable_1
_variabie
variable@
2) ‘The function Is() in R will 1 point
set a new working directory path
© tist al objects in our working environment
O display the path to our working directory
ONone ofthe above
Consider the following code snippet. Based on this, answer questions 3 and 4.
I= c(1, 2, 3, 4
Patient_name = c("Ram", "Shyan”, "Nandini", “Maya")
num.patient = 4
patient_list = List(nun.patient, ID, Patient_nane|
pAaueune
3), Which of the following command is used to access the value “Shyam”? 1 pointWeek 1 ()
Data science
for engineers
Course
philosophy and
‘expectation
(unit?
unit=218lesson
)
Introduction to
R (unit?
unit=218lesson
Introduction to
R (Continued)
(unit?
unit=218lesson
=24)
Variables and
datatypes in R
(unit?
unit
lesson
Recasting and
Joining of
dataframes
(unit?
unit=212lesson
Avithmetic, Logi
cal and Matric
‘operations in R
(unit?
unite21lesson
Advanced
programming in
R : Functions.
(unit?
unit=21lesson
)
prin(patient_list(3[2))
Oprin(patient ist31)
© printpationtist(3112)
Oprin(patienttst(2H12))
4) The output of the code given below is
in patient_list[1]){
(jin if
print(j
Code will throw an error
5) Whatis the output of following code?
Ointeger
ist
ONone of the above
6) State whether the given statement is True or False.
The library reshape? is based around two key functions named melt and cast.
1 point
1 point
1 pointAdvanced
Programming in
R : Functions
(Continued)
(unit?
Control!
Data
visualization in
ReBasic
‘graphis (unit?
unit=212lesson
=32)
Common
doubts asked
on R Language
(Week-1) (unit?
unit=212lesson
=33)
Practice: Week
1: Assignment
4 (Non Graded)
(assessment?
name=183)
(© Quiz: Week 1:
Assignment 1
(assessment?
Week 1
Feedback Form
Data Science
For Engineers
Week 2 ()
Week 3 ()
Text
Transcripts ()
OFalse
7), What is the output of following code?
A = matrix(c(9:1), 3, 3)
print(A[3, 2])
Os
@s
C2
Os
Create the data frame using the code given below and answer questions 8 and 9,
1 point
student data = data frame(student_id=c(1:4), student_name=c( Ram Harish ‘Pradeep’ Rajesh’)
8) Choose the correct command to add a column named student_dept to the dataframe 1 point
student_data,
GZ student datastudent_dept=c(Commerce’ ‘Biology’ “English, “Tami)
‘student_data[“student_dept"]= ¢("Commerce", "Biology", “English",“Tamil")
Cistudent_dept= student_datal("Commerce","Biology”"Englsh’ Tami]
(None of the above
9) Choose the correct command to access the element Tamil in the dataframe
student_data.
O student_data({4]]
O student_datall4iii3}
© student_ datas]
ONone of the above
10) The command to check if value is of numeric data type is
Otypeot()
© is mamericd)
as numerit)
None of the above
1 point
1 point
‘You may submit any number of times before the due date, The final submission will be considered
for grading,
‘Submit AnswersDownload
Videos ()
Books ()
Problem
Solving
Session - Jan
2024 ()