0% found this document useful (0 votes)
52 views

Advanced Algorithmic Trading and Portfolio Management - Unit 3 - Week 1

Uploaded by

Donkey Donkey
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
52 views

Advanced Algorithmic Trading and Portfolio Management - Unit 3 - Week 1

Uploaded by

Donkey Donkey
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

8/7/23, 1:22 PM Advanced Algorithmic Trading And Portfolio Management - - Unit 3 - Week 1

Assessment submitted.
(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)
X

[email protected]

NPTEL (https://swayam.gov.in/explorer?ncCode=NPTEL) » Advanced Algorithmic Trading And

Portfolio Management (course)


Click to register
for Certification
exam
Thank you for taking the Week 1:
Assignment 1.
(https://examform.nptel.ac.in/2023_10/exam_form/dashboard)

If already
registered, click
to check your
Week 1: Assignment 1
payment status Your last recorded submission was on 2023-08-07, 13:22 Due date: 2023-08-09, 23:59 IST.
IST

1) The following code will provide the bar plot of a numeric time series x 1 point
Course
outline barplot(x, ylab="Value", xlab="Date")
plot(x, ylab="Value", xlab="Date")
How does an bar(x, ylab="Value", xlab="Date")
NPTEL barplot(x, y, ylab="Value", xlab="Date")
online
course
2) The following code will provide the density distribution of a numeric 1 point
work? ()
variable x
Week 0 () plot(x)
hist(x)
Week 1 ()
hist(x, prob= T)
Lesson 1: barplot(x)
Fundamentals
of R (unit? 3) Which of the following command is used to attach or load the package in 1 point
unit=18&lesson=28)
R?
Lesson 2:
Data Cleaning attach()
(unit? library()
unit=18&lesson=23)
install.package()
Lesson 3 : detach()
Data
Visualization
4) Point out the correct statement. 1 point

https://onlinecourses.nptel.ac.in/noc23_mg119/unit?unit=18&assessment=22 1/3
8/7/23, 1:22 PM Advanced Algorithmic Trading And Portfolio Management - - Unit 3 - Week 1

(unit? c() function is used to combine elements in the vector.


Assessment submitted.
unit=18&lesson=24)
X The hash ## symbol is used to assign value to variable.
Quiz: Week 1:
NA shows undefined values in R.
Assignment 1
(assessment? The NaN represents missing values in the dataset.
name=22)
5) Point out the correct statement about c() function. 1 point
Feedback
Form for week
To extract rows.
1 (unit? To extract columns.
unit=18&lesson=26)
To combine elements.
Week 2 () To extract the rows and columns.

Week 3 () 6) Which of the following statements is correct? 1 point

"<-" is used to assign value.


"=" is always for testing equality.
"!!=" is "not-equal-to operator".
"<"is used for "less than or equal to".

7) Which of the following sequence is used to load the in-built data (taking 1 point
the example of gala. data) and view the data in R?

install.packages(“galah”), data(“gala”)
install.packages(“galah”), library(galah), data(“gala”)
library(galah), data(“gala”), view(gala)
install.packages(“galah”), library(galah), data(“gala”), view(gala)

8) In R studio, scripts will run on: 1 point

script editor
Console
Environment
Plot

9) Which of the following statements is incorrect? 1 point

4^2+5-3 will give you an output of 10


4^2+5-3 will give you an output of 18
5+3 will give output of 8
5-3 will give an output of 2

10) Whichof the following codes is used to extract/check the first few 1 point
observations from the dataset?
tail()
head()
view()
summary()

https://onlinecourses.nptel.ac.in/noc23_mg119/unit?unit=18&assessment=22 2/3
8/7/23, 1:22 PM Advanced Algorithmic Trading And Portfolio Management - - Unit 3 - Week 1

You may submit any number of times before the due date. The final submission will be
Assessment submitted. considered for grading.
X
Submit Answers

https://onlinecourses.nptel.ac.in/noc23_mg119/unit?unit=18&assessment=22 3/3

You might also like