Menu
Popular Courses
Search

MCQs


Total Questions : 10
Question 1. Files containing R scripts ends with extension :
  1.    .S
  2.    .R
  3.    .Rp
  4.    All of the mentioned
 Discuss Question
Answer: Option B. -> .R


Under many versions of UNIX and on Windows, R provides a mechanism for recalling and re-executing previous commands.


Question 2. 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 :
  1.    source(commands.R")
  2.    exec(commands.R")
  3.    execute(commands.R")
  4.    All of the mentioned
 Discuss Question
Answer: Option B. -> exec(commands.R")


For Windows, Source is also available on the File menu.


Question 3. R functionality is divided into a number of ________
  1.    Packages
  2.    Functions
  3.    Domains
  4.    All of the mentioned
 Discuss Question
Answer: Option A. -> Packages


CRAN also hosts many add-on packages that can be used to extend the functionality of R.


Question 4. Point out the wrong statement :
  1.    R is a language for data analysis and graphics
  2.    K is language for statistical modelling and graphics
  3.    One key limitation of the S language was that it was only available in a commercial package, S-PLUS
  4.    None of the mentioned
 Discuss Question
Answer: Option B. -> K is language for statistical modelling and graphics


In 1996, a public mailing list was created (the R-help and R-devel lists) and in 1997 the R Core Group was formed, containing some people associated with S and S-PLUS.


Question 5. In 2004, ________ purchased the S language from Lucent for $2 million.
  1.    Insightful
  2.    Amazon
  3.    IBM
  4.    All of the mentioned
 Discuss Question
Answer: Option A. -> Insightful


TIBCO is the current owner of the S language and is its exclusive developer.


Question 6. Which of the following is "Recommended package in R ?
  1.    util
  2.    lang
  3.    stats
  4.    spatial
 Discuss Question
Answer: Option D. -> spatial


"Recommended packages also include boot, class, cluster, codetools, foreign, KernSmooth, lattice, mgcv, nlme, rpart, survival, MASS, nnet, Matrix.


Question 7. Command lines entered at the console are limited to about ________ bytes.
  1.    3000
  2.    4095
  3.    5000
  4.    None of the mentioned
 Discuss Question
Answer: Option B. -> 4095


Elementary commands can be grouped together into one compound expression by braces ('{' and '}').


Question 8. Elementary commands in R consist of either _______ or assignments.
  1.    utilstats
  2.    language
  3.    expressions
  4.    None of the mentioned
 Discuss Question
Answer: Option C. -> expressions


If an expression is given as a command, it is evaluated, printed (unless specifically made invisible), and the value is lost.


Question 9. Which of the following will start the R program ?
  1.    $ R
  2.    R
  3.    * R
  4.    All of the mentioned
 Discuss Question
Answer: Option A. -> $ R


At this point R commands may be issued.


Question 10. Advanced users can write ___ code to manipulate R objects directly.
  1.    C
  2.    C++
  3.    Java
  4.    None of the mentioned
 Discuss Question
Answer: Option A. -> C


For computationally-intensive tasks, C, C++ and Fortran code can be linked and called at run time.


Share this page with your friends!

Share this page with your friends!

Latest Videos

Chapter 1 - GLOBAL STEEL SCENARIO & INDI Part 1 : (13-04-2024) INDUSTRY AND COMPANY AWARENESS (ICA)
Direction Sense Test Part 1 Reasoning (Hindi)
Chapter 1 - RMHP / OHP / OB & BP Part 1 : (14-02-2024) GPOE
Cube & Cuboid Part 1 Reasoning (Hindi)
Data Interpretation (DI) Basic Concept Reasoning (Hindi)
Counting Figures Part 1 Counting Of Straight Lines Reasoning (Hindi)
Real Numbers Part 7 Class 10 Maths
Real Numbers Part 1 Class 10 Maths
Polynomials Part 1 Class 10 Maths

Latest Test Papers

Chapter 3.1 : Overview of Finance & Acco Chapter 3 : Finance & Accounts SAIL E0 - GFM 2024
Chapter 2.1 : Overview Chapter 2 : Materials Management SAIL E0 - GFM 2024
Chapter 1.1 : Personnel Functions- An ov Chapter 1 : Personnel Management SAIL E0 - GFM 2024
GPOE / GPA Combined 1 Free CBT Mock Test SAIL E0 2024
CBT Mixed Test 1 GPOE/GPA SAIL E0 2024