adplus-dvertising

Welcome to the Control Structures and Functions MCQs Page

Dive deep into the fascinating world of Control Structures and Functions with our comprehensive set of Multiple-Choice Questions (MCQs). This page is dedicated to exploring the fundamental concepts and intricacies of Control Structures and Functions, a crucial aspect of R Programming. In this section, you will encounter a diverse range of MCQs that cover various aspects of Control Structures and Functions, 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 Control Structures and Functions. 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 Control Structures and Functions. You can click on an option to test your knowledge before viewing the solution for a MCQ. Happy learning!

Control Structures and Functions MCQs | Page 11 of 13

Q101.
___________ function gives an error message if the desired package cannot be loaded.
Discuss
Answer: (c).Library
Q102.
A ________________ in R programming language can also contain numeric and alphabets along with special characters like dot and underline.
Discuss
Answer: (a).Variable name
Q103.
The current user defined objects like lists, vectors, etc. is referred to as __________ in the R language.
Discuss
Answer: (a).Work names
Q104.
Which function helps you perform sorting in R language?
Discuss
Answer: (a).Order
Q105.
Which function is used to create a histogram for visualisation in R programming language?
Discuss
Answer: (b).Hist
Q106.
Write the syntax to set the path of the current working directory in R environment?
Discuss
Answer: (c).Setwd(“dir_path”)
Q107.
What will be the output of runif()?
Discuss
Answer: (a).Random number
Q108.
________ function generates “n” normal random numbers based on the mean and standard deviation arguments passed to the function.
Discuss
Answer: (a).rnorm
Q109.
Write a function to extract the first name in the string “Mrs. Jake Luther”?
Discuss
Answer: (b).Substr
Q110.
_________ package provides basic functionalities in R environment like arithmetic calculations, input/output.
Discuss
Answer: (a).R base

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!