R Language quiz questions

R Language interview questions

  • 1.

    Which of the following involves predicting a categorical response ?

    1. Regression

    2. Summarization

    3. Clustering

    4. Classification

    Answer
  • 2.

    _________ involves predicting a response with meaningful magnitude, such as quantity sold, stock price, or return on investment.

    1. Regression

    2. Summarization

    3. Clustering

    4. All of the mentioned

    Answer
  • 3.

    ________ is rapidly being adopted for computing descriptive and query types of analytics on Big data.

    1. EDR

    2. Hadoop

    3. Azure

    4. All of the mentioned

    Answer
  • 4.

    ______ is an integrated hosted analytics platform for marketing insights, predictive models, and marketing optimization”

    1. LityxEQ

    2. WatSon

    3. LityxIQ

    4. All of the mentioned

    Answer
  • 5.

    The IBM _________ analytics appliances combine high-capacity storage for Big Data with a massively-parallel processing platform for high-performance computing.

    1. Watson.

    2. Netezza

    3. InfoSight

    4. All of the mentioned

    Answer
  • 6.

    The purpose of correct.cor is to correct _________ in values.

    1. difference

    2. reliability

    3. error

    4. None of the mentioned

    Answer
  • 7.

    Which of the following gives the summary of values likes mean etc ?

    1. mean

    2. sd

    3. describe

    4. All of the mentioned

    Answer
  • 8.

    Which of the following count the number of good cases when doing pairwise analysis ?

    1. count.pairwise

    2. count() +

    3. anova.para()

    4. All of the mentioned

    Answer
  • 9.

    Which of the following is used to plot multiple histograms ?

    1. multi.plot()

    2. multi.hist

    3. xyplot.multi()

    4. All of the mentioned

    Answer
  • 10.

    Which of the following convert a matrix of phi coefficients to polychoric correlations ?

    1. poly()

    2. qline()

    3. phi2poly

    4. All of the mentioned

    Answer
  • 11.

    Which of the following syntax is used to install forecast package ?

    1. install.pack(“forecast”)

    2. install.packages(“cast”)

    3. install.packages(“forecast”)

    4. All of the mentioned

    Answer
  • 12.

    ________ provides needed string operators in R.

    1. str

    2. forecast

    3. stringr

    4. All of the mentioned

    Answer
  • 13.

    ________ makes it incredibly easy to fit time series models like ARIMA, ARMA, AR, Exponential Smoothing, etc.

    1. sqldf

    2. plyr

    3. forecast

    4. All of the mentioned

    Answer
  • 14.

    ______ splits a data frame and results an array (hence the da). Hopefully you’re getting the idea here.

    1. apply

    2. daply

    3. stats

    Answer
  • 15.

    ______ let’s you perform SQL queries on your R data frames.

    1. sqldf

    2. plyr

    3. forecast

    4. All of the mentioned

    Answer
  • 16.

    Which of the following is used for reading tabular data ?

    > y <- data.frame(a = 1, b = "a")
    > dput(y, file = "y.R")
    > new.y <- dget("y.R")
    > new.y

     

    1. a b
      1 1 a
    2. a b
      1 2 b
    3. a b
      2 1 a
    4. None of the mentioned

    Answer
  • 17.

    What is the result of the following code ?

    > y <- data.frame(a = 1, b = "a")
    > dput(y)

     

    1. structure(list(a = 1, b = list(1L, .Label = "a", class = "factor")), .Names\
      = c("a",
      "b"), row.names = c(NA, -1L), class = "data.frame")

       

    2. list(list(a = 1, b = list(1L, .Label = "a", class = "factor")), .Names\
      = c("a",
      "b"), row.names = c(NA, -1L), class = "data.frame")

       

    3. structure(list(a = 1, b = structure(1L, .Label = "a", class = "factor")), .Names\
      = c("a",
      "b"), row.names = c(NA, -1L), class = "data.frame")

       

    4. None of the mentioned

    Answer
  • 18.

    Which of the followin code would read 100 rows ?

    1. initial <- read.table("datatable.txt", nrows = 100)

    2. tabAll <- read.table("datatable.txt", colClasses = classes)

    3. initial <- read.table("datatable.txt", nrows = 99)

    4. All of the mentioned

    Answer
  • 19.

    Which of the following function is identical to read.table ?

    1. read.csv

    2. read.data

    3. read.tab

    4. None of the mentioned

    Answer
  • 20.

    Which of the following statement would read file “foo.txt” ?

    1. data <- read.table("foo.txt")

    2. read.data <- read.table("foo.txt")

    3. data <- read.data("foo.txt")

    4. None of the mentioned

    Answer

© 2017 QuizBucket.org