JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing Firm
Direct Client
R interview questions part 13
R interview questions part 13
Back
Take as many assements as you can to improve your validate your skill rating
Total Questions: 20
1. Point out the wrong statement :
A. The primary task of debugging any R code is correctly diagnosing what the problem is
B. R provides only two tools to help you with debugging your code
C. print statement can be used for debugging purpose
D. All of the mentioned
Show Correct Answer
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?
A. debug()
B. trace()
C. browser()
D. all of the mentioned
Show Correct Answer
Correct Answer is :
debug()
3. ________ allows you to insert debugging code into a function a specific places
A. debug()
B. trace()
C. browser()
D. all of the mentioned
Show Correct Answer
Correct Answer is :
trace()
4. Point out the correct statement :
A. The traceback() function must be called immediately after an error occurs
B. The debugger calls the browser at the very low level of the function body
C. Every time you call the mod() function it will launch the interactive debugger
D. None of the mentioned
Show Correct Answer
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
A. debug()
B. trace()
C. recover()
D. all of the mentioned
Show Correct Answer
Correct Answer is :
recover()
6. ______ suspends the execution of a function wherever it is called and puts the function in debug mode
A. debug()
B. trace()
C. recover()
D. browser()
Show Correct Answer
Correct Answer is :
browser()
7. debug() flags a function for ______ mode in R mode.
A. debug
B. run
C. compile
D. all of the mentioned
Show Correct Answer
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()
A. 1: mean(x)
B. Null
C. 0
D. None of the mentioned
Show Correct Answer
Correct Answer is :
1: mean(x)
9. The recover() function will first print out the function call stack when an _______ occurs.
A. Error
B. Warning
C. Messages
D. All of the mentioned
Show Correct Answer
Correct Answer is :
Error
10. The _______ and ________ of a discrete random variable is easy to compute at the console.
A. Mean, Variance
B. Variance, Packages
C. Packages, Functions
D. Median, Mode
Show Correct Answer
Correct Answer is :
Mean, Variance
11. Which of the following simple the square root of σ square?
A. Variance
B. Standard deviation
C. Mean
D. Median
Show Correct Answer
Correct Answer is :
Standard deviation
12. The abbreviation of Cumulative Distributive Function is ________
A. CDFN
B. CMDF
C. CMD
D. CDF
Show Correct Answer
Correct Answer is :
CDF
13. Which function is used to simulate discrete uniform random variables?
A. Sample
B. Simple
C. Function
D. Variance
Show Correct Answer
Correct Answer is :
Sample
14. The binomial distribution is based on _______ trial.
A. Einstein
B. Bernoulli
C. Bohr
D. Kepler
Show Correct Answer
Correct Answer is :
Bernoulli
15. The corresponding R function for the PMF is __________
A. Trinom
B. Dbinorm
C. Dbinom
D. Fnorm
Show Correct Answer
Correct Answer is :
Dbinom
16. The corresponding R function for the CDF is __________
A. Dbinom
B. Pbinom
C. Cbinorm
D. Hbinorm
Show Correct Answer
Correct Answer is :
Pbinom
17. Random variables defined via the _______ package.
A. Distri
B. Diestr
C. Distr
D. Diftr
Show Correct Answer
Correct Answer is :
Distr
18. MGF means _____________
A. Moment Generating Formulas
B. Movement Generating Formulas
C. Moment Generating Functions
D. Moment Graphic Functions
Show Correct Answer
Correct Answer is :
Moment Generating Functions
19. The empirical cumulative distribution function can be called as __________
A. EMCDF
B. EDFC
C. ECDF
D. EGDF
Show Correct Answer
Correct Answer is :
ECDF
20. Two important methods in analysis is differentiation and __________ transformation.
A. Bernoulli
B. Fourier
C. Bohr
D. Rutherford
Show Correct Answer
Correct Answer is :
Fourier
Similar Interview Questions
Search for latest jobs
Find Jobs