Introduction to R Programming for Data Science | week 1

Course Link: Introduction to R Programming for Data Science | Coursera

Practice Quiz

1. Which of the following are examples of predictive analysis? Select two answers.

Returning a summary of descriptive statistics for data.

Dashboards.

Understanding human languages.

This is an example of predictive analysis.

Pandemic trends prediction.

2. Which of the following statements about numeric and integer values are true? Select three values.

The converted value of a numeric to an integer is always equal to the original numeric value.

The converted value of an integer to a numeric is always equal to the original integer value.

An integer can be converted to a numeric value.

A numeric value can be converted to an integer.

3. What is the result of the R expression 4 + 3 * 25?

175

79

74

103

4. Which R function saves a workspace to a .RData file?

save.data()

save.workspace()

save.file()

save.image()

5. In RStudio, which of the following statements about writing code in the File Editor and the Console are true? Select two answers.

Only files containing R code can be edited in the File Editor

You write code in the Console when you want to try out R commands or to run a few lines of code.

Code in the File Editor executes immediately as you type it so you can see the results quickly.

You write code, usually for multiple lines of code, in the File Editor and execute them in batch mode.

6. Complete the statement: A Jupyter Notebook is made up of a series of _______________ that you can use to write, run, and interact with your code.

Workspaces

Files

Objects

Cells

Graded Quiz

1. R can perform several forms of statistical computation. What is an example of hypothesis testing?

Obtaining a representative subset of data.

Compute and visualize a correlation matrix among four different variables to see if they are correlated.

Inferring an unknown mean value of a population from its samples.

Testing if the mean values of two groups are statistically different.

2. Which of the following data type conversions may be not allowed in R?

logical (like TRUE or FALSE) to numeric

integer (like 1L or 2L) to numeric

character (like `1`, `A`, or `test`) to numeric

numeric (like 1 or 2) to integer

3. What is the result of the R expression 100 * (5 – 3)?

497

503

200

500

4. After you write code in an R script file or the R Console, what component of the R environment parses the code into objects in memory?

R Interpreter

R variables, functions, and datasets

R data files

R Workspace

5. Which features of RStudio help facilitate code writing? Select two answers.

File Explorer

Code auto completion

Workspace visualization

Syntax highlighting

6. True or False: Execution order does not matter when executing cells in a Jupyter notebook

True

False

* The material and content uploaded on this website are for general information and reference purposes only and don’t copy the answers of this website to any other domain without any permission or else copyright abuse will be in action.

Please do it by your own first!

DMCA.com Protection Status


More From Kuizzer

Introduction to R Programming for Data Science | week 1

Introduction to R Programming for Data Science | week 2

Introduction to R Programming for Data Science | week 3

Introduction to R Programming for Data Science | week 4

Introduction to R Programming for Data Science | week 5

0 0 votes
Article Rating
Subscribe
Notify of
guest

2 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments



2
0
Would love your thoughts, please comment.x
()
x