STSCI 2120: Lecture 1

STSCI 2120: Lecture 1

University

10 Qs

quiz-placeholder

Similar activities

Chhoeurn Chhaya

Chhoeurn Chhaya

University

10 Qs

Managing User Accounts

Managing User Accounts

9th Grade - University

10 Qs

HERRAMIENTAS PARA ELABORACIÓN DE INFORMES

HERRAMIENTAS PARA ELABORACIÓN DE INFORMES

University

10 Qs

PARC Linux Basic Part 1

PARC Linux Basic Part 1

University

10 Qs

Linux Commands

Linux Commands

University

11 Qs

Minecraft

Minecraft

2nd Grade - Professional Development

10 Qs

MOAC Word 2016 Lesson 1

MOAC Word 2016 Lesson 1

8th Grade - University

10 Qs

Lesson 1: Introduction to Human Computer Interaction

Lesson 1: Introduction to Human Computer Interaction

University

10 Qs

STSCI 2120: Lecture 1

STSCI 2120: Lecture 1

Assessment

Quiz

Computers

University

Medium

Created by

Nayel Bettache

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

What do I need to start programming with R ?

Only download R on cran.r-project.org

Only download RStudio on posit.co

Download both R and Rstudio

Use posit cloud service without downloading anything

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT true about RStudio?

It is an Integrated Development Environment (IDE) for R

It looks the same on Windows, Mac OS, and Linux

It is a substitute for R

It can be used for writing and running R code

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the 'sample' function in R?

To install R packages

To create sequences of numbers

To randomly select elements from a vector

To store data in R objects

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens if you type an incomplete command and press Enter in RStudio?

RStudio will execute the command immediately

RStudio will return an error message

RStudio will display a '+' prompt, waiting for the rest of the command

RStudio will close automatically

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you update R to the latest version?

By reinstalling your operating system

By running the 'update.packages' command

By downloading the latest version from CRAN and installing it

By restarting RStudio

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an R package?

A built-in feature of RStudio

A collection of functions, data, and documentation

A method to save R scripts

A type of R object

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you install a package in R?

By typing the name of the package in the console

By using the 'library' function

By selecting the package from a menu in RStudio

By using the 'install.packages' command

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?