| Snaprecruit.com

| Snaprecruit.com

Interview question based on skill :

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

Total Questions: 20

1. If the programmers want the output to be a data frame or a vector, then ________ function is used.

Correct Answer is : Lapply

2. If a programmer wants the output to be a list then ___________ function is used.

Correct Answer is : Sapply

3. _____________ function is preferred over sapply as vapply allows the programmer to specific the output type.

Correct Answer is : Vapply

4. Which function is difficult to implement?

Correct Answer is : Vapply

5. Which function is more verbose?

Correct Answer is : Vapply

6. _____________ will produce a sequential vector c( (1,2,3,4,5,6,7,8,9)).

Correct Answer is : Seq(9)

7. __________ function is used for reading the .csv file in R language.

Correct Answer is : Read.csv ()

8. The line of code in R language should begin with a ________________

Correct Answer is : Hash symbol

9. _______________ returns TRUE then X can be termed as a matrix data object.

Correct Answer is : is.matrix(X)

10. If two vectors with different lengths perform some operation, the elements of the shorter vector will be used again to complete the operation. This is referred to as _________________

Correct Answer is : Element Recycling

11. If the function in a console is.matrix(X) returns true then X can be considered as a _______

Correct Answer is : Matrix data object

12. ______________ measures the probability of the binary response variable in R language.

Correct Answer is : Logical Regression

13. ______________ function will measure the probability of the binary response variable in R language.

Correct Answer is : Glm()

14. ____________ function can be used to select the random sample of size ‘n’ from a huge dataset.

Correct Answer is : Sample()

15. Which function is used to select variables and observations from a given dataset?

Correct Answer is : Subset()

16. ____________ package in R language provides various options for re-randomization and permutations based on statistical tests.

Correct Answer is : Coin

17. A matrix of scatterplots can be produced using _________ function.

Correct Answer is : Pairs

18. __________ function takes various parameters like formula, data, subset, labels, etc.

Correct Answer is : Pairs

19. How will you check if an element is present in a vector?

Correct Answer is : Match()

20. ________ function is usually used inside another function and throws a warning whenever a particular package is not found.

Correct Answer is : Require