Programming involves _____ a computer to perform an action

COURSE 7 – DATA ANALYSIS WITH R PROGRAMMING QUIZ ANSWERS

Week 1: Programing and Data Analytics

GOOGLE DATA ANALYTICS PROFESSIONAL CERTIFICATE

Coursera Answers Study Guide

Programing and Data Analytics INTRODUCTION

R is an open-source programming language used for statistical computing and graphics. As part of the Google Data Analytics Professional Certificate from Coursera, you will learn how to use R to conduct data analysis. This part of the course provides an introduction to R and its environment, RStudio.

RStudio offers a user-friendly environment that simplifies the process of working with R. It includes features such as console windows where users can type commands, tabbed windows for editing scripts, and tools for creating visualizations. By using these features within RStudio, you’ll be able to leverage the power of programming and data analytics more effectively than ever before.

Learning Objectives

  • Compare and contrast the R programming environment and the RStudio programming environment
  • Describe the RStudio programming environment including its components and benefits
  • Describe the R programming language and its programming environment
  • Describe programming languages and appropriate use including examples
  • Download and install R assets to a computer
  • Open R and execute a command
  • Differentiate between the R Console and R programming environments
  • Execute operations in R using mathematical operators such as +, -, *, and /
  • Download and use RStudio Desktop
  • Demonstrate how to complete basic tasks in R

Test your knowledge on programming languages

1. Fill in the blank: Programming involves _ a computer to perform an action or set of actions.

  • filtering
  • instructing (Correct)
  • training
  • updating

Correct: Programming means giving instructions to a computer to perform an action or set of actions.

2. Which of the following are best practices for creating data frames? select all that apply.

  • Columns should be named (Correct)
  • Each column should contain the same number of data items (Correct)
  • Rows should be named
  • Data can be stored as many different types

Correct: Programming means giving instructions to a computer to perform an action or set of actions.

3. What are the benefits of using a programming language to work with your data? Select all that apply.

  • Save time (Correct)
  • Clarify the steps of your analysis (Correct)
  • Easily reproduce and share your work (Correct)
  • Choose a business task for analysis

Correct: There are three main benefits of using a programming language to work with your data. You can easily reproduce and share your work, save time, and clarify the steps of your analysis.

4. The R programming language can be used for which of the following tasks? Select all that apply.

  • Gaming
  • Statistical analysis (Correct)
  • Data analysis (Correct)
  • Visualization (Correct)

Correct: The R programming language can be used for statistical analysis, visualization, and data analysis.

Test your knowledge on programming with rstudio

1. What type of software application is RStudio?

  • Integrated development environment (Correct)
  • Data visualization tool
  • Source editor
  • Database

Correct: RStudio is a type of software application known as an integrated development environment (IDE). An IDE brings together all the tools you may want to use in a single place.

2. RStudio includes which of the following panes? Select all that apply.

  • Command pane
  • Source editor pane (Correct)
  • R console pane (Correct)
  • Environment pane (Correct)

Correct: RStudio includes an R console pane for executing commands, a source editor pane for writing code, and an environment pane for managing loaded data.

3. If you write code directly in the R source editor, RStudio can save your code when you close your current session.

  • True (Correct)
  • False

Correct: If you write code directly in the R source editor, RStudio can save your code when you close your current session.

4. What are Python, JavaScript, SAS, Scala, and Julia?

  • Integrated Development environments
  • Databases
  • Programming Languages (Correct)
  • Web applications

GOOGLE DATA ANALYTICS COURSERA ANSWERS AND STUDY GUIDE

Liking our content? Then don’t forget to add us to your bookmarks so you can find us easily!

Weekly Breakdown | Google Study Guides | Back to Top

Data Analysis with R Programming Weekly Challenge 1

1. Fill in the blank: _____ are the words and symbols you use to write instructions for computers.

  • Programming languages (Correct)
  • Code languages
  • Syntax languages
  • Variable languages

Correct: Programming languages are the words and symbols you use to write instructions for computers.

2. Using a programming language can help you with which aspects of data analysis? Select all that apply.

  • Transform your data (Correct)
  • Ask the right questions about your data
  • Clean your data (Correct)
  • Visualize your data (Correct)

Correct: Using a programming language can help you transform, clean, and visualize your data.

3. Which of the following are benefits of open-source code? Select all that apply.

  • Anyone can create an add-on package for the code (Correct)
  • Anyone can use the code for free (Correct)
  • Anyone can pay a fee for access to the code
  • Anyone can fix bugs in the code (Correct)

Correct: The benefits of open-source code include the following: anyone can use the code for free, fix bugs in the code, and create add-on packages for the code.

4. For what reasons do many data analysts choose to use R? Select all that apply.

  • R can create high quality visualizations (Correct)
  • R can quickly process lots of data (Correct)
  • R is a data-centric programming language (Correct)
  • R is a closed source programming language 

Correct: Many data analysts choose to use R because it can quickly process lots of data and create high quality visualization. R is also a data-centric programming language, designed to work with data.

5. Fill in the blank: A data analyst wants to quickly create visualizations and then share them with a teammate. They can use _____ for the analysis.

  • a dashboard
  • structured query language
  • the R programming language (Correct)
  • a database

Correct: It will be easy for the analyst to create visualizations and share the analysis if they use the R programming language for the analysis.

6. RStudio’s integrated development environment lets you perform which of the following actions? Select all that apply.

  • Install R packages (Correct)
  • Stream online videos
  • Import data from spreadsheets (Correct)
  • Create data visualizations (Correct)

Correct: RStudio’s integrated development environment lets you install R packages, import data from spreadsheets, and create data visualizations.

7. Fill in the blank: When you execute code in the source editor, the code automatically also appears in the _____.

  • plots tab
  • R console (Correct)
  • files tab
  • environment pane

Correct: When you execute code in the source editor, the code automatically also appears in the R console.

8. In RStudio, where can you find and manage all the data you currently have loaded?

  • R console pane
  • Plots tab
  • Environment pane (Correct)
  • Source editor pane

Correct: In RStudio, you can find and manage all the data you currently have loaded in the environment pane.

9. How do data analysts refer to the words and symbols they use to write instructions for computers?

  • Variable languages
  • Programming languages (CORRECT)
  • Code languages
  • Syntax languages

10. Fill in the blank: A data analyst wants to quickly create visualizations and then share them with a teammate. They can use _____ for the analysis.

  • the R programming language (CORRECT)
  • a dashboard
  • structured query language
  • a database

11. What tool gives data analysts the highest level of control over their data analysis?

  • Programming language (CORRECT)
  • Spreadsheet
  • SQL
  • Tableau

12. What are the benefits of using a programming language for data analysis? Select all that apply.

  • They have no specific syntax.
  • It does not require data cleaning
  • They save time cleaning data. (CORRECT)
  • They store steps of your analysis for future use. (CORRECT)

13. A data analyst is searching for an open-source tool that will allow them to work with very large amounts of data. What tool is the best option?

  • JSON
  • Tableau
  • Spreadsheet
  • R (CORRECT)

14. Using a programming language can help you with which aspects of data analysis? Select all that apply.

  • Ask the right questions about your data
  • Visualize your data (CORRECT)
  • Clean your data (CORRECT)
  • Transform your data (CORRECT)

15. RStudio’s integrated development environment includes which of the following? Select all that apply.

  • A viewer for playing videos
  • An area to manage loaded data (CORRECT)
  • An editor for writing code (CORRECT)
  • A console for executing commands (CORRECT)

16. What process does a data analyst use to instruct a computer to perform sets of actions?

  • Filtering
  • Analytics
  • Visualization
  • Programming (CORRECT)

17. Fill in the blank: In RStudio, the _____ is where you can find all the data you currently have loaded, organize it, and save it.

  • plots pane
  • source editor pane
  • environment pane (CORRECT)
  • R console pane

18. What attribute of the R programming language makes it an open-source programming language?

  • The code is designed to be data-centric.
  • The code is open to processing large amounts of data.
  • The code is distributed by a company named “Open-Source.”
  • The code can be modified and shared by anyone who uses it. (CORRECT)

19. Which of the following are benefits of using R for data analysis? Select all that apply. 

  • Define a problem and ask the right questions 
  • Reproduce and share an analysis (CORRECT)
  • Create high-quality data visualizations (CORRECT)
  • Process lots of data  (CORRECT)

20. What are the benefits of using a programming language for data analysis? Select all that apply.

  • They store steps of your analysis for future use.
  • It does not require data cleaning
  • They save time cleaning data. (CORRECT)
  • They have no specific syntax (CORRECT)

21. A data analyst is searching for a single tool that will allow them to query massive amounts of data, reproduce their analysis, and create world-class visuals. Which of the following tools is the best option for them?

  • SQL
  • A dashboard
  • The R programming language (CORRECT)
  • A database

22. Which of the following statements about RStudio’s integrated development environment are correct? Select all that apply.

  • RStudio is closed-source.
  • RStudio only works on Windows.
  • RStudio panes are customizable. (CORRECT)
  • RStudio includes a built-in console. (CORRECT)

23.  Fill in the blank: _____ are the words and symbols you use to write instructions for computers.

  • Syntax languages
  • Code languages
  • Variable languages
  • Programming languages (CORRECT)

24. A data analyst wants to write R code where they can access it again after they close their current session in RStudio. Where should they write their code?

  • R console
  • Files tab
  • History tab
  • Source editor (CORRECT)

Programing and Data Analytics CONCLUSION

R is a programming language that can streamline your data analysis process. In this part of the course, you learned about R and RStudio, the environment designed specifically for working in R. The benefits of using R and RStudio include efficiency and user-friendliness.

You also explored the components of RStudio that will help you get started coding in R. Now that you understand the basics of how to use R and RStudio, it’s time to put your knowledge into practice. Join the learning experience on Coursera today and gain access to hands-on exercises, real-world examples, and a community of learners just like you.