Engineering Questions with Answers - Multiple Choice Questions

MCQs on Literate Statistical Programming – 2

1 - Question

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 - Question

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 - Question

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 - Question

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.




5 - Question

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 - Question

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.




7 - Question

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

View Answer

Answer: b
Explanation: knitr supports various documentation languages.




8 - Question

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.




9 - Question

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 - Question

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.

Get weekly updates about new MCQs and other posts by joining 18000+ community of active learners