Data Science Questions and Answers – Literate Statistical Programming – 2

This set of Data Science Quiz focuses on “Literate Statistical Programming – 2”.

1. Original idea comes of Literate Statistical Practice from _______________
a) Don Knuth
b) Don Cutting
c) Douglas Cutting
d) All of the mentioned
View Answer

Answer: a
Explanation: Literate programs are tangled to produce machine readable documents.

2. Point out the correct statement.
a) An article is stream of code and text
b) Analysis code is divided in to code chunks only
c) Literate programs are tangled to produce human readable documents
d) None of the mentioned
View Answer

Answer: a
Explanation: Analysis code is divided in to code chunks and text.

3. Which of the following is required for literate programming?
a) documentation language
b) mapper language
c) reducer language
d) all of the mentioned
View Answer

Answer: a
Explanation: Programming language is also required for literate programming.

4. Which of the following is required to implement a literate programming system?
a) A programming language like Perl
b) A programming language like Java
c) A programming language like R
d) All of the mentioned
View Answer

Answer: c
Explanation: R is a language and environment for statistical computing and graphics.

advertisement
advertisement

5. Which of the following way is required to make work reproducible?
a) keep track of things
b) Save output
c) Save data in proprietary formats
d) None of the mentioned
View Answer

Answer: a
Explanation: Save data in NON proprietary formats to make work reproducible.

6. Which of the following disadvantage does literate programming have?
a) Slow processing of documents
b) Code is not automatic
c) No logical order
d) All of the mentioned
View Answer

Answer: a
Explanation: Code and text is in one place.

Sanfoundry Certification Contest of the Month is Live. 100+ Subjects. Participate Now!

7. knitr supports only one documentation language.
a) True
b) False
View Answer

Answer: b
Explanation: knitr supports various documentation languages.

8. Which of the following tool documentation language is supported by knitr?
a) RMarkdown
b) LaTeX
c) HTML
d) None of the mentioned
View Answer

Answer: a
Explanation: knitr is available on CRAN.

advertisement

9. Which of the following package by Yihui is built in to RStudio environment?
a) rpy2
b) knitr
c) ggplot2
d) none of the mentioned
View Answer

Answer: b
Explanation: It can be exported to pdf and html.

10. Literate program code is live-automatic “regression test” when building a document.
a) True
b) False
View Answer

Answer: a
Explanation: Data and results are automatically updated to reflect external changes.

advertisement

Sanfoundry Global Education & Learning Series – Data Science.

Here’s the list of Best Books in Data Science.

To practice all areas of Data Science for quizzes, Here is complete set of 1000+ Multiple Choice Questions and Answers.

If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]

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.