R Quiz

R Quiz

University

26 Qs

quiz-placeholder

Similar activities

Algoritma dan Pemrograman

Algoritma dan Pemrograman

12th Grade - University

25 Qs

MATLAB Exam prep

MATLAB Exam prep

University

25 Qs

The Basics of R

The Basics of R

University

21 Qs

Assignment 2(CIVIL)

Assignment 2(CIVIL)

University

25 Qs

Operators in C

Operators in C

University

24 Qs

Beginning C Programming

Beginning C Programming

University

23 Qs

15 Days of Code

15 Days of Code

11th Grade - University

22 Qs

R Quiz

R Quiz

Assessment

Quiz

Computers

University

Hard

Created by

secondary purpose

Used 228+ 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?