Professional Documents
Culture Documents
Full Marks: 20
Ans: A
(A) Log (B) Square root (C) Difference (D) All of the above
Ans: A
3. If “aaa”, “bbb” and “ccc” are three strings, then the command paste(“aaa”,”bbb”,”ccc”) will
return a string
(A) “aaabbbccc” (B) “aaa bbb” (C) “aaa bbb ccc” (D) “aaa-bbb-ccc”
Ans: A
(A) 0-1 (B) 0.2-1 (C) 0-4 (D) None of the above
Ans: D
x y
1A
1B
2C
3D
4E
3F
Copyright ©2012 Ivy® Knowledge Services Pvt Ltd. All rights reserved.
Page 1 of 5
Ivy ®’s Post-Training Assessement Paper Time Limit – 45 mins. Full Marks: 20
2G
(A) 1,2,3 (B) 1,1,2 (C) 1,2,3,4 (D) None of the above
Ans: A
(A) Fail to reject Null Hypothesis (B) Reject the Null Hypothesis
(C) Accept the Alternate (D) Reject the alternate hypothesis
hypothesis
Ans: B
of the above
Ans: B
Ans: C
(A) 0-1
(B) 0.5-1
(C) 0-4
(D) None of the above
Ans: A
Copyright ©2012 Ivy® Knowledge Services Pvt Ltd. All rights reserved.
Page 2 of 5
Ivy ®’s Post-Training Assessement Paper Time Limit – 45 mins. Full Marks: 20
10. A dataset x has 3 columns which are a, b, and c. If you want to drop the column c then which
of the following code will work?
(A) x[, 3]
(B) x[-3]
(C) x[,-3]
(D) drop[x$3]
Ans: B
11. If df is a data frame and its third column is named index, then we can access this column by
df(3)
Ans. A
(D) hist(V(30))
Ans: A
13. s<-
function(x,y){ 6*x+y
2*x+y/3
}
s(6,4)
What will be the exact output?
(A) 34
(B) 40 13
(C) 40 13 34
(D) 40 13 44 34
Copyright ©2012 Ivy® Knowledge Services Pvt Ltd. All rights reserved.
Page 3 of 5
Ivy ®’s Post-Training Assessement Paper Time Limit – 45 mins. Full Marks: 20
Ans: A
vec1 = c(10,11,12,13,14,15)
vec2 = c(13,14, 100,200)
Then, the command vec = c(vec1,vec2) results in a vector whose elements are
Ans: A
(A) True (B) False (C) Don't know (D) Can't say
Ans. B
17. If the regression equation between two variables x and y is given by y = 1+ 3x, then what
will be the effect of y if x is increased by 2 units
Ans: B
18. Accuracy of logistic regression shows the model performs better when it is
Ans: A
Copyright ©2012 Ivy® Knowledge Services Pvt Ltd. All rights reserved.
Page 4 of 5
Ivy ®’s Post-Training Assessement Paper Time Limit – 45 mins. Full Marks: 20
19. We are interested in studying how stress affects heart rates in employees. Our
dependent variable would be
(A) Stress (B) heart rate (C) employee number (D) any one of the above
Ans: B
20. R creates dummy variables automatically when the property of the variable is
(A) Character
(B) Factor
(C) Numeric
Ans: B
Copyright ©2012 Ivy® Knowledge Services Pvt Ltd. All rights reserved.
Page 5 of 5