R interview questions part 17

R interview questions part 17

Take as many assements as you can to improve your validate your skill rating

Total Questions: 20

1. In the base graphics system, which function is used to add elements to a plot?

Correct Answer is : Boxplot() or Text()

2. What are the different types of sorting algorithms available in R language?

Correct Answer is : All sorts

3. What is the command used to store R objects in a file?

Correct Answer is : save (x, file=”x.Rdata”)

4. ___________ can be used for storing the data for long-term.

Correct Answer is : HDFS

5. MapReduce jobs submitted from either Oozie, Pig or Hive can be used to encode, improve and sample the data sets from _________ into R.

Correct Answer is : HDFS

6. What will be the output of log (-5.8) when executed on R console?

Correct Answer is : NAN

7. How is a Data object represented internally in R language?

Correct Answer is : unclass (as.Date (“2018-12-28″))

8. Which package in R supports the exploratory analysis of genomic data?

Correct Answer is : Adegenet

9. __________ can contain heterogeneous inputs.

Correct Answer is : Data Frames

10. ________ function can be used to add datasets in R provided with the columns in the datasets should be the same.

Correct Answer is : rbind()

11. _________ variables are categorical variables which can hold either string or numeric values.

Correct Answer is : Factor

12. What is the memory limit in R for 64 bit system?

Correct Answer is : 8 TB

13. What is the memory limit in R for 32 bit system?

Correct Answer is : 3GB

14. What are the data types in R on which binary operators can be applied?

Correct Answer is : Scalars, Matrices and Vectors

15. __________ function is used in applying a function each level of factors.

Correct Answer is : By()

16. How do you create log linear models in R language?

Correct Answer is : loglm()

17. What will be the class of the vector if you concatenate a number and NA?

Correct Answer is : Number

18. ____________ is one type of the simplest machine learning classification algorithms that is a subset of supervised learning based on lazy learning.

Correct Answer is : K-Nearest Neighbour

19. What will be the class of the vector if you concatenate a number and a character?

Correct Answer is : Character

20. R code can be tested using _________________ package.

Correct Answer is : Hadley’s testthat

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon