Professional Documents
Culture Documents
Done 1
Done 1
Done 1
PLACEMENT MATERIAL
“by -
Ample Coder
AMPLE CODER
AMPLE CODER
AMPLE CODER
Quantitative Aptitude
1. Sixty-five percent of a number is 21 less than four fifth of that number. What is the
number?
A) 110 B) 120
C) 140 D) 150
Ans: A) 140
Explanation
let the number be x.
Then, 4*x/5 –(65% of x) = 21
4x/5 –65x/100 = 21
5 x = 2100
x = 140.
2. The average age of a husband and his wife was 23 years at the time of their marriage.
After five years they have a one-year old child. The average age of the family now is:
A) 25 B) 23
C) 19 D) 18
Ans: C) 19
Explanation:
Sum of the present ages of husband, wife and child = (23 * 2 + 5 * 2) + 1 = 57 years.
Required average = (57/3) = 19 years.
3. Find the greatest number which on dividing 1661 and 2045, leaves a reminder of 10 and
13 respectively
A. 125 B. 127
AMPLE CODER
AMPLE CODER
C. 129 D. 131
Ans: Option B
Explanation:
In this type of question, its obvious we need to calculate the HCF, trick is
HCF of (1661 - 10) and (2045 -13)
HCF (1651, 2032) = 127
4. Find the simple interest on Rs. 68,000 at 16 2/3% per annum for 9 months.
A. 9000 B. 9500
C. 8000 D. 8500
Ans: Option D
Explanation:
P = Rs.68000,R = 50/3% p.a and T = 9/12 years = 3/4years.
S.I. = (P*R*T)/100 = Rs.(68,000*(50/3)*(3/4)*(1/100))= Rs.8500
5. Three number are in the ratio of 3 : 4 : 5 and their L.C.M. is 2400. Their H.C.F. is:
A) 40 B) 80
C) 120 D) 200
Ans: A) 40
Explanation:
Let the numbers be 3x, 4x and 5x.
Then, their L.C.M. = 60x.
So, 60x = 2400 or x = 40.
The numbers are (3 x 40), (4 x 40) and (5 x 40).
Hence, required H.C.F. = 40.
AMPLE CODER
AMPLE CODER
6. Dhruv and Naksh drive at the speeds of 36 Kmph and 54 kmph respectively. If Naksh
takes 3 hours lesser than what Dhruv takes for the same distance. Then distance is:
a. 324 km b. 524 km
c. 320 km d. 420 km
Ans: 324 km
Explanation:
Let dhruv takes t hours then naksh takes t-3 hours
Because distance is same in both cases
So 36 * t = 54 (t-3)
t=9
36 * 9 = 324 km
7. A trapezium with an area of 5100 cm2 has the perpendicular distance between the two
parallel sides of 60m . if one of the parallel sides be 40m. find the length of the other side.
a. 130 m b. 110 m c. 120 m d. 145 m
Ans: 130 m
Explanation:
Area of a trapezium = (1/2) (a+b) h
8. If HCF of two numbers is 8,which of the following can never be their LCM?
A) 32 B) 48
C) 60 D) 152
Ans: C) 60
Explanation:
60 is not a multiple of 8
AMPLE CODER
AMPLE CODER
9. The cost price of 10 articles is equal to the selling price of 9 articles. find the profit
percent.
a. 101/9 % b. 100/9 % c. 102/9 % d. 103/9 %
Ans: 100/9 %
Explanation:
Let Cost Price be x and selling price be y
Then given that cost price of 10 articles is equal to the selling price of 9 articles
That means 10x=9y
Y= 10x/9
Profit percent = ((selling price – cost price )/cost price ) * 100 = 100/9 %
11. How many numbers are there in all from 4000 to 4999 (both 4000 and 4999 included)
having at least one of their digits repeated?
a. 356 b. 216 c. 496 d. 504
Ans: 496
Explanation:
Atleast one of their digits repeated = Total numbers – None of the digits repeated
AMPLE CODER
AMPLE CODER
12. Two numbers are respectively 20% and 50% more than a third number. The ratio of
the two numbers is:
A) 2:5 B) 3:5
C) 4:5 D) 5:4
Answer: C) 4:5
Explanation:
Let the third number be x.
Then, first number = 120% of x =120x/100 = 6x/5
Second number =150% of x = 150x/100 = 3x/2
Ratio of first two numbers = 6x/5 : 3x/2 = 12x : 15x = 4 : 5
13. 17 x 8 m rectangular ground is surrounded by 1.5 m width path. Depth of the path
is 12 cm. Gravel is filled and find the quantity of gravel required.
a) 5.5 b) 7.5 c) 6.05 d) 10.08
Ans: 10.08
Explanation:
AMPLE CODER
AMPLE CODER
14. 8+88+888+.....+8888........8888. There are 21 “8” digits in the last term of the series.
Find the last three digits of the sum.
a) 458 b) 648 c) 658 d) 968
Ans: 968
Explanation:
21*8=168 carry 16
20*8=160+16=176 carry 17
19*8=152+17=169
the value is 968
15. A student multiplied a number by 3/5 instead of 5/3, What is the percentage error in
the calculation ?
A) 54 % B) 64 %
C) 74 % D) 84 %
Ans: B) 64 %
Explanation:
Let the number be x.
Then, ideally he should have multiplied by x by 5/3. Hence Correct result was x * (5/3)= 5x/3.
By mistake he multiplied x by 3/5 . Hence the result with error = 3x/5
Then, error = (5x/3 - 3x/5) = 16x/15
AMPLE CODER
AMPLE CODER
16. Joe's age, Joe's sister's age and Joe’s fathers age sums up to a century. When son is as
old as his father, Joe's sister will be twice as old as now. When Joe is as old as his father
then his father is twice as old as when his sister was as old as her father.Age of her father ?
a) 45 b) 48 c) 50 d) 60
Ans: 50
Explanation:
Joe + sister + father = 100
After x years let us consider Joe's age is equal to his father
Joe + x = father
Therefore,
sister + x = 2 x sister
⇒ sister = x
Joe + sister = father
Therefore, 2 × father = 100
Hence, Father = 50
17. A bag contains 8 white balls, and 3 blue balls. Another bag contains 7 white, and 4
blue balls. What is the probability of getting blue ball?
a)3/7 b)7/22 c)7/25 d)7/15
Ans: 7/22
Explanation:
First we have to select a bag and then we will draw a ball.
Probability of selection of both bags is equal =1/2
Now probability of blue ball taken from first bag = ( 1/2) x (3/11)
AMPLE CODER
AMPLE CODER
and probability of blue ball taken from second bag = (1/2) x (4/11)
So probability of blue ball = ( 1/2) x (3/11) + (1/2) x (4/11) = 7/22
18. A team won 80% of the games it played. It played 5 more games of which it won 3
and lost 2. Its loss percentage changed to 25%. How many games did it play overall?
a) 20 b) 14 c) 16 d) 25
Ans: 20
Explanation:
if game played=x
then lost game=x/5
now they played 5 more games in which they lost 2
so, (x+5)*25/100=x/5 + 2
x=15
so total game he played=15+5 = 20
19. A rectangular grassy plot 110 m. by 65 m has a gravel path 2.5 m wide all round it on
the inside. Find the cost of gravelling the path at 80 paise per sq. metre.
a) 680 b) 560 c) 640 d) 580
Ans: 680
Explanation:
Area of the plot = (110 x 65) m2 = 7150 m2
Area of the plot excluding the path = [(110 - 5) * (65 - 5)] m2 = 6300 m2.
Area of the path = (7150 - 6300) m2 = 850 m2.
Cost of gravelling the path = Rs.850 * (80/100)= Rs. 680
AMPLE CODER
AMPLE CODER
20. Out of 7 consonants and 4 vowels, how many words of 3 consonants and 2 vowels can
be formed?
A) 25200 B) 52000 C) 120 D) 24400
Ans: A) 25200
Explanation:
Number of ways of selecting (3 consonants out of 7) and (2 vowels out of 4) = (7C3*4C2) = 210.
Number of groups, each having 3 consonants and 2 vowels = 210.
Each group contains 5 letters.
Number of ways of arranging 5 letters among themselves = 5! = 120
Required number of ways = (210 x 120) = 25200.
22. The maximum gap between two successive leap year is?
A) 4 B) 8
C) 2 D) 1
Ans: B) 8
AMPLE CODER
AMPLE CODER
Explanation:
This can be illustrated with an example.
Ex: 1896 is a leap year.The next leap year comes in 1904 (1900 is not a leap year).
23. A positive integer is selected at random and is divided by 7, what is the probability that
the remainder is 1?
A. 3/7 B. 4/7 C. 1/7 D. 2/7
Ans: 1/7
24. A and B invest in a business in the ratio 3 : 2. If 5% of the total profit goes to charity
and A's share is Rs. 855, the total profit is :
A) 500 B) 1000 C) 1500 D) 2000
Ans: C) 1500
Explanation:
Let the total profit be Rs. 100.
After paying to charity, A's share = (95*3/5) = Rs. 57.
If A's share is Rs. 57, total profit = Rs. 100.
If A's share is Rs. 855, total profit = (100/57*855) = 1500.
AMPLE CODER
AMPLE CODER
:. A's time over the course = (250 - 7-) sec = 243 sec
26. Fresh fruit contains 68% water & dry fruit contains 20% water. How much dry fruit
can be obtained from 100kg of fresh fruits?
A) 20 B) 30 C) 40 D) 50
Ans: C) 40
Explanation:
The fruit content in both the fresh fruit and dry fruit is the same.
Given, fresh fruit has 68% water.so remaining 32% is fruit content. weight of fresh fruits is
100kg
Dry fruit has 20% water.so remaining 80% is fruit content.let weight if dry fruit be y kg.
Fruit % in freshfruit = Fruit% in dryfruit
Therefore, (32/100) x 100 = (80/100 ) x y
we get, y = 40 kg.
AMPLE CODER
AMPLE CODER
Explanation:
16^100 * 125^135 => (2^4)^100 * (5^3)^135 => 2^400 * 5^405 = 2^400 * 5^400 * 5^5
= (2*5)^400 *3125
=10^400 * 3125
sum of 10^400= 1+0 + 0+ 0+ ...... = 1
sum of 3125 = 11
therefore= 1 * 11 = 11
therefore = 1 + 1= 2
ans is 2
30. A man spends 35% of his income on food, 25% on children's education and 80% of the
remaining on house rent. What percent of his income he is left with ?
A) 6 % B) 8 %
C) 10 % D) 12 %
Ans: B) 8 %
Explanation:
Let the total income be x.
AMPLE CODER
AMPLE CODER
Then, income left = (100 - 80)% of [100 - (35 + 25)] % of x = 20% of 40% of x = [(20/100) *
(40/100) * 100] % of x = 8 % of x.
31. the value of a scooter depreciates in such a way that at the end of each year, is ¾ of
its value at the beginning of same year. If the initial value of the scooter is rs40,000. What is
the value at the end of 3yrs?
a)23125 b)19000 c)13435 d)16875
Ans: 16875
Explanation:
As, it is given that , the cost becomes 3/4 at the end of year.
so, after 3 years ,the price of Scooter=40000*3/4*3/4*3/4= Rs.16875
33. A boat takes 19 hours for travelling downstream from point A to point B and coming
back to a point C which is at midway between A and B. If the velocity of the stream is 4
kmph and the speed of the boat in still water is 14 kmph, what is the distance between A
and B ?
A) 180 km B) 160 km
C) 140 km D) 120 km
AMPLE CODER
AMPLE CODER
Ans: A) 180 km
Explanation:
Speed in downstream = (14 + 4) km/hr = 18 km/hr;
Speed in upstream = (14 – 4) km/hr = 10 km/hr.
Let the distance between A and B be x km. Then,
34. A train leaves Meerut at 5 a.m. and reaches Delhi at 9 a.m. Another train leaves Delhi
at 7 a.m. and reaches Meerut at 10.30 a.m. At what time do the two trains travel in order to
cross each other?
A) 7:56 am B) 8:15 am
C) 7:45 am D) 8:00 am
Ans: 7:56 am
Explanation:
Let the total distance be x
So the speed of 1st train is x/4 and 2nd train x/3.5
In 2 hours 1st train covers half of the total distance . So remaining is only half of the
total distance(ie x/2). Let t be the time taken
t × x 4+ t × x 3.5= x 2
t = 1415
i.e. 56 min
i.e. Total time taken= 2 hrs + 56 min
Time they cross each other is 7:56 am (5+2.56) Answer 7:56 am
AMPLE CODER
AMPLE CODER
35. ‘A’ and ‘B’ started a business in partnership investing Rs 20000/- and Rs 15000/-
respectively. After six months ‘C’ jointed them with Rs 20000/-. What will be B’s share in
the total profit of Rs 25000/- earned at the end of two years from the starting of the
business?
A) 7000 B) 7500
C) 8000 D) 8500
Ans: 7500
Explanation:
A:B:C = (20000×24):(15000×24):(20000×18) =4 : 3 : 3
B's Share = 3×250004+3+3 = 7500
37. Joke is faster than Paul, Joke and Paul each walk 24 KM. The sum of their speed is
7 Km per hour. And the sum of times taken by them is 14 hours. Then, Jake speed is
a) 7 kmph b) 3 kmph c) 5 kmph d) 4 kmph
Ans: 4 kmph
Explanation:
peed=TimedistanceSpeed=Timedistance
let the speed of joke x then speed of paul will be 7-x
AMPLE CODER
AMPLE CODER
24x+247−x=1424x+247−x=14
Try to plugin the values from the options. If Jake speed is 4 the paul is 3.
38. GOOD is coded as 164 then BAD as 21. If UGLY coded as 260 then JUMP?
a) 200 b) 250 c) 230 d) 240
Ans: 240
Explanation:
G O O D = 7 + 15 + 15 + 4 = 41
41 x 4 = 164
Similarly
BAD=2+1+4=7
7x3
U G L Y = 21 + 7 + 12 + 25 = 65
65 x 4
Similarly,
J U M P = 10 + 21 + 13 + 16 = 60
60 x 4 = 240
39. A series of books was published at 10years intervals when the 10th book was issued
the sum of publication years was 19,560when was the 1st book published
a)1910 b)1914 c)1911 d)1909
Ans: 1911
Explanation:
19560=10/2[a+a+(10-1)*10]
19560=5[2a+90]
19560-450=10a
AMPLE CODER
AMPLE CODER
a=19110/10
a=1911
40. The average weight of 8 persons increases by 2.5 kg when a new person comes in place
of one of them weighing 65 kg. What might be the weight of the new person ?
A) 70 kg B) 75 kg
C) 80 kg D) 85 kg
Ans: D) 85 kg
Explanation:
Total weight increased = (8 x 2.5) kg = 20 kg.
Weight of new person = (65 + 20) kg = 85 kg.
41. two dice are thrown. find the probability of getting a multiple of 3 of 4 as the sum.
a) 5/9 b) 4/9 c) 2/9 d) 1/9
Ans: 5/9
Explanation:
20/36=5/9
(1,2),(1,3),(1,5),(2,1)(2,2)(2,4)(2,6)(3,1)(3,3)(3,5)(3,6)(4,2)(4,4)(4,5)(5,1)(5,3)(5,4)(6,2)(6,3)(6,6
) as
its some is multiple of 3 or 4
42. how many number x (x being an integer) with 10<=x<=99 are 18 more than
sum of their digits?
a)12
b)9
c)18
AMPLE CODER
AMPLE CODER
d)10
Ans: 10
Explanation:
Let the no. be 10y+z.
then,
10y+z= y+z+18
=> Y=2
So the no. are 20, 21, 22, 23, 24, 25, 26, 27, 28, 29. Total nos. 10
43. A person incurs a loss of 5% be selling a watch for Rs. 1140. At what price should
the watch be sold to earn 5% profit.
A. Rs.1200 B. Rs.1230
C. Rs.1260 D. Rs.1290
Ans: 1260
Explanation:
Let the new S.P. be x, then.
(100 - loss%):(1st S.P.) = (100 + gain%):(2nd S.P.)
=>(95/1140=105/x)=>x=1260
44. If LCM of two number is 693, HCF of two numbers is 11 and one number is 99, then
find other
A. 34 B. 77
C. 12 D. 45
Ans: Option B
Explanation:
For any this type of question, remember
AMPLE CODER
AMPLE CODER
693×11/99 = 77
46.Two unbiased coin are tossed .what is the probability of getting atmost one head?
a) 1/4 b) 2/4 c) 3/4 d) 1
Ans: 3/4
Explanation:
Here S={HH,HT,TH,TT}
Let Ee=event of getting one head
E={TT,HT,TH}
P(E)=n(E)/n(S)=3/4
47. How many ways can one arrange the word EDUCATION such that relative positions of
vowels and consonants remains same?
a)2680 b)2740 c)2500 d)2880
AMPLE CODER
AMPLE CODER
Ans: 2880
Explanation:
The word EDUCATION is a 9 letter word with none of letters repeating
The vowels occupy 3,5,7th & 8th position in the word & remaining five positions are occupied
by consonants
As the relative position of the vowels & consonants in any arrangement should remain the same
as in the word EDUCATION
The four vowels can be arranged in 3rd,5th,7th & 8th position in 4! ways.
similarly the five consonants can be arranged in 1st ,2nd ,4th, 6th & 9th position in 5! ways
Hence the total number of ways = 5!×4!=120×24=2880
48. How many 3 digit numbers can you form using 2,3,5,6,7 and 9, which are divisible by
5 and none of the digits repeat?
A. 10 B. 15
C. 5 D. 20
Ans: 20
Explanation:
For a number to be divisible by 5, it should have 0 or 5 as a unit digit.
We have 6 digits- 2, 3, 5, 6, 7 & 9.
Required numbers should be like---5 .
We've 5 choices to fill these 2 places.
Number of total multiples of 5 formed = 5P2 = 5*4*= 20.
49. A train 120 meters long is running with a speed of 60 km/hr. In what time will it pass a
boy who is running at 6 km/hr in the direction opposite to that in which the train is going?
A 6.54 sec
AMPLE CODER
AMPLE CODER
B 44.32 sec
C 55 sec
D 30.2 sec
Ans: A
Explanation:
Speed of train relative to boy= `(60 + 6)` km/hr = 66 km/hr
`= [66 xx 5/18]` m/sec = `[55/3]` m/sec.
Time taken to pass the boy=` [120 xx 3/55]` sec = 6.54 seconds
50. Find the H.C.F, if the numbers are in the ratio of 4 : 5 : 6 and their L.C.M. is 2400.
A 35
B 20
C 40
D 67
Ans: B
Explanation:
Let the numbers be 3x, 4x and 5x.
Then,their L.C.M. = 120x.
So, 120x = 2400 or x = 20.
=>The numbers are (4 x 20), (5 x 20) and (6 x 20).
Hence, required H.C.F = 20.
51. A man wants to sell his scooter .There are two offers one at Rs12000 cash and other at a
credit of Rs12880 to be paid after 8 months ,money being at 18% per annum which is
better offer?
A) Rs.12880 B) Rs.12000
AMPLE CODER
AMPLE CODER
52. A man can row 6 kmph in still water. When the river is running at 1.2 kmph, it takes
him 1 hour to row to a place and back. What is the total distance traveled by the man ?
A) 4.58 kms B) 6.35 kms
C) 5.76 kms D) 5.24 kms
Ans : C) 5.76 kms
Explanation:
Speed in still water = 6 kmph
Stream speed = 1.2 kmph
Down stream = 7.2 kmph
Up Stream = 4.8 kmph
x/7.2 + x/4.8 = 1
x = 2.88
Total Distance = 2.88 x 2 = 5.76 kms
A 12
B 1/4
C 0.155
D None of these
AMPLE CODER
AMPLE CODER
Answer B
Explanation:
Let be the 4% of a is 4a/100.
Since this equals 8, we have 4a/100=8.
Solving for a yields a=8×`(100/4)`=200.
Also, 8% of b equals 8b/100, and this equals 4.
Hence, we have `(8/100)`×b=4.
Solving for b yields b = 50.
Now, c=`b/a`=`50/200`=`1/4.`
54. Walking at 3/4 of his normal speed, Mike is 16 minutes late in reaching his office. The
usual time taken by him to cover the distance between his home and his office is
a). 42 minutes
b). 48 minutes
c). 60 minutes
d). 62 minutes
Ans: 48 minutes
Explanation:
Let s = his normal speed
t = his normal time
Then
D = (3/4)s * (t+16)
Since the distance is the same we can equate this to his regular day which is D =
s*t
s*t = (3/4)s * (t+16)
t=48
AMPLE CODER
AMPLE CODER
55. What is the next number of the following sequence 7, 14, 55, 110, ....?
a)120 b)121 c)150 d)135
Ans: 121
Explanation:
Next number = Previous number + Reverse of previous number So
7 ,7+7=14, 14+41 = 55, 55+55 = 110, 110+011 = 121
56 The rate at which a sum becomes four times of itself in 25 years at S.I.,will be:
A 30%
B 25%
C 12%
D 49%
Ans: C
Explanation:
Let sum = x. Then, S.I. = 3x
Rate = [100 ** (S.I.) / P**T] %
= [100 ** (3x) / x ** 25]% = 12%
57. A train goes from stations A to B. One day there is a technical problem at the very
beginning of the journey & hence the train travels at 3/5 of it's original speed and so it
arrives 2 hours late. Had the problem occurred after 50 miles had been covered, the train
would have arrived 40 min earlier(i.e., only 120-40 = 80 min late). What is the distance
between the 2 stations?
a) 120 b)132 c)180 d)150
Ans: 150
AMPLE CODER
AMPLE CODER
Explanation:
For 1 mile the train is late by 40 / 50 min or 4/5 minutes. Or it is late by 1 minute for
every 5/4 miles. For 120 minutes late it has to travel 120 x 5/4 = 150 miles.
AMPLE CODER
AMPLE CODER
=> x = 3 or x = -5.
61. At 6'o clock, the clock ticks 6 times. The time between first and last ticks was 30sec.
How much time it takes at 12'o clock?
A. 65 sec
B. 60 sec
C. 62 sec
D. 66 sec
Ans: 66sec
Explanation:
At 6'o clock ticks 6 times means 5 interval
and also given that time b/w first and last tick is 30 sec.
so 30/5=6
i.e time of each interval is 6 sec.
Similarly at 12'o clock, clock ticks 12 times i.e 11 interval
So 1 interval time=6
so 11 interval=11*6
Answer=66 sec
62. Divide 50 into two parts such that the sum of their reciprocals is 1/12. the
numbers are
a) (24,26) b) (28,22) c) (27,23) d) (20,30)
Ans: D
Explanation:
let one number be x
the other number will be 50-x
AMPLE CODER
AMPLE CODER
63. In how many possible ways can write 3240 as a product of 3 positive integers a,b and c
a) 450 b) 420 c) 350 d) 320
Ans: 420
Explanation:
3240=2*2*2*5*3*3*3*3
so, no. of ways=8!/(3!*4!)=420......
64. A mixture contains alcohol and water in the ratio 4 : 3. If 5 liters of water is added to
the mixture, the ratio becomes 4: 5. Find the quantity of alcohol in the given mixture.
A) 10 B) 12
C) 15 D) 18
Ans: A) 10
Explanation:
Let the quantity of alcohol and water be 4x litres and 3x litres respectively
4x/(3x+5) = 4/5
20x = 4(3x+5)
8x = 20
AMPLE CODER
AMPLE CODER
x = 2.5
Quantity of alcohol = (4 x 2.5) litres = 10 litres.
65. 5 cars are to be parked in 5 parking slots. there are 3 red cars, 1 blue car and 1
green car. How many ways the car can be parked?
A) 20 B) 12
C) 15 D) 18
Ans: 20
Explanation:
Total ways to park the cars having same color = 5!
But according to question ,there are 3 red cars,so no. of ways for parking 3 red cars= 3!
and both blue & green in 1 ways
so, 5!1!×3!×1!
= 20 ways
Hence correct answer is 20 ways.
66. A man sold two cows for Rs.210 at a total profit of 5 %. He sold one cow at a loss of
10% and another at a profit of 10%. What is the price of each cow?
A. 50,100
B. 100,50
C. 150,100
D 50,150
Ans: 50,150
Explanation:
50 and 150
after profit, price is 210
AMPLE CODER
AMPLE CODER
67. There are 8 digits and 5 alphabets.In how many ways can you form an alphanumeric
word using 3 digits and 2 alphabets?
A) 45200 B) 48700
C) 43200 D) 48000
Ans: 43200
Explanation:
Select 3 digits from 8 digits i. e. 8 C 3
ways
And also select 2 alphabets from 5 alphabets i.e., 5 C 2
ways
Now to form a alphanumeric word of 5 characters we have to arrange the 5 selected
digits. So the answer is . 8 C 3
×5C2×
5! = 43200
AMPLE CODER
AMPLE CODER
Ans: 20
Explanation:
Formula : Number of diagonals for n sided regular polygon = n C 2 – n For Octagon n = 8
Number of diagonals = 8 C 2
– 8 = 20
70. 10 women can complete a work in 7 days and 10 children take 14 days to complete
the work. How many days will 5 women and 10 children take to complete the work?
A. 6 days
B. 7 days
AMPLE CODER
AMPLE CODER
C. 8 days
D. 9 days
Ans: Option B
Explanation:
1 woman's 1 day's work = 1/70
1 Child's 1 day's work = 1/140
5 Women and 10 children 1 day work =
(5/70 +10/140)=1/7
So 5 women and 10 children will finish the work in 7 days.
71. A fires 5 shots to B's 3 but A kills only once in 3 shots while B kills once in 2 shots.
When B has missed 27 times, A has killed :
A) 30 birds B) 60 birds
C) 72 birds D) 90 birds
Ans: A) 30 birds
Explanation:
Let the no of shots be x. Then,
Shots fired by A =(5/8)x
Shots fired by B = (3/8)x
Killing shots by A = 1/3 of (5/8)x = (5/24)x
Shots missed by B = 1/2 of (3/8)x = (3/16)x
(3/16)x = 27 ⇒ x =144
Birds killed by A = (5/24)x = (5/24)*144 = 30
72. The letters in the word ROADIE are permuted in all possible ways and arranged in
alphabetic order. Find the word in the 44th rank.
AMPLE CODER
AMPLE CODER
73. The sum of two numbers is 45. The sum of their quotient and is reciprocal
is 2.05, the product of the numbers is?
a) 450 b) 205 c) 400 d) 500
Ans: 500
Explanation:
- a + b = 45
a/b+b/a = 2.05
=>(a^2+b^2)/ab = 2.05
=>((a+b)^2−2ab)/ab=2.05
=>(a+b)^2 = 2.05ab + 2ab = 4.05ab
=> ab = 45^2 / 4.05 = 500
74. A grocer has a sale of Rs 6435, Rs. 6927, Rs. 6855, Rs. 7230 and Rs. 6562 for 5
consecutive months. How much sale must he have in the sixth month so that he gets an
average sale of Rs, 6500 ?
A) 4991 B) 5467
AMPLE CODER
AMPLE CODER
C) 5987 D) 6453
Ans: A) 4991
Explanation:
Total sale for 5 months = Rs. (6435 + 6927 + 6855 + 7230 + 6562) = Rs. 34009.
Required sale = Rs.[(6500 x 6) - 34009] = Rs. (39000 - 34009) = Rs. 4991.
75. P can do a piece of work in 5 days of 8 hours each and Q can do in 4 days of 6 hours
each. How long will they take do it working 5 hours a day?
a. 2 days b. 3 days c. 4 days d. 5 days
Ans: 3 days
Explanation:
P can do in 5* 8 hours= 40 hours
Q can do in = 24 hours
Working together in one hour = (1/40) + (1/24) = 1/15
Total work can be finished in 15 hours
They 5 hours a day so total number of days = 15/5 = 3 days
A) 3 B) 9
C) 27 D) 81
Ans: 3
Explanation:
let log3 27=33 or n=3.
ie, log3 27 = 3.
77. How many words can be formed from the letters of the word ‘DIRECTOR’
AMPLE CODER
AMPLE CODER
78. A person incurs a loss of 5% be selling a watch for Rs. 1140. At what price should
the watch be sold to earn 5% profit.
A. Rs.1200
B. Rs.1230
C. Rs.1260
D. Rs.1290
Ans: Option C
Explanation:
Let the new S.P. be x, then.
(100 - loss%):(1st S.P.) = (100 + gain%):(2nd S.P.)
=>(95/1140=105/x)=>x=1260
79. John told mark that if mark gives 1/3 rd of his money to him, he will have rs. 75.
Mark told john that if john gives half of hi money to him, he will have rs. 75. How much
AMPLE CODER
AMPLE CODER
80. Raj divided 50 into two parts such that the sum of their reciprocal is 1/12, we get the
parts as
a) 28, 22
b) 24, 36
c) 36, 14
d) 20, 30
Ans: 20,30
Explanation:
(1/20)+(1/30)=5/60=1/12 so ans is (d) 20,30
81. 1. 4, 6, 10, 14, 22, 26, 34, 38, 46, _ ? what is next term in the series.
A) 50 B) 52
C) 56 D) 58
Ans: 58
AMPLE CODER
AMPLE CODER
Explanation:
Divide each number by 2. Then we get 2, 3, 5, 7, 11, 13, ......, 23. This is a prime number series.
So next number will be 2 x 29 = 58
Explanation:
0.36 = 36/100 = 9/25
AMPLE CODER
AMPLE CODER
C - 3/400
D - 2081/250
Ans: B
Explanation:
2.04 = 204/100 = 51/25
85. Which of the following is the correct ascending order for 3/8, 7/12, 2/3, 16/25, 14/15?
A - 3/8 < 7/12 < 2/3 < 16/25 < 14/15
B - 3/8 < 7/12 < 16/25 < 2/3 < 14/15
C - 7/12 < 3/8 < 2/3 < 16/25 < 14/15
D - 2/3 < 7/12 < 3/8 < 16/25 < 14/15
Answer - B
Explanation:
3/8 = 0.375, 7/12 = 0.583, 2/3 = 0.666, 16/25 = 0.64 and 14/15 = 0.933
As .375 < .583 < .64 <.666 < .933
Explanation:
Given exp. =2- [3-{6-(5-4+3)}] [ Removing viranaculam]
= 2 - [3-{6-(5-4+3)}] [ Removing ( )]
AMPLE CODER
AMPLE CODER
Explanation:
Given exp . = 4.8 *1.8 / 3.6+ 0.6-1/5 (Removing of () )
= 4.8 * 1.8 * 1/ 3.6+ 0.6 -1/5 ( Removing /)
= 2.4 +0.6- 0.2 (Removing *)
= 3- 0.2 = 2.8
Explanation:
If the number be x then,
3/7 of 2/5 of x = 198
⇒ 6x/35 = 198
AMPLE CODER
AMPLE CODER
89. Discover the co-ordinates of the centroid of ∆ABC whose vertices are A (6, - 2) and
B (4, - 3) what's more, C (- 1, - 4).
A - (-3,-3)
B - (3,3)
C - (3,-3)
D - (-3,3)
Ans: C
Explanation:
The directions of the centroid are
{(6+4-1)/3, (- 2-3-4)/3} i.e. (3, - 3)
Explanation:
6894 x 99
= 6894 x (100 - 1)
= 6894 x 100 - 6894 x 1
= 689400 - 6894
= 682506
AMPLE CODER
AMPLE CODER
91. On dividing a number by 342, 47 is the remainder. What will be remainder if same
number is
divided by 18?
A - 11
B-6
C-8
D-2
Ans: A
Explanation:
Let's quotient is a and given number be b.
b = 342a + 47
= (18 x 19)a + 36 + 11
= (18 x 19)a + (18 x 2) + 11
= 18 x (19a + 2) + 11
Thus, if same number is divided by 18, remainder will be 11.
We've used following formulae here:
Dividend = (Divisor x Quotient) + Reminder
Explanation:
Multiply unit digits of each number.
AMPLE CODER
AMPLE CODER
93. The length of a rectangular plot is 40 meters more than its breadth. If the cost of
fencing the plot at 53 per meter is Rs. 10,600, what is the length of the plot in meters?
A - 100 m
B - 80 m
C - 60 m
D - 55 m
Ans: A
Explanation:
Let breadth = X meters. Then, length = (X+ 40) meters.
Perimeter = 10600/53 =200 m
⇒X = 60.
Hence, length = x + 40 = 100 m.
94. Find the average of all the numbers between 6 and 34 which are divisible by 5?
A - 30
B - 24
C - 20
D - 18
Ans: C
Explanation:
AMPLE CODER
AMPLE CODER
Explanation:
91 is divisible by 7. So, it is not a prime number.
96. What least number must be added to 1056, so that the sum is completely divisible by 23
A. 2
B. 3
C. 18
D. 21
Ans: A
Explanation:
If the number 1056 is completely divisible by 23 means, remainder should come zero.
But if we divide 1056 by 23, the remainder is 2.
So if 2 is added to the 1056, we get remainder 0.
Therefore solution is 2
AMPLE CODER
AMPLE CODER
A. 4
B. 5
C. 6
D. 7
Ans: A
Explanation:
By using your calculator you can calculate that the following numbers are divisible by 132 : 264,
396, 792 and 6336.
98. A and B together have Sterling 1210. If 4/15 of A's amount is equal to 2/5 of B's
amount, how much amount does B have?
A. Sterling 460
B. Sterling 484
C. Sterling 550
D. Sterling 664
Answer: B
Explanation:
4/15A = 2/5B
A = (2/5 x 15/4)B
A : B = 3 : 2.
AMPLE CODER
AMPLE CODER
A. 1.12
B. 1.2
C. 1.25
D. 1.30
Answer: B
Explanation:
100. Tickets numbered 1 to 20 are mixed up and then a ticket is drawn at random. What is
the probability that the ticket drawn has a number which is a multiple of 3 or 5?
A. 1/2
B. 2/5
C. 8/15
D. 9/20
Ans: D
Explanation:
Let E = event of getting a multiple of 3 or 5 = {3, 6 , 9, 12, 15, 18, 5, 10, 20}.
AMPLE CODER
AMPLE CODER
Logical Reasoning
A. Marigold
B. Grapes
C. Rose
D. Lotus
Answer – B. Grapes
Directions (Q. 2 - 4): Below asked questions, two rows of numbers are
given. The resultant number in each row is to be worked out separately
based on the following rules and the questions below the rows of numbers
are to be answered. The operations of numbers progress from the left to
the right.
Rules:
AMPLE CODER
AMPLE CODER
2. I. 15 6 21
II. P 3 27
If ‘P’ is the resultant of the first row, what will be the resultant of the
second row?
A. 27
B. 60
C. 58
D. 82
Answer - B. 60
Explanation:
15 – 6 = 9 [Rule v]
9 + 21= 30 [Rule i]
P = 30
30 + 3 = 33 [Rule ii]
33 + 27 = 60 [Rule i]
3.
I. 51 17 35
AMPLE CODER
AMPLE CODER
II. 14 15 R
If ‘R’ is the resultant of the first row, what will be the sum of the resultants
of first and second row?
A. 31
B. - 3
C. 29
D. 3
Answer - C. 29
3 + 35 = 38 [Rule i]
R = 38 14 + 15 = 29 [Rule ii]
29 – 38 = -9[Rule v] ;
4.
I. 12 36 15
II. 18 Q 10
If ‘Q’ is the resultant of the first row, what will be the resultant of the
second row ?
A. 85
B. 101
AMPLE CODER
AMPLE CODER
C. 69
24 + 15 = 39 [Rule ii]
Q = 39
18 + 39 = 57 [Rule ii]
57 – 10 = 47 [Rule v]
A. Strain
B. Force
C. Stress
D. Pressure
Answer – D. Pressure
Explanation:
AMPLE CODER
AMPLE CODER
R6J#L@3EDTAC*G©UM2FIV$4Z5Y
6. Which of the following is the sixth to the left of the fifth to the left of
“V”?
A. 3
B. D
C. T
D. A
Answer - C. T
7. If all the numbers are dropped from the above arrangement, which of
the following will be the seventeenth from the right end?
A. E
B. I
C. @
D. C
Answer - C. @
Explanation:
AMPLE CODER
AMPLE CODER
Given Sequence R 6 J # L @ 3 E D T A C * G © U M 2 F I V $ 4 Z 5 Y
RJ#L@EDTAC*G©UMFIV$ZY
8. Which of the following is the eighth to the right of the fourteenth from
the left end of the above arrangement?
A. $
B. E
C. V
D. 4
Answer - A. $
9. Statements:
No tag is a pin.
Conclusions:
I. No pin is a tag
AMPLE CODER
AMPLE CODER
A. Only I follows
B. Only II follows
Explanation:
III: From II => All pins are definitely not tag => true
10.
Statements: No plant is a tree. All trees are roots. Some branches are roots
Conclusions:
A. Only I follow
B. Only II follows
AMPLE CODER
AMPLE CODER
Explanation:
I: No+all => some not =>Possibility not exist because of negative statement
II: All trees are roots => Some roots are trees => true
III: From II and III => All+some => No conclusion => false
11. Three of the following four are alike in a certain way and so form a
group. Which is the one that does not belong to that group?
A. Kerala
B. Maharashtra
C. West Bengal
D. Uttar Pradesh
12. Statements:
I. The bank decided to give advances to the priority sector at the rate of
interest at par with the corporate sector.
II. The percentage of bad loans given by the banks to the priority sector is
very low compared to corporate sector.
AMPLE CODER
AMPLE CODER
Explanation: The bank can change its policy with the priority sector due to
a change in government policy. Thus, it is an effect. But the same cause
cannot be the reason for the percentage of bad loans being less for the
priority sector.
A. Light
B. Wind
C. Sound
D. Water
Answer – D. Water
ONE
ONE
AMPLE CODER
AMPLE CODER
ONE
+O N E
-------
TEN
1)7,2,9
2)4,2,8
3)7,2,8
4) 5,3,8
Explanation:
182
182
+ 182
—–
728
15. Given:
If POINT
+ ZERO
--------------
AMPLE CODER
AMPLE CODER
ENERGY
A) 11
B) 14
C) 13
D) 17
Answer: 17
Explanation:
Z+O=1,Z=3,O=8,3+8=11,31R8+98I0T=101RGY,
8+T=Y,8+4=12 carry=1,31R8+98I04=101RG2
so E+N+R+G+Y=1+0+1+6+7+2=17
A)23
B)24
AMPLE CODER
AMPLE CODER
C)22
D)25
Answer: B)24
1)10
2)11
3)12
4)13
Answer: 3) 12
Explanation:
HOW+MUCH=Power
o=0,p=1,r=2,c=3,e=4,w=5,h=7,u=8,m=9
so 1+0+5+4+2=12
A)13
B)14
C)15
D)16
Answers: B)14
AMPLE CODER
AMPLE CODER
Explanation:
SEND 9567
MORE 1085
—– —–-----
MONEY 10652
SO M+O+N+E+Y =1+0+6+5+2=14
A)27
B)28
C)26
D)29
Answer C) 26
20. Fill in the blank spaces in the series with appropriate choices:
A 11, 12
B 12 13
C 13 0
D 9 11
AMPLE CODER
AMPLE CODER
Answer: Option C
Explaination:
48
48 – 45 = 3
45 – 40 = 5
40 – 33 = 7
33 – 24 = 9
21. Given signs signify something and on that basis, assume the given
statements to be true and find which of the two conclusions I and II is/are
definitely true.
P = Q means P is equal to Q
AMPLE CODER
AMPLE CODER
Statements X/Y, W * Z, Z + Y
Conclusions
I. W + Y
II. X/Z
22. Statements
Conclusions
AMPLE CODER
AMPLE CODER
23. Statements:
Conclusions:
AMPLE CODER
AMPLE CODER
24. Statements
Conclusions
25. Statements
Conclusions
AMPLE CODER
AMPLE CODER
26. Statements
Conclusions
27. In the question symbols *, @, %, $ and # are used with the following
meaning :
AMPLE CODER
AMPLE CODER
Now assuming the statements to be true, find which of the two conclusions I
and II is/are definitely true.
Statements: W @ M, J # M, M * Y
Conclusions:
I. Y * W
II. Y @ J
28. In the question symbols *, @, %, $ and # are used with the following
meaning :
Statements
D %H, K * H, H $ R
AMPLE CODER
AMPLE CODER
Conclusions
I. K $ R
II. D % K
29. Statements: S
No deer is a lion.
Conclusions:
I. No rabbit is lion.
AMPLE CODER
AMPLE CODER
30. Statements:
Conclusions:
31. Statements:
Conclusions:
AMPLE CODER
AMPLE CODER
32. Statements:
Conclusions:
33. Statements:
Conclusions:
AMPLE CODER
AMPLE CODER
34. Statements:
Conclusions:
35. Statements:
AMPLE CODER
AMPLE CODER
Conclusions:
36. Statements:
Conclusions:
AMPLE CODER
AMPLE CODER
37. Statements:
Conclusions:
Option 1 : No follows
38. Statements:
AMPLE CODER
AMPLE CODER
Conclusions:
39. In the question, the symbols @, &, *, $ and # are used with the
following meaning:
AMPLE CODER
AMPLE CODER
Now assume the given statements to be true and find which out of the two
conclusions I and II is/are definitely true.
Statements: K # T, D $ F, T * F
Conclusions:
I. K * D
II.D $ T
40. In the question certain symbols are used with the following meaning:
“P * Q means ‘P is equal to Q’
Now assume the given statements to be true and find which of the two
conclusions I and II is/are definitely true.
Statements: A * B, C # B, A ^ F, B @ C
Conclusions:
AMPLE CODER
AMPLE CODER
I. C ^ F
II. F ^ B
41. Statements:
No paper is pen.
No pen is pencil.
Conclusions:
AMPLE CODER
AMPLE CODER
42. Statements:
Conclusions:
43. Statements:
Conclusions:
AMPLE CODER
AMPLE CODER
44. Statements:
No bag is lion.
Conclusions:
45. Statements:
AMPLE CODER
AMPLE CODER
Conclusions:
46. The question shows a pair of words in which the first is related to the
second in some way. It is followed by a single word which bears a similar
relation to one of the given alternatives.
Pascal:Programming::Oracle: ?
Option 1 : Internet
Option 2 : Greek
Option 3 : Java
Option 4 : Teletext
AMPLE CODER
AMPLE CODER
Option 1 : Bonus
Option 3 : Profit
Option 4 : Interest
Option 1 : Squander
Option 2 : Lavish
Option 3 : Redeem
Option 4 : Deposit
Option 1 : Group
Option 2 : Faculty
Option 3 : Galaxy
Option 4 : Syndicate
AMPLE CODER
AMPLE CODER
50. Select that pair that expresses the relationship that is most similar to
the given pair.
Monolith : Rock :: ?
51. Select that pair that expresses the relationship that is most similar to
the given pair.
Abduct : Kidnap :: ?
AMPLE CODER
AMPLE CODER
Option 1 : UPS
Option 2 : PUA
Option 3 : UPA
Option 4 : NPA
Option 1 : Pusher
Option 2 : Attractive
Option 3 : Repugnant
Option 4 : Spray
55. Select that pair that expresses the relationship that is most similar to
the given pair.
Polygon : Perimeter :: ?
AMPLE CODER
AMPLE CODER
56. Select that pair that expresses the relationship that is most similar to
the given pair.
Newton : Gravitation :: ?
57. Select that pair that expresses the relationship that is most similar to
the given pair.
58. Read the question statement and select the correct option from the
given alternatives.
AMPLE CODER
AMPLE CODER
Option 1 : Library
Option 2 : Pile
Option 3 : Anthology
Option 4 : Shop
59. Read the question statement and select the correct option from the
given alternatives.
Option 1 : Gathering
Option 2 : Demand
Option 3 : Excess
Option 4 : Storage
60. Read the question statement and select the correct option from the
given alternatives.
Option 1 : Hostage
Option 2 : Hospitality
Option 3 : Service
Option 4 : Welcome
AMPLE CODER
AMPLE CODER
61. Read the question statement and select the correct option from the
given alternatives.
Option 1 : Light
Option 2 : Glare
Option 3 : Beam
Option 4 : Sun
62. Detect the analogy underlying them by choosing the right option.
Website : CD : Book
63. Detect the analogy underlying them by choosing the right option.
AMPLE CODER
AMPLE CODER
64. Select that pair that expresses the relationship that is most similar to
the given pair.
Appeal: Refusal :: ?
65. From the given choices select the odd man out:
Option 1 : Shapeliness
Option 2 : Adorn
Option 3 : Beautify
Option 4 : Conserve
Option 5 : Deformity
66. From the given choices select the odd man out:
Option 1 : Assert
Option 2 : Acknowledge
Option 3 : Claim
AMPLE CODER
AMPLE CODER
Option 4 : Uphold
Option 5 : Forswear
67. From the given choices select the odd man out:
Option 1 : Beefy
Option 2 : Stocky
Option 3 : Husky
Option 4 : Thin
Option 5 : Brawny
68. From the given choices select the odd man out:
Option 1 : Manifest
Option 2 : Conceal
Option 3 : Suppress
Option 4 : Implicit
Option 5 : Hidden
69. From the given choices select the odd man out:
Option 1 : Dutiful
Option 2 : Good
Option 3 : Mischievous
AMPLE CODER
AMPLE CODER
Option 4 : Well-behaved
Option 5 : Obedient
70. From the given choices select the odd man out:
Option 1 : Timid
Option 2 : Appropriate
Option 3 : Commendable
Option 4 : Outrageous
Option 5 : Decorous
71. From the given choices select the odd man out:
Option 1 : Profound
Option 2 : Deep
Option 3 : Shallow
Option 4 : Fathomless
Option 5 : Excess
72. From the given choices select the odd man out:
Option 1 : Solitary
Option 2 : Lone
Option 3 : Companionable
AMPLE CODER
AMPLE CODER
Option 4 : Single
Option 5 : Secluded
73. From the given choices select the odd man out:
Option 1 : Base
Option 2 : Bottom
Option 3 : Foot
Option 4 : Zenith
Option 5 : Low
Statement:
‘About half the Indian population is so poor that they have never used a
telephone’ – a VN survey.
Courses of Action :
AMPLE CODER
AMPLE CODER
Statement:
America attacked Iraq despite Security Council’s advice not to do so. Big
powers like America are defying the world body off and on.
Courses of Action :
AMPLE CODER
AMPLE CODER
Courses of Action :
I. We must tend to our water resources like rivers, lakes, ponds, wells, tanks
etc.
II. We must harvest rainwater over 70% of which runs off wastefully.
AMPLE CODER
AMPLE CODER
Etc.
Statement: The gulf between the rich and the poor is increasing in our
country.
Courses of Action :
I. This is one of the features of free market economy which is a part of our
mixed economy. None can help it.
AMPLE CODER
AMPLE CODER
Courses of Action :
AMPLE CODER
AMPLE CODER
Courses of Action :
II. Those who have more than two children should be forced disincentives
like more tax etc.
Arguments :
AMPLE CODER
AMPLE CODER
Arguments :
Arguments :
I. Yes, the reservations for SC/ST, etc. were to remain for a period of ten
years as per on constitution.
AMPLE CODER
AMPLE CODER
II. No, it will frustrate these classes and lead to social unrest.
Statement: Some people feel that the rural areas are the only potential
markets of the future.
Arguments:
I. Yes, the demand of goods and services has stagnated in the cities.
II. No, rural areas will take a long time to develop before they can become a
potential market.
AMPLE CODER
AMPLE CODER
Arguments :
Arguments :
I. Yes, this is the only way to make the oil companies commercially viable.
II. No, this will put additional burden on the retail prices of essential
commodities and will cause lot of hardships to the masses.
AMPLE CODER
AMPLE CODER
Statement:
Assumptions:
AMPLE CODER
AMPLE CODER
Statement: ‘Please do not wait for me, I may be late, start taking lunch as
soon as the guests arrive.’ – a message from a Director of a Company to his
Office managers.
Assumptions:
Assumptions:
I. The government has enough funds to meet the expenses due for
compensation.
AMPLE CODER
AMPLE CODER
256 : 4086 :: ?
90. In the following question three numbers are given which are inter-
connected in some way.
Select the option that bears an analogy similar to the main words.
21:51:15
Option 1 : 21:31:51
Option 2 : 21:36:41
Option 3 : 21:51:61
Option 4 : 21:91:35
91. In the following question three numbers are given which are inter-
connected in some way.
Select the option that bears an analogy similar to the main words.
AMPLE CODER
AMPLE CODER
92. From the given choices select the odd man out
Option 1 : ADG
Option 2 : BEH
Option 3 : SUT
Option 4 : KNQ
Option 5 : CFI
93. From the given choices select the odd man out
Option 1 : STU
Option 2 : LML
Option 3 : LVW
Option 4 : RPL
94. From the given choices select the odd man out
Option 1 : XGEZ
AMPLE CODER
AMPLE CODER
Option 2 : PCAQ
Option 3 : LKIN
Option 4 : DWUF
95. From the given choices select the odd man out
Option 1 : REAB
Option 2 : SOED
Option 3 : WYZE
Option 4 : AETF
Option 1 : L
Option 2 : A
Option 3 : I
Option 4 : D
AMPLE CODER
AMPLE CODER
Option 1 : 3568
Option 2 : 3658
Option 3 : 3685
Option 4 : 3583
Option 1 : 10 – 7 – 20 – 13 – 11 – 24
Option 2 : 11 – 7 – 20 – 16 – 11 – 24
Option 3 : 13 – 7 – 20 – 9 – 11 – 25
Option 4 : 13 – 7 – 20 – 10 – 11 – 25
What does DIT JIT KIT stand for in that code language ?
AMPLE CODER
AMPLE CODER
Option 1 : SHACKLE
Option 2 : SHINGLE
Option 3 : SNOBBER
Option 4 : SCHOLAR
AMPLE CODER
AMPLE CODER
Verbal Reasoning
In the following sentences, there may be some errors in the parts which
are marked as A, B, C, D. Identify the part which has errors.
1. She was a young girl with a pretty face, (A)/ very well trained in dancing
(B)/ and who gave much promise of (C)/ a brilliant career as a film artist.
(D)
a. A b. B c. C d. D
Answer: C
Explanation:
Correction: She was a young girl with a pretty face, very well trained in
dancing and she gave much promise of a brilliant career as a film artist.
'Who' must be replaced with 'she'.
2. The University has announced that (A)/ everyone will take the
examination now (B)/ will receive their results within (C)/ eight weeks at
the latest. (D)
a. A b. B c. C d. D
Answer: C
Explanation:
AMPLE CODER
AMPLE CODER
Correction: The University has announced that everyone who takes the
examination now will receive their results within eight weeks at the latest.
There needs to be a connection between the subject and the verb which is
provided by replacing 'will' by 'who'.
3. Everyone who saw the movie ‘Star Wars’ (A)/ is unanimous in their view
(B)/ that it is the best science fiction movie (C)/ ever produced. (D)
a. A b. B c. C d. D
Answer: B
Explanation:
The word 'unanimous' itself means sharing the same views or opinions.
Thus it is needless to repeat the same point by stating that 'Everyone who
saw the movie ‘Star Wars’ is unanimous in their view'. Thus the error is in B.
Correction: Everyone who saw the movie ‘Star Wars’ is unanimous that it is
the best science fiction movie ever produced.
4. Though the elephant, because of its size, (A)/ appears to be a rather slow
animal, (B)/ it can in fact run faster than (C)/ any other man. (D)
a. A b. B c. C d. D
Answer: D
Explanation:
AMPLE CODER
AMPLE CODER
5. I do not wish to make a formal (A)/ complaint, but I would have been
better pleased (B)/if you gave the (C)/award to the person who best
deserved it.(D)/
a. A b. B c. C d. D
Answer: C
Explanation:
Change gave to had given because the verb in the previous clause is in the
past conditional tense.
a. A b. B c. C d. D
Answer: D
Explanation:
As there are three children, 'among' is the suitable word to use instead of
between.
AMPLE CODER
AMPLE CODER
7. Fluosol is a transparency liquid (A)/ that closely resembles water (B)/ but
in fact is twice (C)/ as dense as it is. (D)
a. A b. B c. C d. D
Answer: A
Explanation:
Read the passage and answer the questions that follow on the basis of the
information provided in the passage.
Work expands so as to fill the time available for its completion. The
general recognition of this fact is shown in the proverbial phrase,' It is the
busiest man who has time to spare'. Thus, an elderly lady at leisure can
spend the entire day writing a postcard to her niece. An hour will be spent
in writing a postcard, another hunting for spectacles, half an hour to
search for the address , an hour and a quarter in composition and twenty
minutes in deciding whether or not to take an umbrella when going to the
pillar box in the street. The total effort that could occupy a busy man for
three minutes, all told may in this fashion leave another person
completely exhausted after a day of doubt, anxiety and toil.
AMPLE CODER
AMPLE CODER
Ans: C
9. Explain the sentence : work expands so as to fill the time available for
its completion’.
D) If you have some important work to do , you should always have some
additional time.
Ans: B
A) a busy man.
B) a man of leisure.
C) an elderly person.
Ans: B
AMPLE CODER
AMPLE CODER
11.What is the total time spent by the elderly lady in writing a postcard?
A) Three minutes.
C) half day
Ans:D
C) box office.
Ans: D
Choose the most logical order of sentences among the given choices to
construct a coherent paragraph.
AMPLE CODER
AMPLE CODER
13. A. The provisions of the 73rd amendment were not made applicable to
the areas inhabited by the Adivasi populations in many States of India.
Answer: C
Explanation:
There is an AC link in the paragraph. Sentence A speaks about the act and
its limitation. In Sentence B, that limitation is rectified. Among the four
sentence, only Sentence A can be the topic sentence. So with this, option
"ACDB" is the correct sequence of the paragraph.
14. A. Right to Equality provides for equal access to public places like
shops, hotels, places of entertainment, wells, bathing Ghats and places of
worship.
B. This right is very important because our society did not practice equal
access in the past.
AMPLE CODER
AMPLE CODER
Answer: A
Explanation:
15. A. Besides this, no organ of the government can act in a manner that
violates them.
B. While ordinary legal rights are protected and enforced by ordinary law,
Fundamental Rights are protected and guaranteed by the constitution of
the country.
Answer: B
Explanation:
The correct answer is DBCA. The opening sentence can only be D. Sentence
B introduces us to the differences between ordinary and fundamental
rights. The sentence C demarcates the two kinds of rights further and
sentence A concludes it. Thus the sequence is DBCA
AMPLE CODER
AMPLE CODER
16. A. There are more than 20 major languages and several hundred
minor ones and it is the home of several major religions.
Answer: A
Explanation:
It is very clear that only D can be the beginning sentence and C the ending
sentence. The correct sequence is "DABC".
17. A. Often we are prone to assume that all families are like the ones we
live in.
D. Perhaps no other social entity appears more ‘natural’ than the family.
Answer: A
AMPLE CODER
AMPLE CODER
Explanation:
The sequence DABC is the most meaningful sequence from among the
options.
For each sentence, choose the most appropriate option that best
completes the given sentence.
18. The refugee's poor grasp of English is hardly an ____ problem; she
can attend classes and improve within a matter of months.
a. implausible b. insuperable
c. inconsequential d. evocative
Answer: B
Explanation:
19. The cricket match seemed ____ to our guests; they were used to
watching sports in which the action is over in a couple of hours at the
most.
a. unintelligible b. inconsequential
c. interminable d. implausible
AMPLE CODER
AMPLE CODER
Answer: C
Explanation:
20. His musical tastes are certainly ____; he has recordings ranging from
classical piano performances to rock concerts, jazz and even Chinese
opera.
a. antediluvian b. eclectic
c. harmonious d. Sonorous
Answer: B
Explanation:
AMPLE CODER
AMPLE CODER
a. preeminent b. ignominious
c. obsolete d. Anachronistic
Answer: A
Explanation:
The part after the semicolon tells us that Hawkins is highly respected.
Hence, the only suitable word is preeminent. (All the others have negative
connotations.)
Read the passage and answer the questions that follow on the basis of the
information provided in the passage.
Give people power and discretion, and whether they are grand viziers or
border guards, some will use their position to enrich themselves. The
problem can be big enough to hold back a country's development. For
most people in the world though, the worry is not that corruption may
slow down their country's GDP growth. It is that their daily lives are
pervaded by endless hassles, big and small. And for all the evidence that
some cultures suffer endemic corruption while others are relatively clean,
attitudes towards corruption, and even the language describing bribery, is
remarkably similar around the world.
AMPLE CODER
AMPLE CODER
AMPLE CODER
AMPLE CODER
like to discuss this over tea?” The young Canadian was relieved: the
difficulty could be resolved with some chai, which means both “tea” and
“bribe”.
A New Yorker might pity the third-world businessman who must pay
bribes just to keep his shop open. But the same New Yorker would not
think twice about slipping the maître d' $50 to sneak into a nice restaurant
without a reservation. Poor people the world over are most infuriated by
the casual corruption of the elites rather than by the underpaid, “tip”-
seeking soldier or functionary. Thus there is no single cultural factor that
inclines a society towards corruption, but economic factors play a big part.
Most clearly, poverty and bribery go together.
AMPLE CODER
AMPLE CODER
Answer: C
Answer: C
24. Which of the following the author does not identify as linguistic
manifestation of corruption?
Answer: D
25. In summary what does the passage primarily suggest and provide
evidence for?
Answer: A
AMPLE CODER
AMPLE CODER
Read the passage and answer the questions that follow on the basis of the
information provided in the passage.
Sixty years ago, on the evening of August 14, 1947, a few hours before
Britain’s Indian Empire was formally divided into the nation-states of
India and Pakistan, Lord Louis Mountbatten and his wife, Edwina, sat
down in the viceregal mansion in New Delhi to watch the latest Bob Hope
movie, “My Favorite Brunette.” Large parts of the subcontinent were
descending into chaos, as the implications of partitioning the Indian
Empire along religious lines became clear to the millions of Hindus,
Muslims, and Sikhs caught on the wrong side of the border. In the next
few months, some twelve million people would be uprooted and as many
as a million murdered. But on that night in mid-August the bloodbath—
and the fuller consequences of hasty imperial retreat—still lay in the
future, and the Mountbattens probably felt they had earned their
evening’s entertainment.
While the Mountbattens were sitting down to their Bob Hope movie,
India’s constituent assembly was convening in New Delhi. The moment
demanded grandiloquence, and Jawaharlal Nehru, Gandhi’s closest
disciple and soon to be India’s first Prime Minister, provided it. “Long
years ago, we made a tryst with destiny,” he said. “At the stroke of the
midnight hour, while the world sleeps, India will awaken to life and
freedom. A moment comes, which comes but rarely in history, when we
step out from the old to the new, when an age ends, and when the soul of a
nation, long suppressed, finds utterance.”
AMPLE CODER
AMPLE CODER
Posterity has enshrined this speech, as Nehru clearly intended. But today
his quaint phrase “tryst with destiny” resonates ominously, so enduring
have been the political and psychological scars of partition. The souls of
the two new nation-states immediately found utterance in brutal enmity.
26. In the view of the author what does the phrase "tryst with destiny"
symbolise today?
Answer: D
27. What does the author imply about the future of Pakistan?
(c) It is unprosperous
AMPLE CODER
AMPLE CODER
Answer: B
28. The author persists on taking about the "Bob Hope movie" in article.
Why?
Answer: C
Answer: B
Read the passage and answer the questions that follow on the basis of the
information provided in the passage.
AMPLE CODER
AMPLE CODER
AMPLE CODER
AMPLE CODER
airplane pilot constitutes space as we perceive it. In other words, the space
of our world is a three-dimensional continuum.
Just indicating its position in space is not enough while describing any
physical event, which involves motion. How position changes in time also
needs to be mentioned. Thus to give an accurate picture of the operation
of a New York - Chicago express, one must mention not only that it goes
from New - York to Albany to Syracuse to Cleveland to Toledo to Chicago,
but also the times at which it touches each of those points. This can be
done either by means of a timetable or a visual chart. If the miles between
New York and Chicago are plotted horizontally on a piece of ruled paper
and the hours and minutes are plotted vertically, then a diagonal line
properly drawn across the page illustrates the progress of the train in two -
dimensional space - time continuum. This type of graphic representation
is familiar to most newspaper readers; a stock market chart, for example,
pictures financial events in a two - dimensional dollar - time continuum.
Similarly for the best picturisation of the flight of an airplane from New
York to Los Angeles a four - dimensional space - time continuum is
essential. The latitude, longitude and altitude will only make sense to the
traffic manager of the airline if the time co - ordinate is also mentioned.
Therefore time is the fourth dimension. If a flight has to be looked at,
perceived as a whole, it wouldn't work if it is broken down into a series of
disconnected take - offs, climbs, glides, and landing, it needs to be looked
at and perceived as a continuous four - dimensional space - time
continuum curve.
AMPLE CODER
AMPLE CODER
Answer: A
Answer: C
32. According to the passage, an airlines traffic manager depends upon all
of the following EXCEPT
A. latitude
B. altitude
C. longitude
Answer: D
AMPLE CODER
AMPLE CODER
A. persuasive
B. instructive
C. deferential
D. candid
Answer: B
Answer: B
In each of the questions given below from the given options select the
word which is farthest in meaning to the word given in the question.
35. Yoke
Answer: D
Explanation:
AMPLE CODER
AMPLE CODER
The word yoke means to unite or join together. Two oxen are yoked if they
are tied together to pull a wagon. The opposite of yoke is separate. Because
split means to divide or separate, 'split' is the answer.
Select the lettered pair that best expresses a relationship similar to that
expressed by the original pair.
Answer: A
Explanation:
In each of the questions given below from the given options select the
word which is closest in meaning to the word given in the question.
36. Egregious
a. Outrageous b. Minor
c. Secondary d. Wonderful
AMPLE CODER
AMPLE CODER
Answer: A
Explanation:
In each of the questions given below from the given options select the
word which is farthest in meaning to the word given in the question.
37. Infirm
a. hospitable b. Equestrian
c. tremulous d. Robust
Answer: D
Explanation:
The word infirm means feeble or weak in body or health. A very old dog
would likely be infirm. The opposite of infirm is
strong in health. Because robust means strong and healthy, 'robust' is the
answer.
Select the lettered pair that best expresses a relationship similar to that
expressed by the original pair.
AMPLE CODER
AMPLE CODER
Answer: D
Explanation:
In each of the questions given below from the given options select the
word which is closest in meaning to the word given in the question.
39. Prosaic
a. Pedestrian b. Creative
c. Exceptional d. Different
Answer: A
Explanation:
AMPLE CODER
AMPLE CODER
Directions for questions: Choose the most logical fit for each blank.
40. People often revel under the impression that only the wretched and
less educated people use slang, but this idea is totally _________.
a. accurate b. popular
c. erroneous d. Ineffective
Answer: C
Explanation:
Contrast sign:- But. Due to the presence of the conjunction ‘but’, the answer
has to be negative in this context. Thus ‘accurate’ and ‘popular’ cannot be
answers.
In each of the questions given below from the given options select the
word which is closest in meaning to the word given in the question.
41. Bairn
Answer: B
AMPLE CODER
AMPLE CODER
Explanation:
In each of the questions given below from the given options select the
word which is farthest in meaning to the word given in the question.
42. Culpable
Answer: C
Explanation:
The word culpable means deserving of blame. A thief is culpable for the
crime of robbery or theft. The opposite of culpable is blameless or not
deserving of blame. Because innocent means guiltless or not deserving of
blame, 'innocent' is the answer.
Select the lettered pair that best expresses a relationship similar to that
expressed by the original pair.
AMPLE CODER
AMPLE CODER
Answer: C
Explanation:
Directions for questions: Choose the most logical fit for each blank.
44. Kalyan found it hard to ______ himself from the problem he had
created by producing fake documents.
Answer: A
Explanation:
Option "Extricate":
Rebuke – Criticise
One would never ‘rebuke oneself from something’; one would always
‘rebuke oneself for something’
Option "Abstain": One would never ‘engulf oneself from something’; ‘one
would always engulf oneself in something’.
Oust – Expel
Extricate – Remove
When using ‘oust’, one would never use the expression ‘ousting himself’.
E.g. sentence: Saddam Hussein was ousted from the post of Iraqi President.
AMPLE CODER
AMPLE CODER
Select the correct option that fills the blank(s) to make the sentence
meaningfully complete.
45. An honest man never ________ to lies in order to fulfill his goals.
Answer: C
Answer: C
Answer: A
Answer: B
AMPLE CODER
AMPLE CODER
Answer: A
50. It is also proof that no government now can justify its existence
without giving topmost priority to the common people and there
problem.
Answer: A
51. But which director from Bollywood would remake this film, will be
made secret for the time being.
AMPLE CODER
AMPLE CODER
Answer: A
Answer: B
53. As soon as I turn the ignition key, the engine caught fire.
(d) No change
Answer: B
Select the word which best expresses the MEANING of the word in
CAPITALS.
54. ADORN
AMPLE CODER
AMPLE CODER
Answer: A
55. CEASE
Answer: C
56. HATE
Answer: B
57. CORRESPONDENCE
Answer: D
58. FAMISHED
Answer: C
AMPLE CODER
AMPLE CODER
Answer: A
60. EMANATE
Answer: C
61. PRODUCT
Answer: A
62. PROFUSE
(d) Accept
Answer: B
AMPLE CODER
AMPLE CODER
Select the option that is most nearly ANTONYM in meaning to the word
in CAPITALS.
63. SORROW
Answer: B
64. ENDORSE
(d) Reveal
Answer: C
65. PRANKISH
Answer: D
66. SETTLED
Answer: D
AMPLE CODER
AMPLE CODER
67. FIGURATIVE
Answer: C
68. STATIONARY
Answer: B
69. STERN
Answer: A
70. IMMINENT
Answer: D
AMPLE CODER
AMPLE CODER
71. WORSEN
Answer: B
72. REQUISITE
Answer: B
73. AFFABLE
Answer: A
74. FUTILE
Answer: A
75. ELUSION
AMPLE CODER
AMPLE CODER
Answer: A
76. BENEDICTION
Answer: D
77. In the question, there is a sentence of which some parts have been
jumbled up. Re-arrange these parts which are labelled P, Q, R and S to
produce the correct sentence. Choose the proper sequence.
People
P: at his dispensary
Q: went to him
R: of all professions
Answer: C
Answer: D
AMPLE CODER
AMPLE CODER
79. Which of the following explains the meaning of the proverb “Every
cloud has a silver lining”?
(a) When the cloud has a silver lining after the rain
Answer: B
Read each sentence to find if there is any grammatical error in it. If there
is any error, it will be only one part of the sentence. The number or
alphabet of that part is your answer. (Disregard punctuation errors if any)
ABCD
Ans:C
81. The clothes / were neatly / hanged /on the cloth line.
ABCD
Ans:C
AMPLE CODER
AMPLE CODER
82
Ans: C
83
Ans: D
84
AMPLE CODER
AMPLE CODER
Ans: C
In each of the following questions, some sentence are given which are on
the same theme. decide which sentence is the most preferable with
respect to grammar; meaning and usage, suitable for formal writing in
English. Find the correct sentence.
85
C) It is a five--men committee.
Ans:D
86
Ans:D
87
AMPLE CODER
AMPLE CODER
Ans: A
88
Ans:D
89.
Ans: B
AMPLE CODER
AMPLE CODER
A. CBDA
B. CADB
C. ADBC
D. BADC
Answer: B
Explanation: A month after colleges opened for the next academic year 35%
seats reserved under OBC remain vacant in private colleges.
A. of the village
B. beside the city
C. on Friday
D. after the terrorist attack
A. CABD
B. BACD
C. ABCD
D. ACDB
Answer: C
AMPLE CODER
AMPLE CODER
Explanation: Panic gripped the people of the village beside the city on
Friday after the terrorist attack.
A. on Tuesday evening
B. in the city
C. will repair the damaged water pipes
D. as the water supply department
A. BADC
B. BACD
C. DBAC
D. ADCB
Answer: A
Explanation: The water tanks may remain empty in the city on Tuesday
morning as the water supply department will repair the damaged water
pipes.
A. ABCD
B. DCBA
AMPLE CODER
AMPLE CODER
C. BCDA
D. BACD
Answer: D
Change of Speech
94. They said, "We have lived in this city for many years."
A. They said they have lived in this city for many years.
B. They said that they had lived in this city for many years.
D. They said they have been living in this city for many years.
Answer: B
95. The teacher told Maria that she was not working hard.
AMPLE CODER
AMPLE CODER
Answer: B
95. Her mother ordered her to go to the kitchen and cook food.
B. Her mother said her, "Go to the kitchen and cook food."
Answer: A
Answer: D
Articles
AMPLE CODER
AMPLE CODER
A. The
B. An
C. A
Answer: A
Explanation: Article 'the' is used before the names of rivers, mountains, etc.
A. an
B. a
C. the
D. no article
Answer: B
Explanation: Indefinite article 'a' is used with noun complement and with
singular, countable nouns starting with a consonant.
AMPLE CODER
AMPLE CODER
A. the
B. an
C. a
D. no article
Answer: C
Explanation: Indefinite article 'a' is used with noun complement and with
singular, countable nouns starting with a consonant.
A. no articles
B. A
C. An
D. The
Answer: D
Explanation: The article 'the' is used with the names of mountain groups.
AMPLE CODER
AMPLE CODER
Automata
AMPLE CODER
AMPLE CODER
1.
2.
AMPLE CODER
AMPLE CODER
3.
4.
AMPLE CODER
AMPLE CODER
5.
6.
AMPLE CODER
AMPLE CODER
if(result==0)
return 0;
if(result%2==0)
return1;
else
return 0;
}
AMPLE CODER
AMPLE CODER
7.
AMPLE CODER
AMPLE CODER
8. printcharecterpattern
Input:
5
Expected output:
a
ab
abc
abcd
abcde
testcase 2:
input:
1
Output:
A
Given Code:
#include<stdio.h>
void printcharecterpattern( int num)
{
int i,j,value=1;
char ch = 'a';
char print = ch;
for(int i=1;i<=num;i++,printf("\n"))
{
ch=print;
for(j=1;j<=i;j++)
printf("%c",ch++);
}
}
int main()
{
int num;
scanf("%d",&num);
printcharecterpattern(num);
}
Corrected Code:
#include<stdio.h>
void printcharecterpattern( int num)
{
int i,j,value=1;
char ch = 'a';
char print = ch;
for(i=1;i<=num;i++,printf("\n"))
{
ch=print;
for(j=1;j<=i;j++)
printf("%c",ch++);
}
}
AMPLE CODER
AMPLE CODER
9. You are required to fix all logical errors in the given code. You can click on Compile , Run
anytime to check the compilation/execution status of the program. You can use
System.out.println to debug your code. The submitted code should be logically/syntactically
correct and pass all testcases. Do not write the main() function as it is not required. Code
Approach: For this question, you will need to correct the given implementation. We do not
expect you to modify the approach or incorporate any additional library methods. The method
printColor(intnum) of the class Color is supposed to print names of color according to given
input numbers num When the values of num equal 1,2,3,4 the function prints
“Red”,”Black”,”White”,”Green” respectively for any other values of num it should print “No
color”. The method complies fine but fails to return the desired results for some cases. Your
task is to fix code so that it passes all the testcases
Given Code:
int printcolor(int num)
{
switch (num)
{
case 1:
printf("red");
case 2:
printf("black");
case 3:
printf("white");
case 4:
printf("green");
default:
printf("no color");
break;
}
}
Corrected Code:
int printcolor(int num)
{
switch (num)
{
case 1:
printf("red");
break;
case 2:
printf("black");
break;
case 3:
printf("white");
break;
case 4:
printf("green");
break;
default:
printf("no color");
break;
}
}
AMPLE CODER
AMPLE CODER
10.
The method printpattern(int) of class drawpattern is expected to expected to print the first n (n
> 0) Lines of the pattern
TESTCASES
TestCase 1
Input:
4
Expected Return value:
11
1111
111111
11111111
TestCase 2:
Input:
1
Expected Return Value:
11
Given Code:
int printpattern(int n)
{
int i,j,print =1;
for(i=1;i<=n;i++)
for(j=1;j<=2 * i;j++)
{
printf(“%d”,print );
}
printf(“\n”);
}
Corrected Code:
int printpattern(int n)
{
int i,j,print =1;
for(i=1;i<=n;i++)
{
for(j=1;j<=2 * i;j++)
{
printf(“%d”,print );
}
printf(“\n”);
}
}
TESTCASE 1
Input
5,7,4
Expected return value:
35
AMPLE CODER
AMPLE CODER
TESTCASE 2
Input
11,12,13
Expected return value:
156
Given Code:
#include<stdio.h>
int multiplynumber(int a,int b,int c)
{
int result,min,max,mid;
max=(a>b)?((a>c)?a:c((b>c)?b:c);
min=(a<b)?((a<c)?a:c((b<c)?b:c);
mid=(a+b+c)-(min+max);
result=(max*mid);
return result;
}
Corrected Code:
#include<stdio.h>
int multiplynumber(int a,int b,int c)
{
int result,min,max,mid;
max= (a>b)?((a>c)?a:c):((b>c)?b:c);
min=(a<b)?((a<c)?a:c):((b<c)?b:c);
//max= (a>b) ? ((a>c)?a:c) : ((b>c)?b:c);
//min= (a<b) ? ((a<c)?a:c) : ((b<c)?b:c);
mid=(a+b+c)-(min+max);
result=(max* mid);
return result;
}
Question :12
You are required to fix all logical errors in the given code. You can click on Compile &
Run anytime to check the compilation/execution status of the program. You can use
System.out.println to debug your code. The submitted code should be logically/syntactically
correct and pass all test cases. Do not write the main() function as it is not required. Code
Approach: For this question, you will need to correct the given implementation We do not
expect you to modify the approach or incorporate any additional library methods. The function
sortArray(int * arr,intlen) accepts an integer array arr of length (len>0) as an input and
perform an in place sort operation on it. The function is expected to return the input array
sorted in descending order The function compiles successfully but fails to return the desired
results due to logical errors Your task is to debug the program to pass all the test cases
TESTCASE 1:
Input:
[23, 12, 14, 24, 21], 5
Expected Return Value:
[24, 23, 21, 14, 12]
AMPLE CODER
AMPLE CODER
TESTCASE 2:
Input:
[1, 1, 1, 1, 1], 5
Expected Return Value:
[1, 1, 1, 1, 1]
Given Code:
int *sortArray(int *arr,int *len)
{
int i=0,j=0,temp=0,index=0;
for(i=0;i<len;i++)
{
for(j=i+1;j<len;j++)
{
if(arr[i]>arr[j])
{
temp=arr[i];
arr[i]=arr[j];
arr[j]=temp;
}
return arr;
}
}
}
Corrected Code:
int *sortArray(int *arr, int len)
{
int i=0,j=0,temp=0,index=0;
for(i=0;i<len;i++)
{
for(j=i+1;j<len;j++)
{
if(arr[i]<arr[j])
{
temp=arr[i];
arr[i]=arr[j];
arr[j]=temp;
}
}
}
return arr;
AMPLE CODER
AMPLE CODER
Question:13
You are required to complete the given code by reusing existing functions. click on the helper
code tab to find out the details of functions/classes provided for reuse you can click on compile
& run anytime to check the compilation /execution status of the program you can use
system.out.println to debug your code The submitted code should be logically/syntactically
correct and pass all testcase . . Do not write the main() function as it is not required.
Code Approach: For this question, you will need to correct the given implementation. We do not
expect you to modify the approach or incorporate any additional library methods. The function
countElement(int *arr, int len, int n) is supposed to return the numbers of elements in the
inputs array arr of length len, which are greater than twice of the input number n The function
looks fine but given a compilation error Your task is to fix the program so that it passes all the
testcases
TESTCASE 1:
Input:
[-2, -4, -3, -5, -6, -7, -8], 7, 3
Expected Return Value:
0
TESTCASE 2:
Input:
[22, 55, 66, 33, 44, 77], 6,13
Expected Return Value:
5
PROGRAM:
Given Code:
int countElement(int arr, int len, int n)
{
inti,count=0;
for(int i=0;i<len;i++)
{
if(arr[i]>2n)
{
count=-1;
}
}
return count;
}
Corrected Code:
int countElement(int arr, int len, int n)
{
int i,count=0;
for(i=0;i<len;i++)
{
AMPLE CODER
AMPLE CODER
if(arr[i]>2*n)
{
//count=-1;
count+=1;
}
}
return count;
}
AMPLE CODER
AMPLE CODER
Question:14
The method countdigit(int sum) of class digits is supposed to return the value remainder when
the input arguments num(num>0) is divided by the number of digits in num.
Given Code:
countdigit(int sum)
{
int count=0;
while(num)
{
num=num/10;
count++;
}
return (num%count);
}
Corrected Code:
countdigit(int sum)
{
int count=0,safe;
safe=num;
while(num)
{
num=num/10;
count++;
}
num=safe;
return (num%count);
}
Question:15
The Function reverseArray(intarr[])of class sort Array arr of an arguments For example, if the
input array arr is {20,30,10,40,50} the function is expected to return{50,40,10,30,20}
The function compiles successfully but fails to return the desired result due to logical errors
Given Code:
int arrayReverse(int *arr,int len)
{
int i,temp,originallen=len;
for(i=0;i<=originallen/2;i++)
{
temp=arr[len-1];
arr[len-1]=arr[i];
arr[i]=temp;
len+=1;
}
return arr;
}
AMPLE CODER
AMPLE CODER
Corrected Code:
int arrayReverse(int *arr,int len)
{
int i,temp,originallen=len;
for(i=0;i<=originallen/2;i++)
{
temp=arr[len-1];
arr[len-1]=arr[i];
arr[i]=temp;
len+=1;
len-=1;
}
return arr;
}
Question:16
Given Code:
char checkGrade(int score)
{
if(score<=60)
return ‘D’;
else if((61<=score)&&(score<=75))
return ‘C’;
else if((76<=score)&&(score<=90))
return ‘B’;
else
return ‘A’;
}
int main()
{
int score;
scanf(“%d”,&score);
printf(“%c”, checkGrade(score));
return 0;
}
Corrected Code:
char checkGrade(int score)
{
if(score<=60)
return ‘D’;
else if((61>=score)&&(score<=75))
return ‘C’;
else if((76>=score)&&(score<=90))
return ‘B’;
else
return ‘A’;
}
AMPLE CODER
AMPLE CODER
int main()
{
int score;
scanf(“%d”,&score);
printf(“%c”, checkGrade(score));
return 0;
}
Question:17
The function findMaxElement(int *arr1,int len1,int *arr2,int len2) accepts two integer arrays
arr1,arr2 of length len1,len2 respectively. It is supposed to return the largest element in both the
input arrays. Another function sortArray(int *arr,intlen) sorts the input array arr of length len
in ascending order and returns the sorted array.
Your task is to use sortArray(int *arr,intlen) function and complete the code in
findMaxElement(int *arr1,int len1,int *arr2,int len2) so that it passes all test cases.
TESTCASE 1:
Input:
[2, 5, 1, 3, 9, 8, 4, 6, 5, 2, 3, 11], 12,
[11, 13, 2, 4, 15, 17, 67, 44, 2, 100, 0, 23]11
Expected Return Value:
100
TESTCASE 2:
Input:
[100, 22, 43, 912, 56, 89, 85], 7, [234, 123, 456, 234, 890, 101], 6
Expected Return Value:
912
Given Code:
int *sortArray(int *arr,int *len)
{
int i=0,j=0,temp=0,index=0;
for(i=0;i<len;i++)
{
for(j=i+1;j<len;j++)
{
if(arr[i]>arr[j])
{
temp=arr[i];
arr[i]=arr[j];
arr[j]=temp;
}
}
}
return arr;
}
AMPLE CODER
AMPLE CODER
Question 18
The function getarraysum(int * arr, int len)is supported to calculate and return the sum
of elements of the input array arr of length len(len>0) The function compiles successfully but
fails to return the desired result due to logical errors.
Given Code:
int getarraysum(int *arr, int len)
{
int sum = 0;
for(i=0;i<len;i-i-1)
{
sum = arr[i];
}
return sum;
}
Corrected Code:
int getarraysum(int *arr, int len)
{
int sum = 0;
for(i=0;i<len;i++)
{
sum+ = arr[i];
}
return sum;
}
Question:19
The methods GetDigitSum(intarr[]) of class DigitSum accepts an integers array arr it is
supposed to calculate the sum of digits of the even of the smallest elements in the input array it
returns 1 if the calculated sum is even and returns 0 otherwise However there is a compliation
error in the code your task is to fix it so that the program works for all the input values Note
The methods getdigitSum uses another method getSum(int sum) which returns the sum of the
digits of the input number num
AMPLE CODER
AMPLE CODER
Given Code:
int getDigitSum(int arr[i])
{
int result,len=arr.length;
for(int i=0;min=arr[0];i<len;i++)
{
if(arr[i]<min)
min=arr[i];
}
results=getSum(min)
if(results%2==0)
return 1;
else
min==arr[j];
}
int getSum(int num)
{
//WRITE YOUR CODE HERE
}
Corrected Code:
int getDigitSum(int arr[i])
{
int result,len=arr.length;
int min;
for(int i=0;min=arr[0];i<len;i++)
{
if(arr[i]<min)
min=arr[i];
}
results=getSum(min)
if(results%2==0)
return 1;
else
return 0;
}
int getSum(int num)
{
//WRITE YOUR CODE HERE
int rem,sum=0;
while(num)
{
rem=num%10;
sum+=rem;
num/=10;
}
return sum;
}
AMPLE CODER
AMPLE CODER
Question:20
Code Approach: For this question, you will need to correct the given implementation. We do not
expect you to modify the approach or incorporate any additional library methods.
Lisa always forgets her birthday which is on 5Th july
In order to help her we have function CheckBirthDay(char *month,int day) which takes day
and month as inputs and returns 1 if its her birthday and returns a 0 otherwise The function
compiles fine but to return desired results for some cases Your task to fix the code so but that it
passes at test cases
15(1)
TestCase 1;
Input
July 13
Expected Return Value:
0
TestCase 2:
Input
April 3
Expected Return Value:
0
Given Code:
int checkBirthday(char* month,int day)
{
if(strcmp(month,"july") || (day =5))
return 1;
else
return 0;
}
int main()
{
char inp[]="july";
int day=5;
if(checkBirthday(inp,day)==1)
printf("Yes");
else
printf("No");
return 0 ;
}
Corrected Code:
int checkBirthday(char* month,int day)
{
if(strcmp(month,"july")==0 && (day ==5))
return 1;
else
return 0;
}
AMPLE CODER
AMPLE CODER
int main()
{
char inp[]="july";
int day=5;
if(checkBirthday(inp,day)==1)
printf("Yes");
else
printf("No");
return 0 ;
}
Question:21
}
}
return sum;
}
AMPLE CODER
AMPLE CODER
Question:22
Manchester Encoding
int Manchester(int *arr, int len)
{
//WRITE YOUR CODE HERE
int i;
int *res=(int *)malloc(sizeof(int)*len);
res[0]=arr[0]; //res[0]=(arr[0]!=0);
for(i=1;i<len;i++)
res[i]=arr[i]^arr[i-1];
return res;
}
Question:23
Matrix Sum
Given Code:
int MatrixSum(int m, int n, int mat[m][n])
{
int i,j,sum=0;
for(i=0;i<m;i++)
{
for(j=0;j<n;j++)
{
sum+ =mat[i] (j);
}
}
return sum;
}
Corrected Code:
int MatrixSum(int m, int n, int mat[m][n])
{
int i,j,sum=0;
for(i=0;i<m;i++)
{
for(j=0;j<n;j++)
{
sum+=mat[i][j];
}
}
return sum;
}
AMPLE CODER
AMPLE CODER
Question 24:
Replace all the elements of the array with the maximum element of array.
//WRITE DOWN YOUR CODE HERE
#include<stdio.h>
int * maxReplace(int *arr, int len)
{
int i
if(len>0)
{
int max=arr[0];
for(i=1;i<len;i++)
{
if(max<arr[i])
max=arr[i];
}
for(i=0;i<len;i++)
arr[i]=max;
}
return arr;
}
Question 25:
Find the number of occurrences of a given value in the array.
Given Code:
#include<stdio.h>
int occurrence(int *arr, int len,int value)
{
int i=0,count=0;
while(i<len)
{
if(arr[i]==value)
count++;
}
return count;
}
Corrected Code:
#include<stdio.h>
int occurrence(int *arr, int len,int value)
{
int i=0,count=0;
while(i<len)
{
if(arr[i]==value)
count++;
i++;
}
return count;
}
AMPLE CODER
AMPLE CODER
Question 26:
The function patternPrint(int n) supposed to print n number of lines in the following pattern
For n=4 the pattern should be:
1
11
111
1111
The function complies successfully but fails to return the desired results due to logical errors
Your task is to debug the program to pass all the test cases
Given Code:
void patternPrint(int n)
{
int print=1,i,j;
for(int i=0;i<n;i++)
{
for(j=0;j<=i;j++)
{
printf("%d",print);
}
}
print("\n");
}
}
Corrected Code:
void patternPrint(int n)
{
int print=1,i,j;
for(i=0;i<n;i++)
{
for(j=0;j<=i;j++)
{
printf("%d",print);
}
print("\n");
}
}
AMPLE CODER
AMPLE CODER
Question:28 Replace a given array with zeros and ones depending on the even or odd criteria of
the array length.
AMPLE CODER
AMPLE CODER
if(arr[index_of_min]>arr[y])
{
index_of_min=y;
}
}
temp = arr[x];
arr[x] = arr[index_of_min];
arr[index_of_min] = temp;
}
return arr;
}
Corrected Code:
int * sortArray(int *arr, int len)
{
int x=0,y=0,n=len;
int index_of_min, temp;
for(x=0;x<n;x++)
{
index_of_min=x;
for(y=x;y<n;y++)
{
if(arr[index_of_min]>arr[x])
{
index_of_min=y;
}
}
temp = arr[x];
arr[x] = arr[index_of_min];
arr[index_of_min] = temp;
}
return arr;
}
AMPLE CODER
AMPLE CODER
QUESTION:30
Return the difference between two given times in seconds
TESTCASE
TestCase1:
Input:
Time:1:58:42, Time:2:1:45
Expected Return values:
183
Testcase 2
Input:
Time:3:49:57, Time:2:45:57
Expected Return Values
3600
#include<stdio.h>
struct Time
{
int h;
int m;
int s;
};
typedef struct Time TIME;
toSeconds(TIME * gt)
{
int in_seconds;
in_seconds = gt->h * 3600 + gt->m * 60 + gt->s;
return in_seconds;
}
int abs(int val)
{
if (val< 0)
return -val;
else
return val;
}
AMPLE CODER
AMPLE CODER
Question:31
Print the following Pattern
1
121
12321
1234321
//WRITE DOWN YOUR CODE HERE
void printPattern(int n)
{
int i,j;
for(i=1;i<=n;i++,printf(“\n”))
{
for(j=1;j<=i;j++)
{
printf("%d”,j);
}
for(j--;j>=1;j--)
{
printf("%d”,j);
}
}
}
Or
void printPattern(int n)
{
int i,j,num=1;
for(i=1;i<=n;i++)
{
num=num*10+1;
printf(“%d\n”, num*num);
}
}
AMPLE CODER
AMPLE CODER
Question:32
You are required to fix all logical errors in the given code. You can click on Compile &
Run anytime to check the compilation/execution status of the program. You can use
System.out.println to debug your code. The submitted code should be logically/syntactically
correct and pass all testcases. Do not write the main() function as it is not required. Code
Approach: For this question, you will need to correct the given implementation. We do not
expect you to modify the approach or incorporate any additional library methods.
The method deleteDuplicate(intarr[]) of classDistinctArray takes an array as an input it is
supposed to remove duplicates integers from the input array arr such that for each distinct
integer the first occurrence is retained and all the duplicates elements following it are removed
for Example given input array
(2,3,2,2,5,6,6,7)
the expected output is (2,3,5,6,7)
The function complies successfully but fails to return the desired results due to logical errors
Your task is debug the program to pass all the test cases
Given Code:
int* deleteDuplicate (int *arr, int len)
{
int count=0,p,i,j,k=0,originalLength=len;
for(i=0;i<len;i++)
{
for(j=i+1;j<len;j++)
{
if(arr[j]==arr[i])
{
arr[k]=arr[k+1];
}
len=len-1;
count=count+1;
j=i;
}
}
return arr;
}
Corrected Code:
int* deleteDuplicate (int *arr, int len)
{
int count=0,p,i,j,k=0,originalLength=len;
for(i=0;i<len;i++)
{
for(j=i+1;j<len;j++)
{
if(arr[j]==arr[i])
{
for(k=j;k<len-1;k++)
arr[k]=arr[k+1];
}
len=len-1;
AMPLE CODER
AMPLE CODER
count=count+1;
j=i;
}
}
return arr;
}
QUESTION:33
The function sameelementcount(int *arr,intlen)accepts an integer array arr of length len as a
input and returns the number of elements in an arr which are even numbers and equal to the
element to its right
QUESTION:34
Given a string str, write a program to eliminate all the vowels from the given string. The list of
vowels in the English alphabet is : {a,e,i,o,u,A,E,l,0.U}. The Input to the function
eliminateVowelString shall consist of a string str (containing only English letters) and returns a
pointer to a string which does not contain vowels.
EXAMPLE:
Input =”abcdefghijklmnopqrstuvwxyz”
0utput="bcdfghjklmnpqrstvwxyz”
USEFUL COMMANDS:
strlen() is used to calculate the length of the string. The statement -
int len = strlen(str); Returns the length of the string str
TESTCASE 1:
Input: "bacdefghijklmnopgrstu"
Expected Return Value: "bcdfghjklmnpqrst"
TESTCASE 2:
Input: "bacdcfgh"
Expected Return Value: "bcdlgh"
AMPLE CODER
AMPLE CODER
}
else
{
str[hold]=str[trav];
hold++;
}
}
str[hold]='\0';
printf("%s",str);
return 0;
}
AMPLE CODER
AMPLE CODER
QUESTION:35
Half sort Array:
#include<stdio.h>
#include<limits.h>
int main()
{
int arr[]={10,12,25,6,13,8,19};
int index,size,max,maxpos,min,minpos,temp,scope;
size=sizeof(arr)/sizeof(arr[0]);
for(index= 0 ; index < size; printf("%2d ",arr[index++]));
if(index%2==0)
{
min = INT_MAX;
for(index =1; index<size; index++)
{
if(arr[index] < min)
{
min = arr[index];
minpos=index;
}
}
temp = arr[index];
arr[index] = arr[minpos];
arr[minpos]=temp;
}
else
{
max = INT_MIN;
for(index = 0 ; index<size; index++)
{
if(arr[index] > max)
{
max = arr[index];
maxpos=index;
}
}
temp = arr[index];
arr[index] = arr[maxpos];
arr[maxpos]=temp;
}
for(printf("\n"),index= 0 ; index < size;printf("%2d ",arr[index++]));
return 0;
}
AMPLE CODER
AMPLE CODER
#include<stdio.h>
void printPattern(int n)
{
int i,j;
char ch='a';
for(i=1;i<=n;i++)
{
for(j=1;j<=n-i;j++)
printf(" ");
for(j=1;j<=2*i-1;j++)
printf("%c",ch++);
printf("\n");
}
QUESTION:37
You have to encrypt a non-empty string phrase. The encryption adds a 'cyclic shift' to each
letter where the value of this 'cyclic shift' is decided by the position of the letter from the end of
its word. The shift value for each letter of a word is its index value (starting from 0) from the
right-most character of the word.
EXAMPLE:
The shift values in 'yum feed' will be
yum: m->0, u->1, y->2
feed: d->0, e->1, e->2, f->3
which gives the encryption avmigfd
Here, adding the shift with value 0 to letter 'm' gives 'm' + 0 = m;
values 1 to 'u' gives 'u' + 1 = v and values 2 to 'y' gives 'y' + 2 = a and so on
Note that the shift wraps around on reaching the end of the alphabets, i.e., the shift values for
'y' as shown above is 'a'.
INPUT:
The input to the function/method consists of a string.
OUTPUT:
Return the encrypted string
NOTE:
Assume that the input string contains single space separating set of words
AMPLE CODER
AMPLE CODER
#include<stdio.h>
char* encryption(char* str);
int main()
{
char str[]="zebra tiger";
printf("%s",encryption(str));
return 0;
}
char* encryption(char* str)
{
//your CODE
int len,index,value;
for(len=0;str[len]!=’\0’;len++)
{
if(str[index]=’\0’)
{
value=0;
continue;
}
if(str[index]+value<=122)
str[index]=str[index]+value++;
else
str[index]=str[index]+value++ -26;
}
return str;
}
QUESTION:38
The LeastRecentlyUsed(LRU) cache algorithm exists the element from the cache(when it's full)
that was leastrecentlyused. After an element is requested from the cache, it should be added to
the cache(if not already there) and considered the most recently used element in the cache.
Initially, the cache is empty. The input to the function LruCountMiss shall consist of an integer
max_cache_size, an array pages and its length len. The function should return an integer for the
number of cache misses using the LRU cache algorithm. Assume that the array pages always
has pages numbered from 1 to 50.
TEST CASE1:
Input: 3 16 7 0 1 2 0 3 0 4 2 3 0 3 2 1 2 0
Expected Return Value: 11
TESTCASE 2:
Input:2 9 2 3 1 3 2 1 4 3 2
Expected Return Value: 8
AMPLE CODER
AMPLE CODER
#include <stdio.h>
int main()
{
int max_cache_size,pages_len,i,j,cache[100],pages[100],k,pageincache=0,misscount=0;
scanf("%d %d",&max_cache_size,&pages_len);
for(i=0;i< max_cache_size;i++)
cache[i]=-1;
for(i=0;i<pages_len;i++)
{
pageincache=0;
scanf("%d",&pages[i]);
for(j=0;j<max_cache_size;j++)
{
if(pages[i]==cache[j])
{
pageincache=1;
for(k=j;k<max_cache_size;k++)
{
cache[k]=cache[k+1];
}
cache[max_cache_size-1]=pages[i];
}
}
if(pageincache==0)
{
misscount++;
for(k=0;k<max_cache_size;k++)
{
cache[k]=cache[k+1];
}
cache[max_cache_size-1]=pages[i];
}
}
printf("%d",misscount);
}
AMPLE CODER
AMPLE CODER
#include <stdio.h>
#include <string.h>
int check_vowel(char);
int main()
int i, j = 0;
gets(s);
t[j] = s[i];
j++;
t[j] = '\0';
return 0;
AMPLE CODER
AMPLE CODER
int check_vowel(char c)
switch(c) {
case 'a':
case 'A':
case 'e':
case 'E':
case 'i':
case 'I':
case 'o':
case 'O':
case 'u':
case 'U':
return 1;
default:
return 0;
AMPLE CODER
AMPLE CODER
#include <stdio.h>
if (a == 0 || b == 0)
return 0;
if (a == b)
return a;
if (a > b)
int main()
return 0;
AMPLE CODER
AMPLE CODER
class Test
if (a == 0 || b == 0)
return 0;
if (a == b)
return a;
if (a > b)
AMPLE CODER
AMPLE CODER
#include<stdio.h>
int main() {
scanf("%d", &size);
scanf("%d", &arr[i]);
if (arr[j] == arr[i]) {
AMPLE CODER
AMPLE CODER
size--;
} else
j++;
return (0);
Example
Input
Input rows: 5
Output
*********
*******
*****
***
AMPLE CODER
AMPLE CODER
#include <stdio.h>
int main()
int i, j, rows;
scanf("%d", &rows);
printf(" ");
printf("*");
printf("\n");
AMPLE CODER
AMPLE CODER
return 0;
Example
Input
Output
*****
*****
*****
*****
*****
#include <stdio.h>
AMPLE CODER
AMPLE CODER
int main()
int i, j, N;
scanf("%d", &N);
printf("*");
printf("\n");
return
#include<bits/stdc++.h>
AMPLE CODER
AMPLE CODER
if (a == 0)
return b;
return result;
int main()
int n = sizeof(arr)/sizeof(arr[0]);
return 0;
AMPLE CODER
AMPLE CODER
#include <stdio.h>
*xp = *yp;
*yp = temp;
int i, j;
swap(&arr[j], &arr[j+1]);
int i;
AMPLE CODER
AMPLE CODER
printf("n");
int main()
int n = sizeof(arr)/sizeof(arr[0]);
bubbleSort(arr, n);
printArray(arr, n);
return 0;
#include <stdio.h>
#include <string.h>
int l = 0;
int h = strlen(str) - 1;
while (h > l)
AMPLE CODER
AMPLE CODER
if (str[l++] != str[h--])
return;
int main()
isPalindrome("abba");
isPalindrome("abbccbba");
isPalindrome("geeks");
return 0;
#include <stdio.h>
#include<math.h>
int main()
AMPLE CODER
AMPLE CODER
int n, i, flag = 1;
scanf("%d", &n);
if (n % i == 0) {
flag = 0;
break;
if(n<=1)
flag=0;
else if(n==2)
flag=1;
if (flag == 1) {
else {
AMPLE CODER
AMPLE CODER
return 0;
#include <math.h>
#include <stdio.h>
void perfectCube(int N)
if (i * i * i == N) {
printf("Yes");
return;
printf("No");
return;
int main()
int N = 216;
AMPLE CODER
AMPLE CODER
perfectCube(N);
return 0;
#include <cmath>
#include <iostream>
int nextPerfectCube(int N)
int main()
int n = 35;
return 0;
AMPLE CODER
AMPLE CODER
5. Library function which is used to convert string value into int value?
9. Can we call any class member function without using object of the class
12. Write the statements which are used to swap two variables without using 3rd variable
AMPLE CODER
AMPLE CODER
18. What is the return type of malloc and calloc function and in which header file they are
defined
23. What is the difference between early binding and late binding?
25. What is the difference between const char* p and char const* p?
28. What is the difference between text and binary modes of reading and writing files to
disk?
AMPLE CODER
AMPLE CODER
43. What are inline functions and when they can prove beneficial?
45. What keyword will you use when defining a function in base class to allow this function
to be a polymorphic function?
49. In the derived class, which data members of the base class are visible?
55. Which function is used to position back from the end of file object?
AMPLE CODER
AMPLE CODER
60. What type of functions are nonmember functions of a class but are granted the same
61. The constructor that performs an initialization using another object of the same class is
called as?
62. In C++, Which keyword can you use with a variable so that when function is called by
reference and still prevent the function from changing its value?
64. Out of fgets() and gets() which function is safe to use and why?
67. What would be the equivalent pointer expression foe referring the same element as
a[p][q][r][s]?
68. Are the variables argc and argv are always local to main?
74. How many ways are there to initialize an int with a constant?
AMPLE CODER
AMPLE CODER
77. Can the last case of a switch statement skip including the break?
78. Which bit wise operator is suitable for checking whether a particular bit is on or off?
79. Can the sizeof operator be used to tell the size of an array passed to a function?
80. When should the register modifier be used? Does it really help?
85. What are streams in C++? What are predefined streams in C++?
86. Explain tokens in C++.Also tells about their role and importance.
94. What are derived data types? Name the user defined data types in C++.
95. Whether higher normal forms better than lower forms as far redundancy is concerned?
97. What are the similarities and differences between a class and a structure?
98. Give me an example of data types? (but they use a different word for it so be ready).
AMPLE CODER
AMPLE CODER
DBMS QUESTIONS
1. Define Database.
2. What is DBMS?
9. What is SQL?
AMPLE CODER
AMPLE CODER
22. What restrictions can you apply when you are creating views?
33. What do you mean by Fill Factor concept with respect to indexes?
AMPLE CODER
AMPLE CODER
46. What is the difference between a "where" clause and a "having" clause?
47. What is the basic form of a SQL statement to read data out of a table?
48. What structure can you implement for the database to speed up table reads?
52. What is a "functional dependency"? How does it relate to database table design?
AMPLE CODER
AMPLE CODER
57. Briefly explain the method you will use to execute an array linked list?
58. Give me a Query to find out the second largest compensation in an organization?
64. What is the reason behind using “Inner Join” and “Outer Join”?
OPERTING SYSTEM:
1. What is O.S.?
2. What is a semaphore?
4. What is a deadlock?
AMPLE CODER
AMPLE CODER
EMBEDDED SYSTEMS:
6. What is Paging?
DIGITAL ELECTRONICS:
ANALOG ELECTRONICS:
AMPLE CODER
AMPLE CODER
NETWORKING:
AMPLE CODER
AMPLE CODER
RECENT TECHNOLOGY:
8. What is GPS?
GENERIC:
AMPLE CODER
AMPLE CODER
AMPLE CODER
AMPLE CODER
HR Interview Questions
Attitude/Flexibility/Adaptability
AMPLE CODER
AMPLE CODER
AMPLE CODER
AMPLE CODER
AMPLE CODER
AMPLE CODER
58. Tell about a time you were responsible for planning an event and had
very limited resources. How did you overcome this obstacle?
59.Describe what skills or qualities are important for dealing effectively
with coworkers.
60. Describe a situation when you tried your hardest, but were
unable to achieve your desired result. What did you do? Why were
you unsuccessful?
61. When evaluating your performance, what factors are most important
to you?
62. Can you describe a past situation that led you to grow as a
person?
63. Can you tell me about a time when you were faced with a major
obstacle (work or otherwise) and how you overcame it?
64.Have you ever helped a a team member to improve his or her
performance in a project work? Tell me about a specific instance.
65.What qualities should a successful manager possess?
66. Describe the relationship that should exist between a supervisor
and a subordinate. What 3 accomplishments have given you the
greatest satisfaction?
67. If you were hiring for this position, what qualities would you look for?
68. How would you describe yourself?
69. How do you think a friend or professor who knows you would
describe you?
70.What motivates you to put forth your best effort?
71. How do you determine or evaluate success?
72. What led you to choose the career for which you are preparing?
73. What personal characteristics are necessary for succeeding in the
career that you are interested in?
74. What have you learnt from your mistakes in your past?
75. Did you ever have problems with your team leader in projects at
college?
AMPLE CODER
AMPLE CODER
76. What are the most important rewards you expect in your career?
77. What two or three things are most important to you in your job?
AMPLE CODER