R interview questions part 13

R interview questions part 13

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

Total Questions: 20

1. Point out the wrong statement :

Correct Answer is : R provides only two tools to help you with debugging your code

2. Which of the following is primary tool for debugging?

Correct Answer is : debug()

3. ________ allows you to insert debugging code into a function a specific places

Correct Answer is : trace()

4. Point out the correct statement :

Correct Answer is : The traceback() function must be called immediately after an error occurs

5. _______ allows you to modify the error behavior so that you can browse the function call stack

Correct Answer is : recover()

6. ______ suspends the execution of a function wherever it is called and puts the function in debug mode

Correct Answer is : browser()

7. debug() flags a function for ______ mode in R mode.

Correct Answer is : run

8. What would be the output of the following code ? > mean(x) Error in mean(x) : object 'x' not found > traceback()

Correct Answer is : 1: mean(x)

9. The recover() function will first print out the function call stack when an _______ occurs.

Correct Answer is : Error

10. The _______ and ________ of a discrete random variable is easy to compute at the console.

Correct Answer is : Mean, Variance

11. Which of the following simple the square root of σ square?

Correct Answer is : Standard deviation

12. The abbreviation of Cumulative Distributive Function is ________

Correct Answer is : CDF

13. Which function is used to simulate discrete uniform random variables?

Correct Answer is : Sample

14. The binomial distribution is based on _______ trial.

Correct Answer is : Bernoulli

15. The corresponding R function for the PMF is __________

Correct Answer is : Dbinom

16. The corresponding R function for the CDF is __________

Correct Answer is : Pbinom

17. Random variables defined via the _______ package.

Correct Answer is : Distr

18. MGF means _____________

Correct Answer is : Moment Generating Functions

19. The empirical cumulative distribution function can be called as __________

Correct Answer is : ECDF

20. Two important methods in analysis is differentiation and __________ transformation.

Correct Answer is : Fourier

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon