Explore topic-wise MCQs in Data Science.

This section includes 9 Mcqs, each offering curated multiple-choice questions to sharpen your Data Science knowledge and support exam preparation. Choose a topic below to get started.

1.

Code chunks begin with `{r} and end with `.

A. True
B. False
Answer» B. False
2.

The document produced by knitr document has which of the following extension?

A. .md
B. .rmd
C. .html
D. none of the mentioned
Answer» C. .html
3.

Which of the following statement is used for importing knitr library?

A. library(knitr)
B. import knitr
C. lib(knitr)
D. none of the mentioned
Answer» B. import knitr
4.

Which of the following is the correct order of conversion?

A. .md->.Rmd->.html
B. .Rmd->.md->.html
C. .Rmd->.md->.xml
D. all of the mentioned
Answer» B. .Rmd->.md->.html
5.

Which of the following global option has value hide ?

A. results
B. fig.width
C. echo
D. none of the mentioned
Answer» B. fig.width
6.

Which of the following global options are available for figures in knitr?

A. fig.height
B. fig.size
C. fig.breadth
D. all of the mentioned
Answer» B. fig.size
7.

Which of the following is required for not echoing the code?

A. echo=TRUE
B. print=TRUE
C. echo=FALSE
D. all of the mentioned
Answer» B. print=TRUE
8.

Point out the correct combination related to output statements.

A. results: asis
B. echo: true
C. echo=false
D. none of the mentioned
Answer» B. echo: true
9.

Which of the following is suitable for knitr?

A. Reports
B. Data preprocessing documents
C. Technical manuals
D. All of the mentioned
Answer» B. Data preprocessing documents