R Programming Questions and Answers – Vectorized Operations – 2

This set of R Programming Interview Questions and Answers for experienced focuses on “Vectorized Operations – 2” 1. Which of the following function gives the day of the week? a) weekdays b) months c) quarters d) semesters 2. Point out the correct statement? a) Times use the POSIXct and POSIXlt class b) Dates and times … Read more

advertisement

R Programming Questions and Answers – Vectorized Operations – 1

This set of R Programming Language Multiple Choice Questions & Answers (MCQs) focuses on “Vectorized Operations – 1”. 1. Which of the following is example of vectorized operation as far as subtraction is concerned? > x <- 1:4 > y <- 6:9 a) x+y b) x-y c) x/y d) x–y 2. Point out the wrong … Read more

advertisement

R Programming Questions and Answers – Subsetting – 2

This set of R Programming Questions and Answers for experienced focuses on “Subsetting – 2”. 1. Which of the following extracts first element from the following R list? > x <- list(foo = 1:4, bar = 0.6) a) x[[1]] b) x[1] c) x[[0]] d) x[0] 2. Point out the correct statement? a) You can also … Read more

advertisement

R Programming Questions and Answers – Subsetting – 1

This set of R Programming Language Multiple Choice Questions & Answers (MCQs) focuses on “Subsetting – 1”. 1. Which of the following extracts first element from the following R vector? > x <- c("a", "b", "c", "c", "d", "a") a) x[10] b) x[1] c) x[0] d) x[2] 2. Point out the correct statement? a) There … Read more

advertisement

R Programming Questions and Answers – Connection Interfaces

This set of R Programming Language Multiple Choice Questions & Answers (MCQs) focuses on “Connection Interfaces”. 1. Individual R objects can be saved to a file using the _____ function. a) save b) put c) save_image d) get 2. Point out the correct statement? a) The complement to the textual format is the binary format … Read more

advertisement

R Programming Questions and Answers – Textual Data Formats – 2

This set of R Programming Language Multiple Choice Questions & Answers (MCQs) focuses on “Textual Data Formats – 2”. 1. Unlike writing out a table or CSV file, dump() and dput() preserve the ______ so that another user doesn’t have to specify the all over again. a) metadata b) backup data c) attribute data d) … Read more

advertisement

R Programming Questions and Answers – Textual Data Formats – 1

This set of R Programming Language Multiple Choice Questions & Answers (MCQs) focuses on “Textual Data Formats – 1”. 1. Which of the following is used for reading in saved workspaces? a) unserialize b) load c) get d) set 2. Point out the wrong statement? a) write.table is used for for writing tabular data to … Read more

advertisement

R Programming Questions and Answers – Reading Datasets – 2

This set of R Programming Inteview Questions and Answers for freshers focuses on “Reading Datasets – 2” 1. What will be the Correct R code for the following output? foo bar 1 1 TRUE 2 2 TRUE 3 3 FALSE 4 4 FALSE a) > x <- data.frame(foo = 1:4, bar = c(F, T, F, … Read more

advertisement

R Programming Questions and Answers – Reading Datasets – 1

This set of R Programming Language Multiple Choice Questions & Answers (MCQs) focuses on “Reading Datasets – 1”. 1. The ________ function takes an arbitrary number of arguments and concatenates them one by one into character strings. a) copy() b) paste() c) bind() d) del() 2. Point out the correct statement? a) Character strings are … Read more

advertisement

R Programming Questions and Answers – Data Types – 7

This set of R Programming Language Multiple Choice Questions & Answers (MCQs) focuses on “Data Types – 7”. 1. Accessing elements is achieved through a process called ________ a) Indexing b) Outdexing c) Highlighting d) Scrapping 2. Which are indexed by either row or column using a specific name or number? a) Datasets b) Data … 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.