Search Header Logo

Week 2 (still, don't worry about rankings)

Authored by Jorge Cardoso

Biology

University

Used 1+ times

Week 2 (still, don't worry about rankings)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

While doing your R script, be scared of:

Typos

Not writing comments

Giving multiple vectors the same name

All other options

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

For the vector: x <- ( 100, 200, 3.00), what output do we expect to see from the command "class(x)"

Logical

Character

Numeric

Nonsense

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Will R interpret the vectors " x <- (1, 2, 3)" and "X <- (1, 2, 3)" as THE SAME vector? A.k.a, it is a SINGLE vector typed twice?

Yes

No

...maybe?

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Lets say you wanna compare vectors named "x" and "y", so you write:

y <- (5 * 1)

x <- (5 * 2)

x <- (1 + 1)

Then:

test <- y > x

Which value will be stored in "test"?

TRUE

FALSE

wat?

5.

MULTIPLE CHOICE QUESTION

10 sec • Ungraded

Media Image

Look at this image and take a breather:

amazing

I don't like oranges

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

in R language, what does this mean: <-

Less or equal

A backwards sign

Assign operator

Assign value

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

In R language, what does the code " print( "I love R")" do?

It lies

(don't chose this option)

Uses the command "Print" to feed a character string to our output

Uses the command "Print" to feed a logical string to our output

Uses the command "Print" to feed a numerical string to our output

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?