R Programming Questions and Answers – Data Types – 6

This set of R Programming Questions & Answers for Exams focuses on “Data Types – 6”. 1. The four most frequently used types of data objects in R are vectors, matrices, data frames and ________ a) Function b) Lists c) Packages d) Interfaces 2. A __________ is a set of elements appearing in rows and … Read more

advertisement

R Programming Questions and Answers – Data Types – 5

This set of R Programming Language Multiple Choice Questions & Answers (MCQs) focuses on “Data Types – 5”. 1. Which function is used to combine the elements into a vector? a) C() b) D() c) E() d) F() 2. A __________ is an R-object which can contain many different types of elements inside it. a) … Read more

advertisement

R Programming Questions and Answers – Data Types – 4

This set of R Programming Language Multiple Choice Questions & Answers (MCQs) focuses on “Data Types – 4”. 1. Find the following type of vector? a <- c(1,2,5.3,6,-2,4) a) Numeric b) Character c) Integer d) Logical 2. All columns in a matrix must have the same mode and the _________ length. a) Different b) Same … Read more

advertisement

R Programming Questions and Answers – Data Types – 3

This set of R Programming Questions and Answers for freshers focuses on “Data Types – 3”. 1. Which of the following statement would print “0” “1” “2” “3” “4” “5” “6” for the following R code? > x <- 0:6 a) as.character(x) b) as.logical(x) c) as.numeric(x) d) as.num(y) 2. Point out the correct statement? a) … Read more

advertisement

R Programming Questions and Answers – Data Types – 2

This set of R Programming Interview Questions and Answers focuses on “Data Types – 2” 1. Which of the following statement is invalid? a) x <- c(1+0i, 2+4i) b) x <- c(TRUE, FALSE) c) x <- c(T, F) d) None of the mentioned 2. Point out the correct statement? a) Use explicit TRUE and FALSE … Read more

advertisement

R Programming Questions and Answers – Data Types – 1

This set of R Programming Language Multiple Choice Questions & Answers (MCQs) focuses on “Data Types – 1”. 1. R has how many atomic classes of objects? a) 1 b) 2 c) 3 d) 5 2. Point out the correct statement? a) Empty vectors can be created with the vector() function b) A sequence is … Read more

advertisement

R Programming Questions and Answers – Console Input and Evaluation – 2

This set of R Programming Language Multiple Choice Questions & Answers (MCQs) focuses on “Console Input and Evaluation – 2”. 1. What will be the output of the following R function? ab <- list(1, 2, 3, "X", "Y", "Z") dim(ab) <- c(3,2) print(ab) a) 1 “X” 2 “Y” 3 “ Z” b) 1 “X” 2 … Read more

advertisement

R Programming Questions and Answers – Console Input and Evaluation – 1

This set of R Programming Language Multiple Choice Questions & Answers (MCQs) focuses on “Console Input and Evaluation – 1”. 1. What will be the output of the following R code? > x <- 1 > print(x) a) 1 b) 2 c) 3 d) 5 2. Point out the wrong statement? a) The grammar of … Read more

advertisement

R Programming Questions and Answers – Install and Configure

This set of R Programming Language Multiple Choice Questions & Answers (MCQs) focuses on “Install and Configure”. 1. Which language is best for the statistical environment? a) C b) R c) Java d) Python 2. In order to use the R-related functionality in Dundas BI, you must have access to an existing _________ a) Console … Read more

advertisement

R Programming Questions and Answers – Basics – 4

This set of R Programming Language Multiple Choice Questions & Answers (MCQs) focuses on “Basics – 4”. 1. Is It possible to inspect the source code of R? a) Yes b) No c) Can’t say d) Some times 2. How to install for a package and all of the other packages on which for depends? … Read more

advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.