Q. What is the purpose of a glue language?

  • (A) Format data
  • (B) Producte data
  • (C) Collectc data
  • (D) Both Format and Collectc
πŸ’¬ Discuss
βœ… Correct Answer: (D) Both Format and Collectc
Explanation: A glue language is generally used to collect and format the data.

Q. Why do we use Adobe Illustrator along with R?

  • (A) Collect the relevant data
  • (B) Format the chart and to correct the errors
  • (C) Tighten and format the chart
  • (D) Ingest and process the chart
πŸ’¬ Discuss
βœ… Correct Answer: (C) Tighten and format the chart
Explanation: The Adobe Illustrator is used along with R to tighten and format the chart.

Q. What does the R language do?

  • (A) Tighten and format the chart
  • (B) Ingest and process the chart
  • (C) Format and Ingest the chart
  • (D) None of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (B) Ingest and process the chart
Explanation: The R language is generally used to collect data that has been collected by the glue language and then ingest and process and chart.

Q. What kind of data can be run in R?

  • (A) Binary
  • (B) Text
  • (C) Decimals
  • (D) All kinds
πŸ’¬ Discuss
βœ… Correct Answer: (D) All kinds
Explanation: All kinds of data can be run in R.

Q. R is an extension of which of the following language?

  • (A) C
  • (B) C++
  • (C) S
  • (D) None of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (C) S
Explanation: R is an extension of and successor to the S language, which was itself a statistical language created in 1976 by John Chambers while at Bell Labs.

Q. How can we define 'undefined value' in R language?

  • (A) Inf
  • (B) Sup
  • (C) Und
  • (D) NaN
πŸ’¬ Discuss
βœ… Correct Answer: (D) NaN

Q. What will be the output of the following R program?
y <- 0:5
vector(y)
y[3]

  • (A) Error in vector(y): invalid 'mode' argument
  • (B) 1
  • (C) 4
  • (D) 3
πŸ’¬ Discuss
βœ… Correct Answer: (A) Error in vector(y): invalid 'mode' argument

Q. Is It possible to inspect the source code of R?

  • (A) Yes
  • (B) No
  • (C) Can't say
  • (D) Some times
πŸ’¬ Discuss
βœ… Correct Answer: (A) Yes

Q. In the expression x <- 4 in R, what is the class of 'x' as determined by the `class()' function?

  • (A) Character
  • (B) Numeric
  • (C) Integer
  • (D) Word
πŸ’¬ Discuss
βœ… Correct Answer: (B) Numeric

Q. How can we define 'infinity' in R language?

  • (A) Inf
  • (B) Sup
  • (C) Und
  • (D) NaN
πŸ’¬ Discuss
βœ… Correct Answer: (A) Inf