JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing Firm
Direct Client
PHP interview questions part 33
PHP interview questions part 33
Back
Take as many assements as you can to improve your validate your skill rating
Total Questions: 20
1. The elapsed time may be ________ than the user time if your machine has multiple cores/processors
A. 4.5
B. 7
C. 3.5
D. Error
Show Correct Answer
Correct Answer is :
Error
2. Parallel processing is done via __________ package can make the elapsed time smaller than the user time.
A. 0
B. 1
C. $one
D. Error
Show Correct Answer
Correct Answer is :
Error
3. You can time ________ expressions by wrapping them in curly braces within the call to system.time().
A. 1
B. 0
C. 0.5
D. Error
Show Correct Answer
Correct Answer is :
Error
4. The profiler can be turned off by passing _________ to Rprof().
A. Hello World
B. Bye
C. Hello worldBye
D. Error
Show Correct Answer
Correct Answer is :
Hello World
5. How many methods exist for normalizing the data ?
A. 0
B. 1
C. Nothing
D. Error
Show Correct Answer
Correct Answer is :
Nothing
6. _______ divides the time spend in each function by the total run time
A. 1010
B. 105
C. 510
D. error
Show Correct Answer
Correct Answer is :
1010
7. Which of the following function actually fits the linear model ?
A. 0
B. 5
C. Nothing
D. Error
Show Correct Answer
Correct Answer is :
5
8. The final bit of output that summaryRprof() provides is the ______ interval and the total runtime.
A. 0
B. 5
C. Nothing
D. Error
Show Correct Answer
Correct Answer is :
Nothing
9. Which of the following statement gives sampling interval ?
A. 0
B. 105
C. 510
D. Error
Show Correct Answer
Correct Answer is :
105
10. Which of the following code is not profiled ?
A. 43
B. 943
C. 349
D. 439
Show Correct Answer
Correct Answer is :
439
11. The ________ function takes an arbitrary number of arguments and concatenates them one by one into character strings.
A. 437
B. 439
C. 349
D. 347
Show Correct Answer
Correct Answer is :
437
12. What would be the result of following code ? > x <- 1:3 > y <- 10:12 > rbind(x, y)
A. 7
B. 9
C. 0
D. Error
Show Correct Answer
Correct Answer is :
9
13. What would the following code print ? > x <- list(1, "a", TRUE, 1 + 4i) > x
A. 3
B. 4
C. 6
D. Error
Show Correct Answer
Correct Answer is :
Error
14. Which of the following is valid assignment?
A. 104
B. 410
C. 1400
D. 4100
Show Correct Answer
Correct Answer is :
1400
15. What would be the output of the following code ? > x <- vector("list", length = 5) > x
A. $winner/$looser
B. /$looser
C. /
D. $looser
Show Correct Answer
Correct Answer is :
/
16. What would be the output of the following code ? > x <- factor(c("yes", "yes", "no", "yes", "no")) > table(x)
A. $winner\$looser
B. \$looser
C. \
D. $looser
Show Correct Answer
Correct Answer is :
$looser
17. Which of the following code snippet will create a vector with NAs in it ?
A. $winner\\$looser
B. \\$looser
C. \
D. $looser
Show Correct Answer
Correct Answer is :
\
18. .What would the following code print ? > x <- c(1, 2, NaN, NA, 4) > is.na(x)
A. 5
B. 10
C. 15
D. Error
Show Correct Answer
Correct Answer is :
15
19. Which of the following would print the following output ? foo bar 1 1 TRUE 2 2 TRUE 3 3 FALSE 4 4 FALSE
A. 5
B. 10
C. 15
D. Error
Show Correct Answer
Correct Answer is :
10
20. Data frames can be converted to a matrix by calling data._______
A. 12
B. 123
C. 0
D. 111
Show Correct Answer
Correct Answer is :
0
Similar Interview Questions
Search for latest jobs
Find Jobs