MD847202 Fundamental of R Programming

MD847202 Fundamental of R Programming

University

10 Qs

quiz-placeholder

Similar activities

all

all

University

11 Qs

WebGIS Bootcamp Quiz | Day 3

WebGIS Bootcamp Quiz | Day 3

University - Professional Development

10 Qs

Carpentry Different Types of Windows

Carpentry Different Types of Windows

5th Grade - University

15 Qs

Java-1-Ch02-Quiz02

Java-1-Ch02-Quiz02

University

13 Qs

EPA 608 Type 1

EPA 608 Type 1

12th Grade - University

15 Qs

Puff Pastry Theory Class

Puff Pastry Theory Class

University

10 Qs

ADC.DAC AND TIMER

ADC.DAC AND TIMER

University

14 Qs

MD847202 Fundamental of R Programming

MD847202 Fundamental of R Programming

Assessment

Quiz

Science

University

Hard

Created by

Arporn Wangwiwatsin

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the function of the `library()` command in R?

It is used to load and attach packages in R.
It is used to create new variables in R.
It is used to plot graphs in R.
It is used to execute loops in R.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the command `save.image("workspace.RData")` do?

Saves all installed packages to a file

Saves the current script to a file

Saves the current workspace (all variables) to a file

Saves all plots in the workspace to a file

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary purpose of the R programming language?

Web Development

Statistical Computing and Graphics

Mobile App Development

Game Development

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the function `getwd()` do in R?

Gets the current working directory

Sets the working directory

Lists all files in the working directory

Deletes the current working directory

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following commands is used to install a package in R?

install.packages("package_name")

load.package("package_name")

import.package("package_name")

package.install("package_name")

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a good practice for naming variables in R?

Using spaces in variable names

Using descriptive and meaningful names

Starting variable names with a number

Using special characters like `@` or `#`

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you save an R script in RStudio?

File -> Save As

Tools -> Save Script

File -> Export Script

Script -> Save

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?