250+ TOP MCQs on Shiny and Answers

Data Science Questions for entrance exams focuses on “Shiny”.

1. Which of the following project is used for calling R products from web?
a) OpenCPU
b) OpenDisk
c) OpenMem
d) All of the mentioned

Answer: a
Explanation: OpenCPU is complementary to OpenCPU.

2. Point out the wrong statement.
a) Shiny is platform for creating interactive programs embedded in to web page
b) Shiny is invented by R folks
c) Time required to create data products using shiny is more
d) All of the mentioned

Answer: c
Explanation: Time to create data products is less using shiny.

3. Which of the following statement will install shiny?
a) install.packages(“shiny”)
b) install.library(“shiny”)
c) install.lib(“shiny”)
d) all of the mentioned

Answer: a
Explanation: Shiny applications are automatically “live” in the same way that spreadsheets are live.

4. Which of the following can be done by shiny?
a) Tabbed main panels
b) Editable data tables
c) Dynamic UI
d) All of the mentioned

Answer: d
Explanation: shiny allows users to upload files.

5. Point out the correct statement.
a) shiny project is a directory containing at least three parts
b) shiny project is a file containing at least three parts
c) shiny project consist is a directory containing only one part
d) none of the mentioned

Answer: d
Explanation: shiny project consist is a directory containing at least two parts.

6. Which of the following function can interrupt execution and can be called continuously?
a) browser()
b) browse()
c) search()
d) all of the mentioned

Answer: a
Explanation: Debugging shiny apps can be difficult.

7. runApp() will run the shiny and open the browser window.
a) True
b) False

Answer: a
Explanation: The chart is rendered within the browser using Flash.

8. Which of the following function is for single checkbox widget?
a) checkboxInput
b) dateInput
c) singleboxInput
d) all of the mentioned

Answer: a
Explanation: Shiny comes with a family of pre-built widgets, each created with a transparently named R function.

9. How many components are involved in shiny?
a) 3
b) 4
c) 5
d) none of the mentioned

Answer: d
Explanation: Shiny apps have two components:user-interface script and server script.

10. All of the styled elements are handled through server.R.
a) True
b) False

Answer: b
Explanation: All of the styled elements are handled through ui.R.

Leave a Reply

Your email address will not be published. Required fields are marked *