Data Types and Dataset Reading Multiple Choice Questions

Que.R has how many atomic classes of objects?
a. 1
b. 2
c. 3
d. 5
Que.Point out the correct statement?
a. Empty vectors can be created with the vector() function
b. A sequence is represented as a vector but can contain objects of different classes
c. “raw” objects are commonly used directly in data analysis
d. The value NaN represents undefined value
Que.Numbers in R are generally treated as _______ precision real numbers.
a. single
b. double
c. real
d. imaginary
Que.If you explicitly want an integer, you need to specify the _____ suffix.
a. D
b. R
c. L
d. K
Que.Point out the correct statement?
a. The value NaN represents undefined value
b. Number Inf represents infinity in R
c. NaN can also be thought of as a missing value
d. “raw” objects are commonly used directly in data analysis
Que.Attributes of an object (if any) can be accessed using the ______ function.
a. objects()
b. attrib()
c. attributes()
d. obj()
Que.R objects can have attributes, which are like ________ for the object.
a. metadata
b. features
c. expression
d. dimensions
Que.Which of the following can be considered as object attribute?
a. dimensions
b. class
c. length
d. all of the mentioned
Que.What will be the output of the following R code?
> x <- vector("numeric", length = 10)
> x

a. 10
b. 0 0 0 0 0 0 0 0 0 0
c. 01
d. 00120
Que.The ________ function can be used to create vectors of objects by concatenating things together.
a. cp()
b. c()
c. concat()
d. con()