
R Quiz
Authored by secondary purpose
Computers
University
Used 229+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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),]
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?