This set of Data Science Multiple Choice Questions & Answers (MCQs) 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
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
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
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
Explanation: R is a language and environment for statistical computing and graphics.
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
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
Explanation: Code and text is in one place.
7. knitr supports only one documentation language.
a) True
b) False
View Answer
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
Explanation: knitr is available on CRAN.
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
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
Explanation: Data and results are automatically updated to reflect external changes.
Sanfoundry Global Education & Learning Series – Data Science.
Here’s the list of Best Books in Data Science.
- Check Computer Science Books
- Apply for Computer Science Internship
- Apply for Data Science Internship
- Check Programming Books
- Practice Computer Science MCQs