Infosys | Placement Papers


                                          
                                              
1)  A train starts from A towards B with some velocity. Due to an engine problem, after
travelling 3/8 of its journey, it slows to 3/5 of its actual velocity. The train reaches B 1
hour later than the actual planned time. If the engine had failed after travelling 80km and
if it would have slowed down to 4/5th of its initial velocity for another 80km and covered
the remaining distance with 1/2 of its initial velocity, the train would have reached the
destination one and half hours late. What is the distance between A and B in meters?
a)10000       b)480000        c)240000       d)520000
Answer: b) 480000
Solution:
Let the distance between A and B be X and the speed initially be V.
The train travels 3X/8km with speed V and the remaining distance(X - 3X/8) km with
speed 3/5 of V. Ultimately the train was late by 1 hour.
According to the above condition with the formula " distance/speed = time", we can have
[(3X/8)/V]+[(X-(3X/8))/(3V/5)] = [X/V]+1
[3X/8V] + 5(8X-3X)/24V = [X/V]+1
9X+25X-24X / 24V = 1
10X-24V = 0 ..........eqn1
According to the question, if the train travelled 80km with speed V, another 80km with
4/5 th of V and the remaining distance(X-160)km with speed 1/2 of V then
[80/V]+[80/(4V/5)]+[(X-160)/(1V/2)] = [X/V]+3/2
80/V + 100/V + (2X-360)/V = X/V + 3/2
X-180 / V = 3/2
2X-3V = 360 .........eqn2
Solving eqn1 and eqn2
We have, X=480 and V=200
Thus the distance between A and B is 480km and the speed of the train is 200km/hour.
Hence 480km = 480000meters is the answer. Questions/Articles Extracted From www.CareersValley.com
Page 14
2) A man rides a bike with speed V for a distance X km. After completing 1/2 of his
journey he slows down to 1/2 of his initial speed and completes his ride half an hour later
than the planned time. What will be the ratio of the distance to the speed?
a) 1:2        b) 2:1        c) 1:1        d) 2:3
Answer: c) 1:1
Solution:
Let the distance be X and the speed initially be V.
Using the same logic as we used for the previous questions, we get,
X/2V + [X-(X/2)]/(V/2) = X/V + 1/2
X/2V + [4X-2X]/2V = X/V + 1/2
X/2V = 1/2
X = V or X/V = 1
Thus 1:1 is the required ratio.
3)  Agil is twice as fast as Mugil. Mugil is thrice as fast as Annie. The distance covered
by Annie in 54 minutes will be covered by Mugil in ___ minutes.
a)27 minutes      b)9minutes        c)38 minutes        d)18 minutes
Answer: d)18 minutes
Solution:
Let Annie's speed be X km/hr.
It’s given, Mugil is thrice as fast as Annie. Therefore Mugil's speed is a 3X km / hr.
Also it is said Agil is twice as fast as Mugil. Therefore, Agil's speed = Mugil's speed x 2 =
6X km/hr.
Therefore ratio of their speeds = 6X : 3X : X = 6 : 3 : 1
For a given distance, the time taken will be inversely proportional to speed.
Therefore, Ratio of times taken by the three friends Agil, Mugil and Annie = 1/6 : 1/3 : 1 =
1 : 2 : 6
If Annie takes 6 minutes then Mugil takes 2 minutes.
If Annie takes 54 minutes then Mugil takes [2/6 x 54] = 18 minutes.
Hence the answer is 18 minutes Questions/Articles Extracted From www.CareersValley.com
Page 15
4) At the time of his marriage Arunachalam was 29 years old. During marriage, his wife
was younger by 3 ½ years.20 years afterwards the total ages of Arunachalam, his wife
and their only son Kamalraj is 110 years. What will be the age of Kamalraj forty years
from now?
a) 35 1/2 years        b) 45 1/2 years        c) 25 years       d) 30 years
Answer: a) 35 1/2 years
Solution:
I. During Marriage
Arunachalam's age = 29 years
Wife's age = 29 - 3.5 = 25.5 years
II. 20 years afterwards
Arunachalam's age = 29 + 20 = 49 years
Wife's age = 25.5 + 20 = 45.5 years
Let Son's age (20 years after marriage) = S
It is given that, 20 years after the wedding, Arunachalam's age + Wife's age + S = 110
Or 49 + 45.5 + S = 110
S = 15.5 years
III. 40 years afterwards.
Since we have found that the son was 15.5 years old 20 years after marriage, adding 20
to 15.5 will give age of Kamalraj after 40 years.
Therefore answer = 15.5 + 20 = 35.5 years =35 1/2 years. 
5)  Akbar told his friends Amar and Antony that he is fond of possessing multiple cell
phones and added as follows:
OF all cell phones I have, except 6, all are Nokia cell phones
OF all cell phones I have, except 5, all are Samsung cell phones
OF all cell phones I have, except 7, and all are LG cell phones.
How many Nokia, Samsung and LG cell phones?
a) 2 Nokia cell phones, 2 Samsung cell phones and 2 LG cell phones
b) 3 Nokia cell phones, 2 Samsung cell phones and 3 LG cell phones Questions/Articles Extracted From www.CareersValley.com
Page 16
c) 3 Nokia cell phones, 4 Samsung cell phones and 2 LG cell phones
d) 3 Nokia cell phones, 3 Samsung cell phones and 3 LG cell phones
Answer: c) 3 Nokia cell phones, 4 Samsung cell phones and 2 LG cell phones
Solution:
Again this question has to be solved by looking at the options one by one. While we are
leaving the exercise of inspecting each option for your practice, we will just see why
option c is right.
Option c states that there are 3 Nokia cell phones, 4 Samsung cell phones and 2 LG cell
phones.
The above option implies the below three things: 
i) Except 3 Nokia + 4 Samsung = 7 cell phones, all the remaining 2 are LG cell phones
ii) Except 3 Nokia + 2 LG = 5 cell phones, all the remaining 4 are Samsung phones
iii) Except 2 LG + 4 Samsung = 6 cell phones, all the remaining 3 are Nokia phones.
All the above three interpretations coincide exactly with those given in the question.
Hence option c has to be right.
6) Eight friends Harsha, Fakis, Balaji, Eswar, Dhinesh, Chandra, Geetha, and Ahmed
are sitting in a circle facing the center. 
Balaji is sitting between Geetha and Dhinesh. Harsha is third to the left of Balaji and
second to the right of Ahmed. Chandra is sitting between Ahmed and Geetha and
Balaji and Eshwar are not sitting opposite to each other. Who is third to the left of
Dhinesh?
Answer: Fakis
Explanation: Arranging the friends as per the question statement we can arrive at the
following diagram
                          Ahmed
Fakis Chandra
Harsha Geetha Questions/Articles Extracted From www.CareersValley.com
Page 17
Eswar Balaji
Dhinesh
Hence correct answer is Fakis.
7) A fast typist can type some matter in 2 hours and a slow typist can type the same in 3
hours. If both type jointly, in how much time will they finish?
Answer: 1 hr 12 min
Explanation: The fast typist’s work done in 1 hr = 1/2
The slow typist’s work done in 1 hr = 1/3
If they work jointly, work done in 1 hr = 1/2+1/3 = 5/6
So, the work will be completed in 6/5 hours. i.e., 1+1/5 hours = 1hr 12 min
8) Today is 4.11.09. Keeping that figure 41109 in mind, I have arrived at the following
sequence: 2, 1, 9, 5, _. Which of the following four numbers can fill the dash?
Options
a) 7
b) 65
c) 4563
d) 262144
Answer: d) 262144
1^4  +  1  =  2
1^1  +  0  =  1
0^1  +  9  =  9
9^0 + 4 = 5
So next is 4^9 + 1 = 262144 Questions/Articles Extracted From www.CareersValley.com
Page 18
9) Let S be a Set of some positive integral numbers; with an average of 47; and
containing the number 83. The numbers may or may not be distinct .However ; when the
number 83 is removed ; the Avg drops to 46 .What is the largest number that can be
possibly contained in that Set ?
Solution:
Let S be the sum of that set of n positive integers. S/n = 47
(S - 83)/(n - 1) = 46
Solving the above 2 equations, we get S = 1739; n  = 37.
This set of 37 positive integers contains 83. To get to the expected answer, we have to
Suppose that 35 of the remaining 36 integers has a value of 1 each (least +ve integer).
Thus, the largest possible integer in the set = 1739 - 83 - 35*1 = 1621
10) Sum of squares of two numbers 'x' and 'y' is less than or equal to 100. How many
sets of integer solutions of 'x', 'y' is possible?
Answer: Total 317 solutions
Explanation:
x = 0, |y| <= 10 -> 21 solutions
|x| = 1, |y| <= 9 -> 38 solutions
|x| = 2, |y| <= 9 -> 38 solutions
|x| = 3, |y| <= 9 -> 38 solutions
|x| = 4, |y| <= 9 -> 38 solutions
|x| = 5, |y| <= 8 -> 34 solutions
|x| = 6, |y| <= 8 -> 34 solutions
|x| = 7, |y| <= 7 -> 30 solutions
|x| = 8, |y| <= 6 -> 26 solutions
|x| = 9, |y| <= 4 -> 18 solutions
|x| = 10, y = 0 -> 2 solutions
11) There is a unique number of which the square and the cube together use all
ciphers from 0 up to 9 exactly once. Which number is this?
Answer: The number is 69.
Explanation:
69^2=4761 and 69^3=328509 Questions/Articles Extracted From www.CareersValley.com
Page 19
12) You are standing next to a well, and you have two jugs. One jug has a content of
3 litres and the other one has a content of 5 litres. How can you get just 4 litres of
water using only these two jugs?
Solution:
Fill 3 litre jug pour to 5 litre jug
Fill again 3 litre jug and add to 5 litre jug then 1 litre will be there in 3 litre jug
Pour all water outside from 5 litre jug
Fill 1 litre water from 3 litre jug to 5 litre jug
Fill 3 litre jug and add to 5 litre jug making it 4 litres of water.
13) In a certain code RELATED to written as EFUBKDQ. How is RETAINS written in that
code?
Options:
a) SDQBTOJ   b) JOTBQDS
C) JOTBSDQ   d) TOJBSDQ
Answer: d) TOJBSDQ
Reason:
Inspecting how RELATED was written as EFUBKDQ, we can easily find that, 
RELATED – is first written as DETALER
DETALER becomes EFUBKDQ (+1,+1,+1, +1,-1,-1,-1 – alphabetically)
Applying the same logic to RETAINS we get,
RETAINS is first written as SNIATER
SNIATER becomes TOJBSDQ (applying the above rule)
14) Six people – A,B,C,D, E and F are standing in a straight line facing north not
necessarily in the same order. B is standing to the right of D. A is standing fourth to the
left of F and F is not standing on the extreme end of the line. D is standing second to the
left of B. Questions/Articles Extracted From www.CareersValley.com
Page 20
In the above arrangement, which of the following pair represents the people standing at
the extreme ends of the line?
Options:
a) DF      b) AC       c) BC      d) AF
Answer: b) AC
Reason:
Based on the information given seating arrangement is as follows:
North
A D E B F C
south 
(Next 5 Questions are of interview type)
15) You would have heard of Data Source Names (DSNs) used while accessing
databases. Can you tell any three important attributes of DSN?
Answer:
Yes. Some important attributes of DSN include 1) Directory 2) User Id and 3) Password. 
16) How many clustered and non clustered indices a table can contain? What is the
usual type of the primary key?
Answer:
A table can have only one clustered index but there can be many non clustered indexes.
Generally, a clustered index is created on the primary key.
17) Tell any two advantages offered by a DLL (Dynamic Link Libraries) to programmers.
Answer:
DLLs are shared across many processes. This sharing significantly reduces the memory
requirement which in turn provides better memory management.
DLLs can provide great functionality enhancements without much rework on applications
(like recompilation, relinking etc.). Questions/Articles Extracted From www.CareersValley.com
Page 21
18) Tell any two important features/characteristics of Telnet protocol?
Answer:
a. Telnet is bidirectional. That is participants can both send and receive information.
b. Telnet is a text oriented protocol.
19) Tell any two features of 'Sessions' used in communications over the internet.
Answer:
a. Generally sessions exist only for a predefined period of time. For example, if you are
accessing an eCommerce site, leaving the browser idle for an hour or so could
automatically log you out.
b. By default HTML communications are stateless. But sessions can make the
communication 'stateful'. For example, when you are accessing a shopping site, the
shopping server will know that the subsequent requests are from the same buyer i.e.
you. This state is maintained till session expiration. Questions/Articles Extracted From www.CareersValley.com

 

About

Site Info

Placements Info Copyright © 2009 Community is Designed by Bie Converted To Community Galleria by Cool Tricks N Tips