R Programming Questions and Answers – Overview of R – 1

This set of R Programming Language Multiple Choice Questions & Answers (MCQs) focuses on “Overview of R – 1”.

1. They primary R system is available from the ______
a) CRAN
b) CRWO
c) GNU
d) CRDO
View Answer

Answer: a
Explanation: CRAN stands for Comprehensive R Archive Network.

2. Point out the wrong statement?
a) Key feature of R was that its syntax is very similar to S
b) R runs only on Windows computing platform and operating system
c) R has been reported to be running on modern tablets, phones, PDAs, and game consoles
d) R functionality is divided into a number of Packages
View Answer

Answer: b
Explanation: R runs on almost any standard computing platform and operating system.

3. R functionality is divided into a number of ________
a) Packages
b) Functions
c) Domains
d) Classes
View Answer

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

4. Which Package contains most fundamental functions to run R?
a) root
b) child
c) base
d) parent
View Answer

Answer: c
Explanation: base package in R contains the most fundamental functions.

advertisement
advertisement

5. Point out the wrong statement?
a) One nice feature that R shares with many popular open source projects is frequent releases
b) R has sophisticated graphics capabilities
c) S’s base graphics system allows for very fine control over essentially every aspect of a plot or graph
d) All of the mentioned
View Answer

Answer: c
Explanation: R has maintained the original S philosophy, which is that it provides a language that is both useful for interactive work, but contains a powerful programming language for developing new tools.

6. Which of the following is a base package for R language?
a) util
b) lang
c) tools
d) spatial
View Answer

Answer: c
Explanation: The other packages contained in the “base” system include utils, stats, datasets, graphics, grDevices, grid, methods, parallel, compiler, splines, tcltk, stats4.

Note: Join free Sanfoundry classes at Telegram or Youtube

7. Which of the following is “Recommended” package in R?
a) util
b) lang
c) stats
d) spatial
View Answer

Answer: d
Explanation: “Recommended” packages also include boot, class, cluster, codetools, foreign, KernSmooth, lattice, mgcv, nlme, rpart, survival, MASS, nnet, Matrix.

8. What is the output of getOption(“defaultPackages”) in R studio?
a) Installs a new package
b) Shows default packages in R
c) Error
d) Nothing will print
View Answer

Answer: b
Explanation: There are base packages (which come with R automatically), and contributed packages. The base packages are maintained by a select group of volunteers called R Core. In addition to the base packages, there are over ten thousand additional contributed packages written by individuals all over the world.

advertisement

9. Advanced users can write ___ code to manipulate R objects directly.
a) C, C++
b) C++, Java
c) Java, C
d) Java
View Answer

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

10. Which of the following is used for Statistical analysis in R language?
a) RStudio
b) Studio
c) Heck
d) KStudio
View Answer

Answer: a
Explanation: RStudio is a web application framework for R.

advertisement

Sanfoundry Global Education & Learning Series – R Programming Language.

Here’s the list of Best Books in R Programming Language.

To practice all areas of R Programming Language, Here is complete set of 1000+ Multiple Choice Questions and Answers.

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.