Aricent recruitment process consists Writtent test, Group Discussion,Tehnical and HR Interviews
1. enum number { a=-1, b=4, c,d,e,}what is the value of e?
(A) 7 (B) 4 (C) 5 (D) 3
2. which of the following correctly declares “My_var” as a pointer to a function that returns an integer
a. int*My_Var();
b. int*(My_Var());
c. int(*)My_Var();
d. int(*My_Var)();
3. There are 76 persons. 53 can read hindu,46 can read times,39 can read deccan and 15 can read all.if 22 can read hindu and deccan and 23 can read deccan and times then what is the number of persons who read only times and hindu???
Ans 18
4. in pure milk if 20% replaced by water and in this again 20% is replaced by water and again 20% is replaced by water then what is the praportion of milk in that mixture
5. after 10 years A will be twice the age of B before 10 years.and now if the difference is 9 years between them then what is the age of B after 10 years
Ans 49
6. What is the Result of the following 'VIK'||NULL||'RAM' ?
a] Error
b] VIK RAM
c] VIKRAM
d] NULL
Ans : C
7. What SYSTEM VARIABLE is used to refer DATABASE TIME ?
a] $$dbtime$$
b] $$time$$
c] $$datetime$$
d] None of the above
Ans : A
8. If m:n = 2:3,the value of 3m+5n/6m-n is
(A) 7/3 (B) 3/7 (C) 5/3 (D) 3/5
9. A dog taken four leaps for every five leaps of hare but three leaps of the dog is equal to four leaps of the hare. Compare speed?
(A) 12:16 (B) 19:20 (C) 16:15 (D) 10:12
10. What is true about the following C functions?
(A) Need not return any value. (B) Should always return an integer.
(C) Should always return a float. (D) Should always return more than one value.
11.In simple interest what sum amounts of Rs.1120/- in 4 years and Rs.1200/- in 5 years ?
(A) Rs. 500
(B) Rs. 600
(C) Rs. 800
(D) Rs. 900
12. If a sum of money compound annually amounts of thrice itself in 3 years. In how many years will it become 9 times itself.
(A) 6
(B) 8
(C) 10
(D) 12
13. Two trains move in the same direction at 50 kmph and 32 kmph respectively. A man in the slower train observes the 15 seconds elapse before the faster train completely passes by him.
What is the length of faster train ?
(A) 100m
(B) 75m
(C) 120m
(D) 50m
14. How many mashes are there in 1 square meter of wire gauge if each mesh is 8mm long and 5mm wide ?
(A) 2500
(B) 25000
(C) 250
(D) 250000
15. void main()
{
int i,j,k;
for(i=0;i<3;i++)
k=sum(i,i);
printf("\n%d",k);
getch();
}
sum(s,t)
{
static int m;
m+=s+t;
return m;
}
Ans: 6
16. What is the output of the program
void main()
{
int i,j,k,n=5;
clrscr();
for(i=5;i>0;i--)
{
j=1<i;
k=n&j;
k==0?printf("0"):printf("1");
}
getch();
}
// A. 00011
// B. 11110
// c. 11001
// D. 11100
Ans: B. 11110
17. What is the output of the program
void main()
{
int i,j,k;
i=2;
j=4;
k=i++>j&2;
printf("%d\n",k);
if(++k && ++i<--j|| i++)
{
j=++k;
}
printf(" %d %d %d",i,-j--,k);
getch();
}
// A. 4,-3,2
// B. 5,-3,2
// c. 4,-2,2
// D. 5,-2,2
Ans: D
18. what is the final value of x when the code for(int
x=0;x<10;x++) is
run?
a. 10
b. 9
c. 0
d. 1
19. what is the data type of FILE?
a. integer
b. union
c. pointer
d. structure
20. if "a" is an array of 5*5 dimension, a[2][4] is same as
a. **(a+2+4)
b. *(a+2) + *(a+4)
c. **(a+2)+4
d. *(*a+2)+4)
21. In a business P and Q invested amounts in the ratio 3:4, whereas the ratio between amounts invested by P and R was 6:7. If Rs 106501.50 was their profit, how much amount did Q receive?
1) Rs 40572
2) Rs 30429
3) Rs 35500.50
4) Rs 34629
5) None of these
22. A man buys spirit at Rs. 60 per letter, adds water to it and then sells it at Rs. 75 per litter. What is the ratio of spirit to water if his profit in the feal is 37.5%?
(a) 9:1 (b) 10:1 (c) 11:1 (d) None of these.
Ans (b) 10.1
23. A certain quantity of petrol is found to be adulterated to the extent of 10%. What proportion of the adulterated petrol should be replaced with pure petrol to take the purity level to 98%?
(a) 80% (b) 32% (c) 66.67% (d) cannot be determined.
Ans (a) 80%
24. There is a family of six persons P,Q,R,S,T and U.They are Lawyer, Doctor, Teacher, Salesman, Engineer and Accountant. There are two married couples in the family. S, the salesman is married to the Lady Teacher. The Doctor is married to the Lawyer U, The Accountant is the son of Q and brother of T. R, the Lawyer is the daughter-in-law of P. T is the unmarried Engineer. P is the Grandmother of U. Which is the profession of P?
a)Lawyer b)Teacher c)Doctor d)Accountant
25. My mother gave me money to buy stamps of price 2paisa, 7 paisa,15 paisa, 10paisa and 20 paisa. I had to buy 5 each of three types and 6 each of the other 2 types . But on my way to the post office i forgot how many of stamps of each type were to be brought . My mother had given me rupees 3 . So i had no problem in finding out the exact amount of each one . Can you tell me which stamps were 5 in number , n whic were 6 in number
Ans . 5 stamps each of 2paisa, 7 paisa, 15 paisa
26. If all the picture cards are removed from a pack of cards, the sum of the values of the remaining is
a) 55 b) 220 c) 54 d) 216
27.One monkey climbs a poll at the rate of 6mts/min and fell down 3mts in the alternately. Length of the poll is 60 mtrs , how much time it will take to reach the top?
a. 31 b.33 c.37 d.40 (ans: 37)
28. Find the approximate value of the following equation. 6.23% of 258.43 - ? + 3.11% of 127 = 13.87
1) 2
2) 4
3) 8
4) 6
5) 10
29. A train overtakes 2 persons walking at 3 km/hr and 5 km/hr respectively in the same direction and completely passes them in 8 seconds and 10 seconds respectively. Find the speed of the train.
1) 15 km/hr
2) 13 km/hr
3) 10 km/hr
4) 10 km/hr
5) None of these
30. The sum of a number and its square is 1406. What is the number?
1) 38
2) 39
3) 37
4) 29
5) None of these
31. A man spends half of his salary on household expenses, 1/4th for rent, 1/5th for travel expenses, the man deposits the rest in a bank. If his monthly deposits in the bank amount 50, what is his monthly salary ?
(A) Rs.500
(B) Rs.1500
(C) Rs.1000
(D) Rs. 900
32. To change the default date format in a SQLPLUS Session you have to
(A) Set the new format in the DATE_FORMAT key in the windows Registry.
(B) Alter session to set NLS_DATE-FORMAT.
(C) Change the Config.ora File for the date base.
(D) Change the User Profile USER-DATE-FORMAT.
33. Which of the following is not necessarily an advantages of using a package rather than independent stored procedure in data base.
(A) Better performance. (B) Optimized memory usage.
(C) Simplified Security implementation. (D) Encapsulation.
34. Find the greatest no. that will divide 964,1238 and 1400 leaving remainder of 41,31 and 51 resp.
a) 58 b) 64 c) 69 d) 71
35. If all 6’s get inverted and become 9’s , by how much will the sum of all nos. between 1 and 100 both inclusive change?
a) 300 b) 330 c) 333 d) none of these
36. What is the output of the program
void main()
{
struct a
{
int i;
char *st1;
};
typedef struct a ST;
ST *str1;
str1=(ST*)malloc(100);
str1->i=100;
strcpy(str1->st1,"Welcome to Oracle");
printf(" %d%s\n",str1->i,str1->st1);
getch();
}
// A. core dump
// B. will not compile
// c. 100,Welcome to Oracle
// D. None of these
Ans: C
37. What is the output of the program
void main()
{
int i,j,k;
i=2;
j=4;
k=i++>j&2;
printf("%d\n",k);
if(++k && ++i<--j|| i++)
{
j=++k;
}
printf(" %d %d %d",i,-j--,k);
getch();
}
// A. 4,-3,2
// B. 5,-3,2
// c. 4,-2,2
// D. 5,-2,2
Ans: D
38. What is the output of the program
#include<stdio.h>
#include<conio.h>
void main()
{
int i,j=20;
clrscr();
for(i=1;i<3;i++)
{
printf("%d,",i);
continue;
printf("%d",j);
break;
}
getch();
}
// A. 1,20
// B. 1,20,1,20
// c. 1,2
// D. 1,2,20,20
Ans: c
39. x% of y is y% of ?
(A) x/y
(B) 2y
(C) x
(D) can't be determined
40. The price of sugar increases by 20%, by what % should a housewife reduce the consumption of sugar so that expenditure on sugar can be same as before ?
(A) 15%
(B) 16.66%
(C) 12%
(D) 9%