Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
46 views4 pages

Data Science For Engineers - Unit 6 - Week 1

The document outlines the structure and content of the 'Data Science for Engineers' course offered by NPTEL, including assignments, quizzes, and topics covered in Week 1. It provides details on variable names in R, functions, data frames, and basic operations in R programming. Additionally, it includes instructions for registration, submission deadlines, and feedback mechanisms.

Uploaded by

pavankumar tvv
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
46 views4 pages

Data Science For Engineers - Unit 6 - Week 1

The document outlines the structure and content of the 'Data Science for Engineers' course offered by NPTEL, including assignments, quizzes, and topics covered in Week 1. It provides details on variable names in R, functions, data frames, and basic operations in R programming. Additionally, it includes instructions for registration, submission deadlines, and feedback mechanisms.

Uploaded by

pavankumar tvv
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

X

(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)

[email protected]

NPTEL (https://swayam.gov.in/explorer?ncCode=NPTEL) » Data Science for Engineers (course)


Click to register
for Certification
exam
Week 1 : Assignment 1
(https://examform.nptel.ac.in/2025_10/exam_form/dashboard)
Your last recorded submission was on 2025-07-23, 12:39 Due date: 2025-08-06, 23:59 IST.
IST
If already
registered, click 1) Which of the following variable names are INVALID in R? 1 point
to check your
payment status 1_variable
variable_1
_variable
variable@
Course
outline
2) The function ls() in R will 1 point

About set a new working directory path


NPTEL ()
list all objects in our working environment

How does an display the path to our working directory


NPTEL None of the above
online
course
Consider the following code snippet. Based on this, answer questions 3 and 4.
work? ()

Week 1 ()

Data science
for engineers
Course
philosophy
and
expectation
(unit? 3) Which of the following command is used to access the value “Shyam”? 1 point
unit=21&lesso
n=22) print(patient_list[3][2])
print(patient_list[[3]][1])
Introduction to print(patient_list[[3]][2])
R (unit?
print(patient_list[[2]][2])
unit=21&lesso
n=23) 4) What does the following R code produce? 1 point

Introduction to
R (Continued)
(unit?
unit=21&lesso
n=24)
“apple”
Variables and “banana”
datatypes in R
“cherry”
(unit?
unit=21&lesso Error
n=25)
5) What is the output of following code? 1 point
Data frames
(unit?
unit=21&lesso
n=26)

Recasting and
joining of double
dataframes
integer
(unit?
unit=21&lesso list
n=27) None of the above

Arithmetic,Logi
cal and Matrix 6) State whether the given statement is True or False. 1 point
operations in The library reshape2 is based around two key functions named melt and cast.
R (unit?
unit=21&lesso True
n=28) False
Advanced
programming 7) What does the following R code return? 1 point
in R :
Functions
(unit?
unit=21&lesso
n=29)

Advanced 5, 10, 15, 20


Programming 15, 20
in R :
10, 15, 20
Functions
(Continued) Error
(unit?
unit=21&lesso 8) What is the output of the following R code? 1 point
n=30)

Control
structures
(unit?
unit=21&lesso
n=31)
Data 1, 2, 3
visualization in
0, 1, 2
R Basic
graphics (unit? 1, 2, 3, 4
unit=21&lesso Error
n=32)

Common
Create the data frame using the code given below and answer questions 9 and 10.
doubts asked
on R student_data =
Language data.frame(student_id=c(1:4),student_name=c(‘Ram’,‘Harish’,‘Pradeep’,‘Rajesh’))
(Week-1)
(unit?
9) Choose the correct command to add a column named student_dept to the 1 point
unit=21&lesso dataframe student_data.
n=33)
student_datastudent_dept=c(“Commerce”, “Biology”, “English”, “Tamil”)
Week 1
student_data[“student_dept”]= c(“Commerce”,“Biology”, “English”,“Tamil”)
Feedback
Form : Data student_dept= student_data[c(“Commerce”,“Biology”,“English”,“Tamil”)]
Science for None of the above
Engineers!!
(unit?
10) Choose the correct command to access the element Tamil in the dataframe 1 point
unit=21&lesso
student_data.
n=153)

Quiz: Week 1 student_data[[4]]


: Assignment student_data[[4]][3]
1
student_data[[3]][4]
(assessment?
name=236) None of the above

Text 11) The command to check if a value is of numeric data type is ______. 1 point
Transcripts
() typeof()
is.numeric()
Books ()
as.numeric()
None of the above

12) What will the following R code return? 1 point

6
5
9
Error

13) What is the result of the following R code? 1 point


[1] 8 10 12
[2] 14 16 18
[1] [2] [3]
[1] 8 12 16
[2] 10 14 18
[1] 8 9 10 11 12 13
Error
You may submit any number of times before the due date. The final submission will be
considered for grading.
Submit Answers

You might also like