A helicopter drops two trains, each on a parachute, onto a straight infinite railway line. There is an undefined distance between the two trains. Each faces the same direction, and upon landing, the parachute attached to each train falls to the ground next to the train and detaches. Each train has a microchip that controls its motion. The chips are identical. There is no way for the trains to know where they are. You need to write the code in the chip to make the trains bump into each other. Each line of code takes a single clock cycle to execute. You can use the following commands (and only these); MF - moves the train forward MB - moves the train backward IF (P) - conditional that's satisfied if the train is next to a parachute. There is no "then" to this IF statement. GOTO
ASD Lab, HP, Micro Labs, Microsoft,
7 32631If second no is twice the first no and first no is thrice the third no.Their avg is 20.Find the greatest no?
12 36106Total 5 children,youngest 3yrs old and no 2 children hve the same age ,sum of their age is26.Find the age of eldest?
13 22788In 29 words or fewer, describe what you would strive to accomplish if you worked at Google Labs.
3 10380Tis known in refined company, that choosing K things out of N can be done in ways as many as choosing N minus K from N: I pick K, you the remaining. This simply states the binomial coefficient identity . Find though a cooler bijection, where you show a knack uncanny, of making your choices contain all K of mine.For pedantry let K be no more than half N.
2553Consider a function which, for a given whole number n, returns the number of ones required when writing out all numbers between 0 and n. For example, f(13)=6. Notice that f(1)=1. What is the next largest n such that f(n)=n?
4 10940Given a triangle ABC, how would you use only a compass and straight edge to find a point P such that triangles ABP, ACP and BCP have equal perimeters? (Assume that ABC is constructed so that a solution does exist.)
2 8038What is the optimal size of a project team, above which additional members do not contribute productivity equivalent to the percentage increase in the staff size?
3 14553It's 2PM on a sunny Sunday afternoon in the Bay Area. You're minutes from the Pacific Ocean, redwood forest hiking trails and world class cultural attractions. What do you do?
3 12524Two pipes can fill a tank in 10 and 12 hours respectively while third pipe will make the tank empty in 20 hours. If all three pipes operate simultaneously, in how many hours the tank will be filled ?
6 31307Post New General Aptitude Questions
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 on Thursday,May 8 and Geeta said that it was Thursday May 10.Revathi said Friday June 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?
Complete the series..2 2 12 12 30 30 ?
Difference between the perimeters of two concentric circles is 66. Find the difference between radius.
There are 150 weights .Some are 1 kg weights and some are 2 kg weights. The sum of the weights is 260.What is the number of 1kg weights?
Add a word in starting of SCAPE and at the end of Grass, u will get two different word
what is the number whose reminder is 2 after dividing 5and also reminder is 4 after deviding 7 and reminder is 6 after deviding 9?
There are two trees in a lawn. One grows at a rate 3/5 of the other in 4 years. If the total growth of trees is 8 ft. What is the height of the smaller tree after 2 years
If the letters of the word "rachit" are arranged in all possible ways and these words are written out as in a dictionary, what is the rank of the word "rachit".
p and q are positive integers with their average 5, find how many different values can p take
Consider a pile of Diamonds on a table.A thief enters and steals 1/2 of th e total quanity and then again 2 extra from the remaining. After some time a second thief enters and steals 1/2 of the remaining+2. Then 3rd thief enters and steals 1/2 of the remaining+2.Then 4th thief enters and steals 1/2 of the remaining+2.When the 5th one enters he finds 1 diamond on the table.Find out the total no. of diamonds originally on the table before the 1st thief entered.
Three men goes to a hotel to stay ,the clerk says $30 per room/day so all the three plans to stay in one room so each pays $10.After some time the clerk realises that he made a mistake of collecting $30 but the room cost only $25,there fore he decides to return $5 to them so he calls the room boy and gives him $5 asking him to return. The room boy keeps $2 with him and he returns only $3($1 for each). Now Totally all have paid $9 each($27)+room boy $2 which is equal to $27.where did $1 go,who has made the mistake?
In a two-dimensional array, X (9, 7), with each element occupying 4 bytes of memory, with the address of the first element X (1, 1) is 3000, find the address of X (8, 5).
A cylinder is 6 cms in diameter and 6 cms in height. If spheres of the same size are made from the material obtained, what is the diameter of each sphere?
a circular track has 100yards. The race of Rabbit and TOuttoise. they started at same point. and move in circular path. in opposite direction.first tortoise run for 1/8 th path, then only rabbit starts,rabbit moved slowly till tortoise meet him, Rabbit had covered 1/6 th distance speed( over earlier speed) to win
Wind flows 160 miles in 330 min, for travelling 80 miles how much time does it require?