7.5.3.Weekly challenge 5 - sj50179/Google-Data-Analytics-Professional-Certificate GitHub Wiki

Weekly challenge 5

LATEST SUBMISSION GRADE 100%

Question 1

A data analyst wants to create a shareable report of their analysis with documentation of their process and notes explaining their code to stakeholders. What tool can they use to generate this?

  • Code chunks
  • Filters
  • Dashboards
  • R Markdown

Correct. R Markdown is a file format for making dynamic documents with R. R Markdown documents can be used to save, organize, and document code; create a record of your cleaning process; and generate reports with executable code for stakeholders.

Question 2

Fill in the blank: R Markdown notebooks can be converted into HTML, PDF, and Word documents, slide presentations, and _____.

  • YAML
  • dashboards
  • tables
  • spreadsheets

Correct. R Markdown notebooks can be converted into HTML, PDF, and Word documents, slide presentations, and dashboards.

Question 3

A data analyst writes two hashtags next to their header. What will this do to the header font in the .rmd file?

  • Make it a different color
  • Make it bigger
  • Make it smaller
  • Make it centered

Correct. Hashtags can be used to change the font size of headers. The more hashtags you add, the smaller the header.

Question 4

Fill in the blank: A data analyst includes _____ in their R Markdown notebook so that they can refer to it directly in their explanation of their analysis.

  • markdown
  • inline code
  • documentation
  • YAML

Correct. Inline code is code that can be inserted directly into a .rmd file.

Question 5

A data analyst wants to add a bulleted list to their R Markdown document. What symbol can they type to create this formatting?

  • Hashtags
  • Delimiters
  • Brackets
  • Asterisks

Correct. Asterisks when inserted before a word or phrase in R Markdown will appear as a bulleted list.

Question 6

Fill in the blank: Code added to an .rmd file is usually referred to as a code _____. This allows users to execute R code from within the .rmd file.

  • file
  • chunk
  • filter
  • section

Correct. Code added to an .rmd file is usually referred to as a code chunk. Code chunks allow users to execute R code from within the .rmd file.

Question 7

A data analyst adds specific characters before and after their code chunk to mark where the data item begins and ends in the .rmd file. What are these characters called?

  • Delimiters
  • Syntax
  • Markdown
  • Backticks

Correct. A delimiter is a character that indicates the beginning or end of a data item in a code chunk.

Question 8

Why would a data analyst create a template of their .rmd file? Select all that apply.

  • To customize the appearance of a final report
  • To create an interactive notebook
  • To save time when creating the same kind of document
  • To prevent other users from editing the file

Correct. If an analyst creates the same kind of document over and over or customizes the appearance of a final report, a template can save them time.