Search Header Logo

Introduction to R

Authored by Oluwatobiloba Ige

Mathematics

Professional Development

Used 8+ times

Introduction to R
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

18 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create a variable named x with the numeric value 5?

x : 5

x <- 5

int x = 5

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The value of a string variable can be surrounded by single quotes.

True

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The following values: 10.5, 55 and 787, belongs to which data type?

Integer

numeric

Boolean

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

All elements of an atomic vector can be of different types.

True
False
Depends on the vector
Not sure

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You can construct a list using c( )

True

False

Not sure

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Matrices and arrays are created with matrix( ) and array( ), or by using the assignment form of dim( )

True

False

Not sure

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Consider the R code below, what is the type of vector a:

a <- c("r", 1)

numeric

character

logical

Integer

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?