infy puzzles

Posted on 2006-04-13
Medium Priority
Last Modified: 2008-03-17
1)An escalator is descending at constant speed.

    A walks down and takes 50 steps to reach the bottom.

    B runs down and takes 90 steps in the same time as A takes 10        


    How many steps are visible when the escalator is not operating?

2)Every day a cyclist meets a train at a particular crossing.

    The road is straight before the crossing and both are travelling in

    the same direction.The cyclist travels with a speed of 10 Kmph.

    One day the cyclist comes late by 25 min. and meets the train 5km

    before the crossing. What is the speed of the train?

Question by:shilpi84
  • 3
  • 2
LVL 12

Accepted Solution

Aland Coons earned 1000 total points
ID: 16446919
Question #2:

Mathmatically if we assume daily both meet at the 0km point at 0:00.

We know the distance to the crossing is 5km and it will take the cyclist 30min to reach 0km (5km@10kmph). Since they normally meet at the crossing (not this point) and are travelling in parallel. We know the cyclist is (overall) 25min late. We must assume the train is NOT late and hence will be at the crossing at 0:00 (5km and 5min hence).  The train must be moving at 1km/min or 60kmph.
LVL 12

Expert Comment

by:Aland Coons
ID: 16446979
Question #1 lacks required information.

It would appear for example that B should have been running UP the escalator and hence take (90*(50/10)) or 450 steps to reach the TOP since he is walking against the flow.

If we assume that both A & B reach the ends of the escalator at the same time .. then the number of extra steps A saved would be the number of extra steps B took (both due to escalator movement).

Then if we stop the escalator they will both have an equal number of steps to reach the top or bottom.  A would have a few more (50+200) and B would have a few less (450-200) so they would both walk 250 steps (the actual number of steps on the escalator from either direction).


Author Comment

ID: 16447042
the answer given for question 1 is 150 but i dont know how 2 arrive at it.
 The Evil-ution of Network Security Threats

What are the hacks that forever changed the security industry? To answer that question, we created an exciting new eBook that takes you on a trip through hacking history. It explores the top hacks from the 80s to 2010s, why they mattered, and how the security industry responded.

LVL 37

Expert Comment

by:Harisha M G
ID: 16448059
I too had come across it ...   http://www.experts-exchange.com/Q_21786353.html

I am also preparing for Infy :)
LVL 37

Expert Comment

by:Harisha M G
ID: 16448119
For the second question:

Distance = Speed * Time
Speed = 10 km/h
Distance = 5 km
Time = 5/10 h = 1/2 h = 30 min

The cyclist takes 30 min to travel 5 km.
The cyclist is 25 minutes late, so it takes the train 5 minutes to travel 5 km.

Hence, the speed of the train is 60 km/hr.
LVL 37

Assisted Solution

by:Harisha M G
Harisha M G earned 1000 total points
ID: 16448146
For the first, according to the solution, this is the answer:

Number of visible steps of the non-operating escalator: n
Speed of the escalator: v
Number of steps taken by A to reach the bottom: 50
Number of steps taken by B to reach the bottom: 90 + (50 - 10) = 130

Walking down:
Time: (n - 50) / v

Running down:
Time: (n - 130) / v

[(n - 50) / v] : [(n - 130) / v] = 5 : 1
(n - 50) : (n - 130) = 5 : 1
(n - 50) * 1 = (n - 130) * 5
n - 50 = 5n - 650
n - 50 - n + 650 = 5n - 650 - n + 650
600 = 4n
600 / 4 = 4n / 4
150 = n

150 steps are visible.

But I am not convinced by the answer

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Tech giants such as Amazon and Google have sold Alexa and Echo to such an extent that they have become household names. And soon they are expected to be used by commoners in their homes, ordering takeout, picking out a song, answering trivia questio…
This holiday season, we’re giving away the gift of knowledge—tech knowledge, that is. Keep reading to see what hacks, tips, and trends we have wrapped and waiting for you under the tree.
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question