Introduction To R Programming - Study Mode

[#76] What will be the output of the following R code? a <- (“a” , “b”)
mode(a)
Correct Answer

(A) Character

[#77] If commands are stored in an external file, say commands.R in the working directory work, they may be executed at any time in an R session with the command . . . . . . . .
Correct Answer

(A) source("commands.R")

[#78] Which of the following will start the R program?
Correct Answer

(A) $ R

[#79] What will be the output of the following R function? nchar()
Correct Answer

(A) no. of characters

[#80] What is the meaning of the following R function? print( sqrt(2) )
Correct Answer

(B) 1.414214