adplus-dvertising

Welcome to the Basics of R Programming Language MCQs Page

Dive deep into the fascinating world of Basics of R Programming Language with our comprehensive set of Multiple-Choice Questions (MCQs). This page is dedicated to exploring the fundamental concepts and intricacies of Basics of R Programming Language, a crucial aspect of R Programming. In this section, you will encounter a diverse range of MCQs that cover various aspects of Basics of R Programming Language, from the basic principles to advanced topics. Each question is thoughtfully crafted to challenge your knowledge and deepen your understanding of this critical subcategory within R Programming.

frame-decoration

Check out the MCQs below to embark on an enriching journey through Basics of R Programming Language. Test your knowledge, expand your horizons, and solidify your grasp on this vital area of R Programming.

Note: Each MCQ comes with multiple answer choices. Select the most appropriate option and test your understanding of Basics of R Programming Language. You can click on an option to test your knowledge before viewing the solution for a MCQ. Happy learning!

Basics of R Programming Language MCQs | Page 7 of 8

Q61.
If commands are stored in an external file, say commands.R in the working directory work, they may be executed at any time in an R session with the command ____________
Discuss
Answer: (a).source(“commands.R”)
Q62.
_______ will divert all subsequent output from the console to an external file.
Discuss
Answer: (a).sink
Q63.
The entities that R creates and manipulates are known as ________
Discuss
Answer: (a).objects
Q64.
Which of the following can be used to display the names of (most of) the objects which are currently stored within R?
Discuss
Answer: (b).objects()
Q65.
Collection of objects currently stored in R is called as ________________
Discuss
Answer: (b).workspace
Q66.
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)
Discuss
Answer: (a).1 “X”
2 “Y”
3 “ Z”
Q67.
What is the meaning of the following R function?
x <- c(4, 5, 1, 2, 3, 3, 4, 4, 5, 6)
x <- as.factor(x)
Discuss
Answer: (a).x becomes a factor
Q68.
What is the meaning of the following R function?
print( sqrt(2) )
Discuss
Answer: (b).1.414214
Q69.
What will be the output of the following R function?
d <- date()
D
Discuss
Answer: (c).Prints exact present time and date
Q70.
What will be the output of the following R function?
paste("Everybody", "is", “a” , "warrior")
Discuss
Answer: (d).“Everybody is a warrior”
Page 7 of 8

Suggested Topics

Are you eager to expand your knowledge beyond R Programming? We've curated a selection of related categories that you might find intriguing.

Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!