R Quiz

R Quiz

University

26 Qs

quiz-placeholder

Similar activities

DSA - revision Quiz

DSA - revision Quiz

University

21 Qs

HTML/CSS

HTML/CSS

University

25 Qs

DFC20113 Programming Fundamentals Set B

DFC20113 Programming Fundamentals Set B

University

30 Qs

Iedc Coders Club Programming Quiz

Iedc Coders Club Programming Quiz

University

25 Qs

Podstawy HTML

Podstawy HTML

University

25 Qs

2021-22 - Vaje 11 - ponavljanje

2021-22 - Vaje 11 - ponavljanje

University

21 Qs

EE08 - vol 2

EE08 - vol 2

University

27 Qs

R Quiz

R Quiz

Assessment

Quiz

Computers

University

Hard

Created by

secondary purpose

Used 229+ times

FREE Resource

26 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How many types of R objects are present in R data type?

4

5

6

7

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of this programming language is a dialect of R?

C

Python

CPP

S

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In R the following are all atomic data types EXCEPT!

matrix

numeric

factor

list

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the class of the object defined by x <- c(4, TRUE)?

character

numeric

logical

integer

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Suppose I have a list defined as x <- list(2, "a", "b", TRUE). How can I fetch character vector "b" from the list?

x[[2]]

x[2]

x[[3]]

x[3]

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

x <- 1:4 , y <- 2:3, x+y = ?

3,5,3,4

3,5,5,7

Warning with some output

Error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To extract first two rows from data frame, we do

data(c[1,2],)

data[c(1,2)]

data(c[1,2])

data[c(1,2),]

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?