Literate Statistical Programming

Question 1
Marks : +2 | -2
Pass Ratio : 100%
Point out the correct statement.
An article is stream of code and text
Analysis code is divided in to code chunks only
Literate programs are tangled to produce human readable documents
None of the mentioned
Explanation:
Analysis code is divided in to code chunks and text.
Question 2
Marks : +2 | -2
Pass Ratio : 100%
Which of the following disadvantage does literate programming have?
Slow processing of documents
Code is not automatic
No logical order
All of the mentioned
Explanation:
Code and text is in one place.
Question 3
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 4
Marks : +2 | -2
Pass Ratio : 100%
Which of the following is required for literate programming?
documentation language
mapper language
reducer language
all of the mentioned
Explanation:
Programming language is also required for literate programming.
Question 5
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 6
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 7
Marks : +2 | -2
Pass Ratio : 100%
Dependencies are checked explicitly in caching caveats.
True
False
Explanation:
Dependencies are not checked explicitly in caching caveats.
Question 8
Marks : +2 | -2
Pass Ratio : 100%
What is one way in which the knitr system differs from Sweave?
knitr allows for the use of markdown instead of LaTeX
knitr is written in python instead of R
knitr lacks features like caching of code chunks
none of the mentioned
Explanation:
knitr is an engine for dynamic report generation with R.
Question 9
Marks : +2 | -2
Pass Ratio : 100%
Which of the following tool can be used for integrating text and code in one document?
knitr
ggplot2
NumPy
None of the mentioned
Explanation:
knitr is a way to write LaTeX, HTML, and Markdown with R code interlaced.
Question 10
Marks : +2 | -2
Pass Ratio : 100%
Some chunks have to be re-computed every time you re-knit the file.
True
False
Explanation:
All chunks have to be re-computed every time you re-knit the file.