Friday, April 3, 2009

Infosys Placement Paper

Infosys

--------



1) There are two balls touching each other circumferencically.

The radius of the big ball is 4 times the diameter of the small

ball.The outer small ball rotates in anticlockwise direction

circumferencically over the bigger one at the rate of 16 rev/sec.

The bigger wheel also rotates anticlockwise at Nrev/sec. what is

'N' for the horizontal line from the centre of small wheel always

is horizontal.

2) 1 2 3 4

+ 3 4 5 5

----------

4 6 8 9

- 2 3 4 5

----------

2 3 4 4

+ 1 2 5 4

------------

3 6 9 8

Q) Strike off any digit from each number in seven rows (need not

be at same place) and combine the same operations with 3 digit numbers

to get the same addition. After this strike off another digit from all

and add all the No.s to get the same 2 digit No. perform the same

process again with 1 digit No.s. Give the ' no.s in 7 rows at

each stage.

3) there is a safe with a 5 digit No. The 4th digit is 4 greater than

second digit, while 3rd digit is 3 less than 2nd digit. The 1st digit

is thrice the last digit. There are 3 pairs whose sum is 11. Find

the number. Ans) 65292.

4) there are 2 guards Bal and Pal walking on the side of a wall of a

wearhouse(12m X 11m) in opposite directions. They meet at a point and

Bal says to Pal " See you again in the other side". After a few moments

of walking Bal decides to go back for a smoke but he changes his

direction again to his previous one after 10 minutes of walking in

the other(opposite) direction remembering that Pal will be waiting

for to meet.If Bal and Pal walk 8 and 11 feet respectively, how

much distance they would have travelled before meeting again.

5) xxx)xxxxx(xxx

3xx

-------

xxx

x3x

------

xxx

3xx

------

Q) Find the 5 digit No.

Hint: 5 is used atleast once in the calculation.

6) Afly is there 1 feet below the ceiling right across a wall length

is 30m at equal distance from both the ends. There is a spider 1 feet

above floor right across the long wall eqidistant from both the ends.

If the width of the room is 12m and 12m, what distance is to be

travelled by the spider to catch the fly? if it takes the shortest

path.

7) Ramesh sit around a round table with some other men. He has one

rupee more than his right person and this person in turn has 1 rupee

more than the person to his right and so on, Ramesh decided to give

1 rupee to his right & he in turn 2 rupees to his right and 3 rupees

to his right & so on. This process went on till a person has

'no money' to give to his right. At this time he has 4 times the

money to his right person. How many men are there along with Ramesh

and what is the money with poorest fellow.

8)Question related to probabilities of removing the red ball from a

basket,given that two balls are removed from the basket and the other

ball is red. The basket contains blue,red,yellow balls.

9)Venkat has 1boy&2daughters.The product of these children age is 72.

The sum of their ages give the door numberof Venkat.Boy is elder of

three.Can you tell the ages of all the three.

ANALYTICAL

----------

1)L:says all of my other 4 friends have money

M:says that P said that exact one has money

N:says that L said that precisely two have money

O:says that M said that 3 of others have money.

P:Land N said that they have money.

all are liers.Who has money&who doesn't have?

2)A hotel has two,the east wing and the west wing.some east wing rooms

but not all have an ocean view(OV).All WW have a harbour view(HV).The

charge for all rooms is identical, except as follows

* Extra charge for all HV rooms on or above the 3rd floor

* Extra charge for all OV rooms except those without balcony

* Extra charge for some HV rooms on the first two floor&some EW rooms

without OV but having kitchen facilities. (GRE modrl Test 3-question

1J-22)

3)Post man has a data of name surname door no.pet name of 4 families.

But only one is correct for each family.There are a set of statements

&questions.

4)4 couples have a party.Depending on the set of statements,find who

insulted whom and who is the host of the party.

5)5 women given some of their heights(tall,medium,short)Hair( long,

plainted),stards(Black or Brown), sari,2 medium,2-short.Tall->no

sari.Plainted->medium.Answer the combinations.

1) A person has to go both Northwards&Southwards in search of a job.

He decides to go by the first train he encounters.There are trains for

every 15 min both southwards and northwards.First train towards south

is at 6:00 A.M. and that towards North is at 6:10 .If the person arrives

at any random time,what is the probability that he gets into a train

towards North.

2) A person has his own coach&whenever he goes to railway station he

takes his coach.One day he was supposed to reach the railway station

at 5 O'clock.But he finished his work early and reached at 3 O'clock.

Then he rung up his residence and asked to send the coach immediately.

He came to know that the coach has left just now to tje railway station.

He thought that the coach has left just now to the railway station.He

thought that he should not waste his time and started moving towards

his residence at the speed of 3mi/hr.On the way,he gets the coach and

reaches home at 6 o'clock.How far is his residence from railway

station.

3)Radha,Geeta&Revathi went for a picnic.After a few days they forgot the

date,day and month on which they went to picnic.Radha said that it was

onThursday,May 8 and Geeta said that it was Thursday May 10.Revathi

said Friday Jun 8.Now one of them told all things wrongly,others one

thing wrong and the last two things wrongly.If April 1st is tuesday

what is the right day,date and month?

-------------------------------------------------------------------------
I am sending mainly c
paper and some questions.Rao
also will send somethig.There are 15 c q's all are discriptive.

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)
}
_____________________________________________________________
1)Least no. when divide by [7 gives remainder 6,6gives 5,5 gives 4 and
soon ans;419
2)What compilation do (ans source code to obj)
3)Artficial language is provided which of the language (Lisp) check
4)241 change its equivalent octal ?
5)for cube and sphere 3 views are similarly draw one such figure?
6)Write a program to exchange two variaables without temp
7)Fortran cannot have value by reference
8)4,6,8,__
9)success is to failure, joy is to
10)MEANING OF JOLLY?
11)opposite to essential?
12)"Raw" means
13)To be good "Wrestler " one should have?
14)"Command" opposite?
15)genuine opposite?
16)Two proverbs are goven
17)Sum of two consecutive nos is 55, larger one is?
18)A person goes 4/5 of his usual speed reaches 10min lateto his
destinaton, time taken?
19)80% pass in english, 70%pass in maths , 10%fail in both , 144 pass in
both . How many all appeared to the test?
20)To get a parabola if you cut a section of?
21)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
22)meaning of inert
If any are there rao will send you. Prepare well
for the interview. Mostly on graphics , geometry .Prepare questions like
(for interview)Prove some of the angles in a triangle are 180.Angle in a
half circle is 90.How will you measure hight of building when you are at
the top of the building and if you have stone with you.

Infosys Placement Paper

GEORGE SUMMERS puzzle books are suggested.
-----------------------------
INFOSYS TECHNOLOGIES LIMITED.
-----------------------------
Question Paper
--------------
Part 1.
------
(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.Red and brown tribes [FROM BARRONS GRE] Conditions to
get married with each other.

4. Venn diagram regarding Rich, muscular, soft-skinned,
employed, etc.,( Refer BARRONS GRE GUIDE)
--------------------------------------------------------------------
PART 2.
1. SAKUNTALA DEVI'S PUZZLE BOOK : PUZZLES TO PUZZLE YOU.
problem no: 3. ( Brothers and Sisters)
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.
2. 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
3. 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
---------
5. 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.
6. 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.
7.ESCALATOR PROBLEM OF SAKUNTALA DEVI 'PUZZLES TO PUZZLE'book.
Problem No: Problem 27( Down the escalator)
ans : the no of steps in the stair way : 46.
8.Harbour line and Main line Problem of Sakuntala Devi Puzzle
book. Ans : 4/5.
( More Puzzles book)
9.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?
10.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.
11.Problem from SAKUNTALA DEVI 'PUZZLES TO PUZZLE U'.
Problem no: 23( Walking back to happiness.) The walking time : 55 mins.

Infosys 1997

INFOSYS 1997. TIME 1hr.

PAPER CODE Q/A. marks 50.

--------------------------------------------------------------

1)At 6'o clock clock ticks 6 times. The time between first and

last ticks was 30sec. How much time it takes at 12'o clock.



Ans. 66 sec. 2 marks.



2)Three friends divided some bullets equally. After all of them

shot 4 bullets the total no.of remaining bullets is equal to that of

one has after division. Find the original number divided.



Ans. x x x

x-4 x-4 x-4

3x-12 = x

x= 6

ans is 18 2 marks



3)A ship went on a voyage after 180 miles a plane statrted with 10 times

speed that of the ship. Find the distance when they meet from

starting point.



Ans. 180 + (x/10) = x

x = 20

ans is 180+20=200miles. 2 marks



4) Fill the empty slots.

Three FOOTBALL teams are there. Given below the list of maches.



played won lost draw Goals for Goals against

A 2 2 *0 *0 *7 1

B 2 *0 *1 1 2 4

C 2 *0 *1 *1 3 7



the slots with stars are answers. 4 marks

BC drew with 2-2

A won on B by 2-0

a won on C by 5-1

( YOU HAVE TO FILL THE BLANKS AT APPROPRIATE STAR SYMBOLS.)`

5) There are 3 societies a,b,c. a lent tractors to b and c as many

as they had. After some time b gave as many tractors to a and c

as many as they have. After sometime c did the same thing.

At the end of this transaction each one of them had 24.

Find the tractors each orginally had.



Ans a had 39, b had 21, c had 12, 4 marks



6) There N stations on a railroad. After adding x stations 46 additional

tickets have to be printed. Find N and X.



Ans. let N(N-1) = t;

(N+x)(N+x-1) = t+46;

trail and error method x=2 and N=11 4 marks



7)Given that April 1 is tuesday. a,b,c are 3 persons told that their

farewell party was on

a - may 8, thursday

b - may 10,tuesday

c - june 8, friday

Out of a,b,c one is only correct one of the regarding month,day,date.

Other told two correct and the third person told all wrong.What is

correct date,month,day. 5 marks

(ans may be MAY 10 SUNDAY. check once again)

8)There are 4 parties. df,gs,dl(depositloss),ew ran for a contest.

Anup,Sujit,John made the following statements regarding results.

Anup said either df or ew will definitely win

sujit said he is confident that df will not win

John said he is confident that neither ew nor dl will win

the result has come. only one of the above three has made a correct

statement. Who has made the correct statement and who has won

the contest. 5 marks.

(ans DL )

9)Five people a,b,c,d,e are related to each other. Four of them make

one true statement each as follows.

i) b is my father's brother. (ans. d said this)

ii)e is my mother-in-law. ( b )

iii)c is my son-in-law's brother. ( e )

iv)a is my brother's wife. ( c )

who said each statement.

10 marks.



10) All members of d are also members of a

All '' e '' d

all '' c '' both a and b

not all '' a are members of d

not all '' d '' e

Some questions on these conditions.(5questions 5 marks)

11)

boys are allowed to watch football at c.v.Raman auditorium subjected to

conditions.

i)the boy over age 16 can wear overcoat

ii)no boy over age 15 can wear cap

iii)to watch the football either he has to wear overcoat or cap

or both

iv) a boy with an umberella or above 16 or both cannot wear sweater.

v) boys must either not watch football or wear sweater.



What is the appearence of the boy who is watching football.

Try to solve this question................







ok!!!!!

infosys paper 1997.

paper code q/c.

------------------------------------------------------------------------



1) be * be = acb

a,b,c,e are non zero numbers find b,e.

ans) b=1 e=9

2) a,b,c,d,e are having numerical values. there are some conditions

given

a) a=c <===> b!=e

b) difference between a and c as same as difference between c and b

as same as difference between a and d

c) c and c>d

then find a,b,c,d,e

3) there are six cards in which it has two king cards. all cards are

turned down and two cards are opened

a) what is the possobility to get at least one king.

b) what is the possibility to get two kings.

4) a person went to a shop and asked for change for 1.15paise.

but he said that he could not only give change for one rupee.

but also for 50p,25p,10p and 5p. what were the coins he had

ans) 1-->50 4--->10p 1--->25p

5) there are 3 nurses and they work altogether only once in a week.

no nurse is called to work for 3 consecutive days.

nurse 1 is off on tueseday,thursday and sunday.

nurse 2 is off on saturday.

nurse 3 is off on thursday,sunday.

no two nurses are off more than once a week.

find the day on which all the 3 nurses were on work.

6) there are 5 persons a,b,c,d,e and each is wearing a block or white

cap on his head. a person can see the caps of the remaining 4 but can't

see his own cap. a person wearing white says true and who wears block

says false.

i) a says i see 3 whites and 1 block

ii) b says i see 4 blocks

iii) e says i see 4 whites

iiii) c says i see 3 blocks and 1 white.

now find the caps weared by a,b,c,d and e

7) there are two women, kavitha and shamili and two males shyam, aravind

who are musicians. out of these four one is a pianist, one flutist,

violinist and drummer.

i) across aravind beats pianist

ii) across shyam is not a flutist

iii) kavitha's left is a pianist

iiii) shamili's left is not a drummer

v) flutist and drummer are married.

8) 1/3 ed of the contents of a container evaporated on the 1 st day.

3/4 th of the remaining contents of the container evaporated the

second day. what part of the contents of the container are left at

the end of the second day.

9) a man covered 28 steps in 30 seconds but he decided to move fast and

covered 34 steps in 18 seconds. how many steps are there on the

escalator when stationary.

10) all fair skinned, rich, handsome, muscular, lean and employed are

tall men

1) all lean men are muscular.

2) no fairskinned person who is not rich is handsome.

3) some muscular men are handsome.

4) all handsome are fairskinned.

5) no person who is neither fair skinned nor muscular is enplyed.

6) we unable to recall this condition and question also incomplete.

Veritas

mainly C and puzzles.

C:

(1)comparison question of array and linked list. why is array poorer.
ans: inserting new elements at front is potentially expensive

(2) how to insert a new element in a linked list.
(3) some programs and asking for result.
(4) where does malloc allocate memory
ans : heap.

Puzzles:
(1) car tied to a tree with infinite elastic rope. drives at 100kmph. ant on tree travelling along the rope at 1.5kmph. will the ant catch up with the car.

(2) lion lies on monday,tuesday and wednesday. unicorn on thursday,friday and saturday. on other days both say the truth.

one day lion said: yesterday was one of my lying days.
unicorn said: yesterday was not one of my lying days.

what day is it:

ans: thursday.

(3) square of 8x8 can be filled with 2x1 rectangles. now if we remove two corner squares(opposite) than can the remaining object be covered completely with 2x1 squares.? explain.
ans: no. explain urself :)