Explore topic-wise MCQs in R Programming.

This section includes 15 Mcqs, each offering curated multiple-choice questions to sharpen your R Programming knowledge and support exam preparation. Choose a topic below to get started.

1.

The _________ function returns a list of densities (y) corresponding to bin values (x).

A. Spline
B. Density
C. Lists
D. Locator
Answer» B. Density
2.

Locator function gives output as ___________

A. Matrix
B. Lists
C. Vector
D. Number
Answer» C. Vector
3.

Density function gives output as ________

A. Matrix
B. Lists
C. Vector
D. Number
Answer» C. Vector
4.

Which function gives the list as output?

A. Spline
B. Matrix
C. Vector
D. Alphabet
Answer» B. Matrix
5.

Joining two lists can be achieved either using the _________ function.

A. Concat
B. Join
C. Reduce
D. Delete
Answer» B. Join
6.

Which function can be used to determine the names assigned to a list?

A. Names
B. Name
C. Nam
D. Nem
Answer» B. Name
7.

The length of a list is ______ to the number of components in that list.

A. Double
B. Equal
C. Triple
D. One fourth
Answer» C. Triple
8.

To extract a sublist, we use _________ brackets.

A. Flower
B. Square
C. Double
D. Single
Answer» E.
9.

The first component can be accessed using __________ operator.

A. Intraction
B. Extraction
C. AND
D. OR
Answer» C. AND
10.

How can we access the first component of the list?

A. Number of the position
B. Function
C. Package
D. Tools
Answer» B. Function
11.

First component of the list can be accessed by _____________

A. Name of the component
B. List name
C. Function
D. Package
Answer» B. List name
12.

Lists can be created using the _______ function.

A. Matrix.li
B. Matrix.lists
C. Lists.matric
D. List
Answer» E.
13.

What should we use to access elements with a value greater than five?

A. Subsetting commands
B. Use functions
C. Packages
D. Interfaces
Answer» B. Use functions
14.

Which are indexed by either row or column using a specific name or number?

A. Datasets
B. Data frames
C. Data
D. Functions
Answer» C. Data
15.

Accessing elements is achieved through a process called ________

A. Indexing
B. Outdexing
C. Highlighting
D. Scrapping
Answer» B. Outdexing