291. Pick the odd man out:
3,5,11,14,17,21
Answer: 14
Explanation:because except 14 all are odd numbers.
Workspace
Wipro
292. Choose the correct alternative that will continue the same pattern and replace the question mark in the given series.
18,10,80,88,10,2,16,24,8,0,0, ?
Answer: 8
Explanation:The numbers in the series are as shown below:
18-8=10, 10*8=80, 80+8=88, 10-8=2, 2*8=16, 16+8=24.
8-8=0,0*8=0,So the next term is 0+8=8.
Workspace
Wipro
293. If A + B means A is the brother of B; A - B means A is the sister of B and A x B means A is the father of B. Which of the following means that C is the son of M?
Answer: M x N - C + F
Explanation:M x N ? M is the father of N
N - C ? N is the sister of C
and C + F ? C is the brother of F.
Hence, M is the father of C or C is the son of M.
Workspace
Wipro
294. ___________is very useful in situation when data have to stored and then retrieved in reverse order.
Answer: Stack
Explanation:Here is no explanation for this answer
Workspace
Wipro
295. #include
int main() {
int x=30, *y, *z;
y = &x; /* Assume address of x is 500 */
z = y;
*y= *z;
x++;
printf("x=%d, y=%u, z=%u\n", x, *y, z);
return 0;
}
Answer: x=31, y=500, z=500
Explanation:Here is no explanation for this answer
Workspace
Wipro Societe Generale
296. If the given input array is sorted or nearly sorted, which of the following algorithm gives the best performance?
Answer: Insertion sort
Explanation:Here is no explanation for this answer
Workspace
Wipro
297. #include
int main() {
int i = 10;
int *j = &i;
return 0;
}
Answer: j is a pointer to an int and stores address of i.
Explanation:Here is no explanation for this answer
Workspace
Wipro
298. Which of the following layers are not in TCP / IP?
Answer: Bridging Layer
Explanation:Here is no explanation for this answer
Workspace
Wipro
299. While converting binary tree into extended binary tree, all the original nodes in binary tree are _____
Answer: Internal nodes on extended tree
Explanation:Here is no explanation for this answer
Workspace
Wipro
300. What are the reasons for adding an index to a table ?
Answer: To increase lookup performance
Explanation:To increase lookup performance. For a unique key to guarantee the uniqueness of the values for a column on a table.
Workspace
Wipro