JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing Firm
Direct Client
PHP interview questions part 29
PHP interview questions part 29
Back
Take as many assements as you can to improve your validate your skill rating
Total Questions: 20
1. Which of the following operator is used to create integer sequences?
A. strtoupper()
B. uppercase()
C. str_uppercase()
D. struppercase()
Show Correct Answer
Correct Answer is :
strtoupper()
2. What will be the output of the following R program? y<-0:5 vector(y) y[3]
A. O’Malley Wins The Heavyweight Championship!
B. O’malley Wins The Heavyweight Championship!
C. O’Malley wins the heavyweight championship!
D. o’malley wins the heavyweight championship!
Show Correct Answer
Correct Answer is :
o’malley wins the heavyweight championship!
3. In R language, a vector is defined that it can only contain objects of the ________
A. SaladSaladSaladSaladSalad is good
B. is good SaladSaladSaladSaladSalad
C. is good Salad
D. Salad is good
Show Correct Answer
Correct Answer is :
Salad is good
4. A list is represented as a vector but can contain objects of ___________
A. explode()
B. implode()
C. concat()
D. concatenate()
Show Correct Answer
Correct Answer is :
implode()
5. How can we define ‘undefined value’ in R language?
A. strlastpos()
B. strpos()
C. strlast()
D. strrpos()
Show Correct Answer
Correct Answer is :
strrpos()
6. What is NaN called?
A. Contact the author of this article at [email protected]@mple.com
B. [email protected] the @uthor of this @rticle @t [email protected]@[email protected]
C. Contact the author of this article at [email protected]@[email protected]
D. Error
Show Correct Answer
Correct Answer is :
Contact the author of this article at [email protected]@[email protected]
7. How can we define ‘infinity’ in R language?
A. [email protected]
B. nachiketh
C. [email protected]
D. example.com
Show Correct Answer
Correct Answer is :
example.com
8. What is the output of the following code? y <- c(TRUE, 2)
A. hihellohi1
B. hi
C. hihi1
D. hi1
Show Correct Answer
Correct Answer is :
hihellohi1
9. What is the class defined by the following code? y<-c(2,”t”)
A. hihellohi1
B. hello
C. hihi1
D. hi1
Show Correct Answer
Correct Answer is :
hello
10. What is the class defined in the following code? y<-c(FALSE,2)
A. hihellohi1
B. no output
C. hihi1
D. hi1
Show Correct Answer
Correct Answer is :
no output
11. Which one of the following is not a basic datatype?
A. hihellohi1
B. hi
C. hihello
D. hi1
Show Correct Answer
Correct Answer is :
hi
12. How do you create an integer suppose 5 in R?
A. hihellohi1
B. hi
C. hihello
D. hello
Show Correct Answer
Correct Answer is :
hello
13. What is the output of the following code? x<- c (“a”,” b”) as.numeric(x)
A. hihellohi1
B. hi
C. hihello
D. hello
Show Correct Answer
Correct Answer is :
hihellohi1
14. The dimension attribute is itself an integer vector of length _______
A. error
B. hi
C. hihello
D. hello
Show Correct Answer
Correct Answer is :
error
15. How could be the matrix constructed by using the following code? m <- matrix(1:6, nrow = 2, ncol = 3)
A. 1hello
B. 1hi
C. 1hi1
D. error
Show Correct Answer
Correct Answer is :
1hi
16. Matrices can be created by row-binding with the help of the following function.
A. hello
B. hi
C. no output
D. error
Show Correct Answer
Correct Answer is :
no output
17. What is the function used to test objects (returns a logical operator) if they are NA?
A. hello
B. hi
C. no output
D. error
Show Correct Answer
Correct Answer is :
no output
18. What is the function used to test objects (returns a logical operator) if they are NaN?
A. Error
B. Hello World
C. Nothing
D. Missing semicolon error
Show Correct Answer
Correct Answer is :
Nothing
19. What is the function to set column names for a matrix?
A. Error
B. Hello World
C. Nothing
D. Missing semicolon error
Show Correct Answer
Correct Answer is :
Error
20. Which of the following is similar to Moment.js ?
A. Hello world
B. Hello World Hello World
C. Hello world
D. Syntax Error
Show Correct Answer
Correct Answer is :
Syntax Error
Similar Interview Questions
Search for latest jobs
Find Jobs