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

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

University

8 Qs

quiz-placeholder

Similar activities

Synthesizing

Synthesizing

University

10 Qs

Jersey College sensorineural

Jersey College sensorineural

University

10 Qs

BIOL1100 LAB Quiz 4

BIOL1100 LAB Quiz 4

University

10 Qs

CARBOHYDRATES

CARBOHYDRATES

University

10 Qs

kiểm tra thường xuyên lần 1

kiểm tra thường xuyên lần 1

12th Grade - University

10 Qs

Elvioza CRVO JOURNAL

Elvioza CRVO JOURNAL

University

10 Qs

Male Male Male

Male Male Male

12th Grade - University

10 Qs

EnvMicro_Quiz9

EnvMicro_Quiz9

University

10 Qs

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

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

Assessment

Quiz

Biology

University

Practice Problem

Medium

Created by

Jorge Cardoso

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

8.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Are the vectors below E X A C T L Y the same thing?

x <- ( 1, 2, 3)

x <- ( "1", "2", "3")

No but don't know why

Yes

No, the first is a CHARACTER vector and the second is a NUMERIC vector

No, the first is a NUMERIC vector and the second is a CHARACTER vector