Custom Search
Showing posts with label Infosys. Show all posts
Showing posts with label Infosys. Show all posts

Thursday, 29 November 2012

Infosys Aptitude Paper Set-10


1. 2 Marks            
When Arthur is as old as his father Hailey is now, he shall be  5 times as old as his son Clarke is now. By then, Clarke will be 8 times older than Arthur is now. The combined ages of Hailey and Arthur are 100  years. How old is Clarke ?


2.  2 Marks
I have one orange glass containing orange juice and another  white glass containing apple juice. I take 50 ml of orange juice and mix it with apple juice in the white glass. Then I take 50 ml of this mixture and transfer it back to the orange glass. If you compare amount of apple juice in the orange glass and
amount of orange juice in the white glass which is more than the other
and by how much ?


3. 3 Marks
The seven digits in this subtraction problem are  0,1,2,3,4,5 and 6.
Each letter represents the same digit whenever it occurs.
D A D C B
E B E G
--------------------
B F E G
--------------------
What digit is represented by each letter ?


4. 4 Marks
The Jones have named their four boys after favourite  relatives; their friends, the Smiths, have done the same thing with their three boys. One of the families has twin boys. From the following clues, can you determine the families of all seven children and their ages ?
i) Valantine is 4 years older than his twin brothers.
ii) Winston, who is 8, and Benedict are not brothers. They are  each named after a grandfather.
iii) Briscoe is two years younger than his brother Hamilton, But three years older than Dewey.
iv) Decatur is 10 years old.
v) Benedict is 3 years younger than Valentine; they are not related.
vi) The twins are named for uncles.


5. 4 Marks
Motorboat A leaves shore P as B leaves Q; they move  across the lake at a constant speed. They meet first time 600 yards from P. Each returns from the opposite shore without halting, and they meet 200 yards from Q. How long is the lake ?


6. 4 Marks
Fanta, Pepsi and Citra often eat dinner out.
a) Each orders either coffee or tea after dinner.
b) If Fanta orders coffee, then Pepsi orders the drink that Citra orders.
c) If Pepsi orders coffee, then Fanta orders the drink that Citra does not order.
d) If Citra orders tea, then Fanta orders the drink that Pepsi orders.
Which person/persons always orders the same drink after dinner ?


7. 6 Marks
On the Island of imperfection there is a special road, Logic Lane, on which the houses are usually reserved for the more mathematical inhabitants.
Add, Divide and Even live in three different houses on this road (which has houses numbered from 1-50). One of them is a member of the Pukka Tribe,
who always tell the truth; another is a member of the Wotta Tribe, who never
tell the truth; and the third is a member of the Shalla Tribe, who make statements which are alternately true and false, or false and true.
They make statements as follows :
ADD :
1 The number of my house is greater than that of Divide's.
2 My number is divisible by 4.
3 Even's number differs by 13 from that of one of the others.
DIVIDE :
1 Add's number is divisible by 12.
2 My number is 37.
3 Even's number is even.
EVEN :
1 No one's number is divisible by 10.
2 My number is 30.
3 Add's number is divisible by 3.
Find to which tribe each of them belongs, and the number of  each of their  houses.


8. 8 Marks
The names of the inhabitants of Walkie Talkie Land sound  strange to the visitors, and they find it difficult to pronounce them, due to  their length and a few vowel sounds they contain. The Walkie Talkie  guide is discussing the names of four inhabitants - A,B,C and D. Their names each contain upto eight syllables, although none of the four names contain the same number. Two of the names contain no vowel sounds; one contains one vowel sound; and one contains two vowel sounds. From the Guide's statements below, determine the number of
syllables and vowel sounds in each of the four Walkie Talkie names :
i) The one whose name contains two vowel sounds is not A.
ii) C's name does not contain more than one vowel sound or fewer than seven syllables.
iii)The name with seven syllables does not contain exactly one vowel sound.
iv) B and C do not have names with the same number of vowel sounds.
v) Neither the name with five syllables nor the name with seven syllables
contains more than one vowel sound.
vi) Neither the name with six syllables, nor the B's name, contains two vowel sounds.


10. 8 Marks
Two identical twins have a very unusual characteristic. One tells nothing but lies on Mondays, Wednesdays and Fridays, and tells nothing but the truth all other days. The other tells nothing but lies on Tuesdays, Thursdays and Saturdays, and tells nothing but the truth all other days. On Sundays both children speak the truth.

1) Which of the following statements can be deduced from the information presented ?
i) If it is Sunday, the twins will both say so.
ii) If it is not Sunday,one twin will give the correct day  and the other will lie about everything.
iii)On any given day, only one twin will give his correct  name.
a) i only
b) i and ii only
c) i and iii only
d) ii and iii only
e) i,ii and iii

2) According to the information presented, which of the following
conversations will be impossible.
a) Twin A : "Today you are a lier"
    Twin B : "You are telling the truth"
b) Twin A : "Today you are a lier"
    Twin B : "Today I am a truthteller"
c) Twin A : "Tommorow I shall be a lier"
    Twin B : "That's correct"
d) Twin A : "Tommorow you will be a lier"
    Twin B : "Today you are a truthteller"
e) Twin A : "Yesterday we were both truthtellers"
    Twin B : "You are lying"
3) Assume that the twins followed a different set of rules, so that on a given day both told only the truth while next day both only lied, alternating days of truth telling and lying. Under these rules,which
of the following conversations would be possible ?
a) Twin A : "Today you are a lier"
    Twin B : "That is correct"
b) Twin A : "Today you are a lier"
    Twin B : "That is not so"
c) Twin A : "Tommorow we will be liers"
    Twin B : "Yesterday we were truthtellers"
d) Twin A : "Tommorow we will be liers"
    Twin B : "You are 1 year older than I am"
e) Twin A : "We always tell the truth"
    Twin B : "We some times tell the truth"

4) If the twins are heard saying the following on the same day, which choice presents a correct statement ?
Twin A : "It is Sunday Today"
Twin B : "Yesterday was Sunday"
Twin A : "it is summer season now"
a) it is a summer sunday
b) it is a summer monday
c) it is Monday but not summer
d) it is Sunday but not summer
e) it is impossible to determine whether it is Sunday or Monday.
Read more

Infosys Aptitude Paper Set-9


1. int a=2;
f1(a++);
}
f1(int c)
{
printf("%d", c);
}
1)fallacy
f()
{
int a;
void c;f2(&c,&a);


2)a=0;
b=(a=0)?2:3;
a) What will be the value of b? why
b) If in 1st stmt a=0 is replaced by -1, b=?
c) If in second stmt a=0 is replaced by -1, b=?


3)char *a[2]
int const *p;
int *const p;
struct new { int a;int b; *var[5] (struct new)


4)f()
{
int a=2;
f1(a++);
}
f1(int c)
{
printf("%d", c);
}
c=?


5)f1()
{
f(3);}
f(int t)
{
switch(t);
{
case 2: c=3;
case 3: c=4;
case 4: c=5;
case 5: c=6;
default: c=0;}
value of c?


6)Fallacy
int *f1()
{
int a=5;
return &a;
}
f()
int *b=f1()
int c=*b;
}


7)a)Function returning an int pointer
b)Function ptr returning an int ptr
c)Function ptr returning an array of integers
d)array of function ptr returning an array of integers
(See Scham series book)


8)fallacy
int a;
short b;
b=a;


9)Define function ?Explain about arguments?

10)C passes By value or By reference?

11)Post processed code for
abc=1;
b=abc1; (1 or 2 blank lines are given)
strcpy(s,"abc");
z=abc;


12)difference between my-strcpy and strcpy ?check

13)f()
{
int *b;
*b=2;
}


14)Function which gives a pointer to a binary trees const an integer value
at each code, return function of all the nodes in binary tree.(Study)Check


15)Calling refernce draw the diagram of function stack illustrating the
variables in the -----then were pushed on the stack at the point when
function f2 has been introduced
type def struct
{ double x,double y} point;
main( int argc, char *arg[3])
{double a;
int b,c;
f1(a,b);}
f1(double x, int y)
{
point p;
stack int n;
f2(p,x,y)}
f2(point p, double angle)
{ int i,j,k,int max)
}
Read more

Tuesday, 27 November 2012

Infosys Aptitude Paper Set-8


1. Number of null pointers in any binary tree = n+1

2. max(t1,t2,...tn) = pipelining

3. 50% -DBETXXXXXX - density

4. print (Head(T))
Traverse(left(T))
print (Head(T))
Traverse(right(T)) - ans: none of the above


5. CPU scheduling based questions

11. if even x/2
else p(p(3x+1))
2^k + 1: 3 . 2^(k-1) clarify this with sans

6. Compiler - related Qn.

7. LAN frames - ? related Qn.

8. sliding window protocol

9. kernel mode - deallocate resource

10. Combinatorics related

11. priority scheduling

12. cobegin
begin x = y; x= x+1; y= x
begin x =y; z= z+1; y= z
coend
ans. Number of values possi = 2

13. 2 bits flip / 2 bits exchange
ans : the word with one '1'

14. any addr
K^+ v(a) + 2I - 2a
clarify with SANS.

15.Least no. when divide by [7 gives remainder 6,6gives 5,5 gives 4 and
soon ans;419

16,What compilation do (ans source code to obj)

17.Artficial language is provided which of the language (Lisp) check

18. 241 change its equivalent octal ?

19. for cube and sphere 3 views are similarly draw one such figure?

20. Write a program to exchange two variaables without temp

21. Fortran cannot have value by reference

22. 4,6,8,__

23. success is to failure, joy is to

24. MEANING OF JOLLY?

25. opposite to essential?

26."Raw" means

27. To be good "Wrestler " one should have?

28. "Command" opposite?

29. genuine opposite?

30. Sum of two consecutive nos is 55, larger one is?

31. A person goes 4/5 of his usual speed reaches 10min lateto his destinaton, time taken?

32. 80% pass in english, 70%pass in maths , 10%fail in both , 144 pass in
both . How many all appeared to the test?

33. To get a parabola if you cut a section of?

34. Bird is flying 120km/hr b/w B to R. two trians at B to R at 60 kmph
The distance trvelled by the bird before it is killed.Ans.120

35. meaning of inert
Read more

Infosys Aptitude Paper Set-7


1. 9 cards are there. u have to arrange them in a 3*3 matrix.
cards are of 4 colors.they are red,yellow,blue,green.
conditions for arrangement: one red card must be in first row
or second row.2 green cards should be in 3rd column.Yellow
cards must be in the 3 corners only. Two blue cards must be in
the 2nd row. Atleast one green card in each row.
Solution:
Yello Red Gren
Blu Blu Gren
Yello Gren Yello


2. 4 cards are placed on a table, each card has two colors. U
don't know the color of the back side of eachcard.4 persons A
B C and D are sitting on the table before the cards. They can
see Red, Green Red and blue .Out of the 4 poeple 2 always lie.
They see the color on the reverse side and give the following
comment
A: Yello/green
B: Neither Blue/nor Green
c: Blue/Yello
D: Blue/ Yello
find out the color on the other side of the 4 cards.

3. A family I know has several children. Each boy in this
family has as many sisters as brothers but each girl has
twice as many brothers as sisters. How many brothers
and sisters are there?
ans: 4 boys and 3 girls.


4. No. of animals is 11 more than the no. of birds. If the
no. of birds were the no. of animals and no. of animals
were the no. of birds( ie., interchanging no.s of animals
and birds.), the total no. of legs get reduced by one fifth
(1/5). How many no. of birds and animals were there?
ans: birds:11,animals:22


5. In a soap company a soap is manufactured with 11 parts.
For making one soap you will get 1 part as scrap. At the
end of the day u have 251 such scraps. From that how many
soaps can be manufactured? ans: 22 + 2+ 1 = 25.
4. 2 * * |
3 * * | No. 7 does not occur in this
---------------- |
5 * * | multiplication.
* 4 * |
* * 3 | Find the product.
---------------- |
* * * * * |
---------------- |

ans 2 8 1
3 2 2
-----
5 6 2
5 6 2 0
8 4 3 0 0
---------
9 0 4 8 2
---------


6. There is a 5digit no. 3 pairs of sum is eleven each.
Last digit is 3 times the first one.
3 rd digit is 3 less than the second.
4 th digit is 4 more than the second one.
Find the digit.
ans : 25296.


7. There are five thieves, each loot a bakery one after the
other such that the first one takes 1/2 of the total no.
of the breads plus 1/2 of a bread. Similarly 2nd, 3rd,4th
and 5fth also did the same. After the fifth one no. of
breads remained are 3. Initially how many breads were there?
ans : 31.


8.There are some chicken in a poultry. They are fed with corn
One sack of corn will come for 9 days.The farmer decides to
sell some chicken and wanted to hold 12 chicken with him.
He cuts the feed by 10% and sack of corn comes for 30 days.
So initially how many chicken are there?


9.Two people X & Y walk on the wall of a godown in opposite
direction. They meet at a point on one side and then go
ahead. X after walking for some time, walks in opposite
direction for 15 mtrs.Then again he turns back and walks
in the original direction. What distance did Y walk before
they met again, if X walks 11 mtrs by the time Y walks
8 mtrs.

Read more

Sunday, 25 November 2012

Infosys Aptitude Paper Set-6


1. Find out the sum of all the numbers up to four digit made by 1, 2, 3 and 4 (repetition are allowed)
E.g. 1+2+3+4+11+12+13+14+21+22+23+24+ …+4441+4442+4443+4444? (MARKS: 3/4/5)


2. A grass field of 120-sq. meter bounded by a equilateral triangular compound. Three goats tied up with ropes that can just touch the opposite line. A goat can eat all grass which it only gets, half of that two can eat , and one third of that three can eat. How much a goat can eat? (Mark 2) ans.: one-third i.e. 40-sq meter.


3. There are 100 bulbs and 100 switches.
i. All bulbs are switched on.
ii. All bulbs divided by two are switched on if off and switched off if on.
iii. ,, ,, ,, ,, three --do-
iv. This continues upto 100 i.e. at last the bulb dived by 100 is switched on if off and off if on.
How many bulbs wiil be in on condition after this? (Marks: 4/5)


5. When a boy is asked abt his age he said I'm 2.5 times the age of my sis now.Last yr.Iwas 3 times the age of hers.2 yrs. before Iwas 4 times her age .Before 3 yrs. I was7 times her age .Find out age of both.
(Marks:4 )Ans:10, 4
Solution:
2.5x=y;3(x-1)=y-1;4(x-2)=y-2;7(x-3)=y-3; Boy(y)=10,Sis(x)=4.


6. In a apartment there are some families.
i) No. of children > No.of Boys>No.of Girls>No.of families
ii) Every family has children
iii) A Girl has at least one Brother and at most one Sis
iv) Children of one family > Sum (Children of all other families)
Find out no. of families ,boys ,girls


7. Someone says to A,B,C,"I've a horse and his color is either Black,Brown,Grey."
A says it's not Black
B says it's either Brown or Grey
C says it's Brown
The person said among you one is correct and one is wrong .
Find out the color of the horse .Ans:color is Grey;B is correct and C is wrong.Mark:2


8. There are 2 systems for temperature measurement A,B.
System A System B
19 33
133 87
Find out the temp.when A=B.Ans.52.5 degree
Soln:Take 2 consts.A,B.
A+19B=33 and A+133B=87. Find Out A,B.Final eqn A+Bt=t.


9.A Sultan has 3 Queens Amina ,Fatin,Safie.Three thieves Abu,Kirsha,Badri stole 3 Jewels from these three
Queens.Three jewels are Dimond ,Emerald,Ruby
i) The Dimond thief is a bachelore and the dangerous among the three thieves.
ii) Amina is younger to one who has Emerald.
iii) Abu's brother in law Kirsha is less dangerous than who take Emerald .
iv) Badri has not stolen fromFatin(not sure sbt this stmnt)
Who has which jewels and who theft which? Mark:8
Ans:Abu ---Emerald(from Fatin)
Kirsh----Ruby (from Amina)
Badri----Dimond (from Safie)

10. There is a circle whose diameter is equal to the length of a chess board . If that is put on the chessboard how many complete squares will be in the circle.
Ans.: It can be done both by calculation and graphical method.
Answer is 32. Draw a square inside the circle.
No: of square (area of inner square)/(area of single square of chess)

11. There is an idler and a devil. The devil said to the idler "cross the bridge and your money will be doubled. But you have to give 24$ to me every time you cross." The idler did so. First time he crossed he find his money doubled and gave 24$ to the devil. He did so for the second time. When he crossed the bridge for the third time he found his total money equal to 24$ and has to give all to the devil. How much did he have at first?
Ans.: 21$. Start from the last and go backward.

12. There is train moving at some speed (say x km/h). A person is also moving at some speed (2 km/h) towards certain direction either same as the train or opposite to that of the train. Find out how much time will it take for the train to cross the person?

13. Mathematician and children problem. Ans.: 6,6,1 years.
Read more

Infosys Aptitude Paper Set-5


1 . There are 4 political parties . Day Flight , Eat well , Good Sleep =
Deposit Loss. The 3 statements are
a. Either Day Flight or Eat Well will win the election.
b. Day Flight cannot win election.
c. Neither Deposit Loss nor Eat well can win the election.
Only one statement is true while other two are false .who win the = election =85
Soln : Deposit Loss ( F T F )


2. Javed , Roshan , Bharati and Sheela are supposed to have won prizes =
in math , French , Logic , and Eng. But its not clear who won what.
a. Sheela guessed that Roshan must have won logic.
b. Roshan guessed that Sheela will never win Math. =20
c. Javed guessed that Bharati has won French.
d. Bharati guessed Javed has got Eng.
Of those guesses the winners of Math and logic prizes guessed correctly =
while other two guessed wrong. Who won which prize.
Soln Sheela ----English.
Roshan ---French
Bharati---Logic
Roshan-Maths.


3. there are 10 cig packs each conatining an unknown no of cigs( each =
pack has between 50 and 100). One pack has all bad cigs . Each good cig =
( if u can agree that any cig is good) weighs 1gm. Each bad cig weighs =
1.1 gm or .99 gm but all bad cigs weigh same. Using a spring chemical =
balance ( which gives u the exactweight) .Find out which pack is bad , =
using the balace only once.


4. 24 apples were divided among 3 brothers . Each of them got the same =
no of apples as their age 3 years ago. The youngest of them kept half =
of his share and divided the rest of them equally between other two. =
Other two did the same thing. They all ended up with 8 apples each . =
Determine their ages.
Ans 7 , 10 , 16.


5. a city is divided into 16 blocks with rows passing betwwen them =
Find the no of ways one can move from A and C. ( if u can only move =
upwards and to the right. Different paths may have common routes in =
some parts
ans 8 C 4 =3D 70.


6. A is murdered And the statements given by B , C , D are
B - I am a lawyer.
I haven't killed.
C - I am a layer
I haven't killed.
D- I am not a lawyer.
A lawyer is a murderer.
Out of these 6 2 are are correct and two of them lawyer.
Ans . first 2 are Truth . Last four are false . c has killed.


7 . Baron's guide problem colur prob.
7 C E E=20
T E S S
_______________ =20
9 9 9 9


8. From the north pole a flight takes up with full capacity of fuel =
It can travel half of the globe. You canchange fuel and do whatever =
you like in air. How many minimum flights will be reqd travel the =
earth once through south pole.
Ans 3.


9. Every day a cyclist meets a train at a particular crossing . The =
road is straight. The cyclist travels with a speed of 10 kmph . one day =
the cyclist comes late by 25 min and meets the train 5 km from the =
crossing. What is the speed of the train?
Ans assume that the man and the train normally meet at the crossing =
at 8 a.m . he is 5 km behind at 7.30 . But when the cyclist is late he =
arrives at the crossing at 8.25 and therefore 5 km behind at 7.55 am =
. Since the train takes 5 min to travel 5 km , the speed of the train =
is 60 kmph.

10.A frog starts climbing a 30 ft wall.Each hr he climbs 3 ft and slips back 2. How many days does it
take him to reach the top and get out ?
Ans: 28hrs
At the end of 27 hrs hes 3ft from the top. And during the 28th hr he climbs the remaining 3ft
And hes out. So 28 hrs (shankuntala Devis more puzzles to puzzle u, 197th question).


11. A truck and a car are moving in the same direction at 40 and 60km/hr respectively. Truck was 1500 m Ahead of the car at the start. After some time they both crash. What was distance one minute b4 the Crash.
Convert them into m/sec and do it. The figures 40 and 60 hes not sure.
Suppose one is 15m/s another is 10m/s.
So in one sec car covers 5m.
For 1500m it will take 300s =5 min.
One min b4 I: e 4min I; e 240 sec … it will cover 240 * 5 = 1200.
So the distance b/w them is 300. THE FIGURES ARE NOT THE SAME. It's been just an example.


12. Professor Kittredge's literature seminar includes students with varied tastes in poetry. All those in the seminar who enjoy the poetry of browning also enjoy the poetry of Eliot. Those who enjoy the poetry of Eliot despise the poetry of colridge.
Some of those who enjoy the poetry of Eliot also enjoy the poetry of Auden.
All those who enjoy the poetry of Coleridge also enjoy the poetry of Donne.
Some of those who enjoy the poetry of donne also enjoy the poetry of Eliot.
Some of those who enjoy the poetry of auden despise the poetry of cleridge
All those who enjoy the poetry of donne also enjoy the poetry of frost.

1. Miss garfield enjoys the poetry of donne. Which of the following must be true?
A) she may or may not enjoy the poetry of coleridge.
B) She doesn't enjoy the poetry of bropwning.
C) She enjoys the poetry of auden.
D) She doesnot enjoy the poetry of eliot.
E) She enjoys the poetry of coleridge.

2. Mr. Huxtable enjoys the poetry of browning. He may also enjoy any of the following poets except
A) auden
B) coleridge
C) donne
D) eliot
E) frost

3) Miss inaguchi enjoys the poetry of coleridge. Which of the fllwing must be false?
A) she doesnot enjoy the poetry of auden.
B) She enjoys the poetry of donne.
C) She enjoys the poetry of frost.
D) She doesnot enjoy the poetry of browning.
E) She may enjoy the poetry of eliot.

4) Based on the info provide, which of the following stmnts concerning the members of the seminar must be true?
a) all those who enjoy the poetry of eliot also enjoy the poetry of browning.
b) None of those who despise the poetry of frost enjoy the poetry of auden.
c) Some of those who enjoy the poetry of auden des-ise the poetry of coleridge.
d) None of those who enjoy the poetry of browning despise the poetry of donne.
e) Some of those who enjoy the poetry of frost despise the poetry of donne.
Ans



13) The person meets one train at the crossing every day.
One day hes 20 min late . He meets the train 5 miles from the place If the speed of the man is 12 mile/hr
What is trains speed.
6 **)*****(*7*
*77
-----------
***
*7*
---------
**
**
Ans 53)*****(971 I think this is the ans so that u can find the rest. Any way check it out again.
Read more

LinkWithin

Related Posts Plugin for WordPress, Blogger...