This set of Data Science Multiple Choice Questions & Answers (MCQs) 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
View Answer
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
View Answer
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
View Answer
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
View Answer
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
View Answer
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
View Answer
Explanation: Debugging shiny apps can be difficult.
7. runApp() will run the shiny and open the browser window.
a) True
b) False
View Answer
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
View Answer
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
View Answer
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
View Answer
Explanation: All of the styled elements are handled through ui.R.
Sanfoundry Global Education & Learning Series – Data Science.
Here’s the list of Best Books in Data Science.
- Practice Programming MCQs
- Check Computer Science Books
- Practice Computer Science MCQs
- Apply for Computer Science Internship
- Check Data Science Books