Literate Statistical Programming

Question 1
Marks : +2 | -2
Pass Ratio : 100%
Which of the following is a goal of literate statistical programming?
Combine explanatory text and data analysis code in a single document
Ensure that data analysis documents are always exported in JPEG format
Require those data analysis summaries are always written in R
None of the mentioned
Explanation:
Literate Statistical Practice is a programming methodology.
Question 2
Marks : +2 | -2
Pass Ratio : 100%
Which of the following is useful way to put text, code, data, output all in one document?
Literate statistical programming
Object oriented programming
Descriptive programming
All of the mentioned
Explanation:
Object-oriented programming is a programming language model organized around objects rather than “actions” and data rather than logic.
Question 3
Marks : +2 | -2
Pass Ratio : 100%
knitr supports only one documentation language.
True
False
Explanation:
knitr supports various documentation languages.
Question 4
Marks : +2 | -2
Pass Ratio : 100%
Which of the following is required to implement a literate programming system?
A programming language like Perl
A programming language like Java
A programming language like R
All of the mentioned
Explanation:
R is a language and environment for statistical computing and graphics.
Question 5
Marks : +2 | -2
Pass Ratio : 100%
Which of the following should be set on chunk by chunk basis to store results of computation?
cache=TRUE
cache=FALSE
caching=TRUE
none of the mentioned
Explanation:
After the first run. The results are loaded from cache.
Question 6
Marks : +2 | -2
Pass Ratio : 100%
What does it mean to weave a literate statistical program?
Convert a program from S to python
Convert the program into a human readable document
Convert a program to decompress it
All of the mentioned
Explanation:
Literate Statistical Programming can be done with knitr.
Question 7
Marks : +2 | -2
Pass Ratio : 100%
Which of the following package by Yihui is built in to RStudio environment?
rpy2
knitr
ggplot2
none of the mentioned
Explanation:
It can be exported to pdf and html.
Question 8
Marks : +2 | -2
Pass Ratio : 100%
Which of the following is required to implement a literate programming system?
A programming language like Perl
A programming language like Java
A programming language like R
All of the mentioned
Explanation:
R is a language and environment for statistical computing and graphics.
Question 9
Marks : +2 | -2
Pass Ratio : 100%
Literate program code is live-automatic “regression test” when building a document.
True
False
Explanation:
Data and results are automatically updated to reflect external changes.
Question 10
Marks : +2 | -2
Pass Ratio : 100%
Dependencies are checked explicitly in caching caveats.
True
False
Explanation:
Dependencies are not checked explicitly in caching caveats.