tools for data science coursera week 5 quiz answers

Practice Quiz - RStudio

1. Where can you type R commands in RStudio?

  • Code editor
  • Files
  • History
  • Console

2. Which R library will you use for data visualizations such as histograms, bar charts, and scatterplots? Select all that apply.

  • ggplot
  • Lattice
  • Leaflet
  • Plotly

3. Which is the command used to install packages in R?

  • install.packages()
  • installpackages()
  • library(packages)

Practice Quiz - GitHub

4. Which term describes the folders set up for version control?

  • SSH protocol
  • Pull request
  • Repository
  • Fork

5. Which tab in your Repository enables a review of changes made before being merged into the main branch?

  • Issues
  • Projects
  • Pull requests
  • Code

6. Which command is used to clone an existing repository?

  • git init
  • git reset
  • git add
  • git status

Graded Quiz - RStudio & GitHub

7. Which of the following is True about R language ?

  • R supports importing of data from different sources like flat files, databases
  • R is used for statistical inference and does not support visualization
  • R functions require lots of coding compared to other Data science tools
  • R requires installation of additional libraries to handle data analysis

8. Which R library is used for machine learning?

  • dplyr
  • ggplot
  • caret
  • stringr

9. Which function in ggplot adds a title to the plot?

  • library
  • ggplot
  • geom point
  • ggtitle

10. Which function is used to specify appropriate names for both axes in a plot?

  • ggplot
  • library
  • geom point
  • xlab and ylab

11. What is a copy of a repository?

  • Fork
  • SSH protocol
  • Working directory
  • Pull request

12. How does GitHub provide streamline testing and delivery?

  • With Built-in Continuous Integration (CI) and Continuous Delivery (CD)
  • With branching
  • With merging
  • With reviewing and including comments

13. In GitHub, what is an organization?

  • A name you must specify for your repository
  • A collection of user accounts that owns repositories
  • A path to the code files in a project
  • The top level of a repository tree

14. On which tab in the Repository can you see all the source files?

  • Code
  • Pull requests
  • Issues
  • Projects

15. How do you save changes in the Repository?

  • Commit changes
  • Create new file
  • Add file
  • Save changes

16. Which option enables you to add a file to the Repository from your local machine?

  • Commit changes
  • Create new file
  • Upload files
  • New Repository

Leave a Reply