Q1

True

Q2

False

Q3

True

Q4

A, B, C, D

Q5

True

Q6

A and D

library(quantmod)
## Warning: package 'quantmod' was built under R version 4.5.2
## Loading required package: xts
## Warning: package 'xts' was built under R version 4.5.2
## Loading required package: zoo
## 
## Attaching package: 'zoo'
## The following objects are masked from 'package:base':
## 
##     as.Date, as.Date.numeric
## Loading required package: TTR
## Registered S3 method overwritten by 'quantmod':
##   method            from
##   as.zoo.data.frame zoo
getSymbols("MSFT", src = "yahoo", from = "2025-10-01", to = "2026-01-31")
## [1] "MSFT"

Q7

C and F

Q8

C (84)

nrow(MSFT)
## [1] 84

Q9

C (Oct 27 – Nov 4)

plot(MSFT$MSFT.Open)

index(MSFT)[which.max(MSFT$MSFT.Open)]
## [1] "2025-10-28"