R quiz

R quiz

Professional Development

31 Qs

quiz-placeholder

Similar activities

D46 QUIZ OF THE DAY

D46 QUIZ OF THE DAY

Professional Development

31 Qs

D47 FACE THE CHALLENGE

D47 FACE THE CHALLENGE

Professional Development

30 Qs

Ivy-Tata Steel : Python Assessment 3

Ivy-Tata Steel : Python Assessment 3

Professional Development

29 Qs

Linux File System

Linux File System

Professional Development

26 Qs

FA1 C1: Introduction to Business and Recording Transactions

FA1 C1: Introduction to Business and Recording Transactions

Professional Development

30 Qs

Java Practice Quiz

Java Practice Quiz

Professional Development

30 Qs

PLSQL QUIZZ

PLSQL QUIZZ

Professional Development

30 Qs

D40 QUIZ OF THE DAY

D40 QUIZ OF THE DAY

Professional Development

30 Qs

R quiz

R quiz

Assessment

Quiz

Professional Development

Professional Development

Easy

Created by

Vignesh Raja

Used 1+ times

FREE Resource

31 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid way to create a numeric vector in R?

c(1, 2, 3)

c[1,2,3]

vector[1, 2, 3]

vector(1,2,3)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the data type of the result of the following expression?

typeof(3L)

"double"

"integer"

"numeric"

"logical"

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of this code?

x <- c(TRUE, FALSE, TRUE)

sum(x)

3

2

1

Error

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to check the structure of an R object?

summary()

structure()

class()

str()

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Write R code to assign the value 5 to a variable named

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to create a bar plot in R?

barplot()

barchart()

bar()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of mean(c(2, 4, 6, NA), na.rm = TRUE)?

4

NA

3

Error

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?

Discover more resources for Professional Development