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%
Original idea comes of Literate Statistical Practice from _______________
Don Knuth
Don Cutting
Douglas Cutting
All of the mentioned
Explanation:
Literate programs are tangled to produce machine readable documents.
Question 3
Marks : +2 | -2
Pass Ratio : 100%
Which of the following tool documentation language is supported by knitr?
RMarkdown
LaTeX
HTML
None of the mentioned
Explanation:
knitr is available on CRAN.
Question 4
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 5
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 6
Marks : +2 | -2
Pass Ratio : 100%
Which of the following way is required to make work reproducible?
keep track of things
Save output
Save data in proprietary formats
None of the mentioned
Explanation:
Save data in NON proprietary formats to make work reproducible.
Question 7
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.
Question 8
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 9
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 10
Marks : +2 | -2
Pass Ratio : 100%
What is the role of processing code in the research pipeline?
Transforms the analytical results into figures and tables
Transforms the analytic data into measured data
Transforms the measured data into analytic data
All of the mentioned
Explanation:
Data science workflow is a non-linear, iterative process.