Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

A software engineer has the capability of thinking 100
lines of code in five
minutes and can type 100 lines of code in 10 minutes. He
takes a break for
five minutes after every ten minutes. How many lines of
codes will he
complete typing after an hour?

Answer Posted / anjan chowdhury

Here the trick is "He takes a break for five minutes after every ten minutes".
So, if he thinks first five minutes and after that he begins writing then after 5 min, he must take a break.
Hence in first round:
--------------------------------
5 min --> thinking(T)[100 lines]
next 5 min --> writing(W)[first 50 lines]
next 5 min --> break (writing is interrupted by break)(B)
--------------------------------

In second round:
--------------------------------
5 min --> W (Another 50 lines)
5 min --> T [100 lines]
5 min --> B
---------------------------------

In third round:
---------------------------------
5 min --> W (first 50 lines)
5 min --> W (Next 50 lines)
5 min --> B
---------------------------------

In fourth round:
---------------------------------
5 min --> T [100 lines]
5 min --> W (first 50 lines)
5 min --> B
---------------------------------

Hence, in total 60 mins,
Thinking : 300 lines
Writing : 250 lines

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

It takes five minutes to pass a rumor from one person to two other persons. The tree of rumor continues. Find how many minutes does it take spread the rumor to 768 persons.

1648


Two cars are 15 kms apart. One is turning at a speed of 50kmph and the other at 40kmph . How much time will it take for the two cars to meet?

1430


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.

1190


if a,b>0 and a+b=2 then the max value of ab is

1156


A bike runs at the speed of 50 km/h when not serviced and runs at 60 km/h when serviced. After servicing the bike covers a certain distance in 6 h. How much time will the car take to cover the same direction?

1235


A man walks around a rectangle. The time taken by him in travelling the length is twice as taken in travelling the breadth of the rectangle. If the perimeter of the rectangle is 300 mts, what is the area of the rectangle?

1202


a vendor solds two things at same cost 12 RS with one item at 25%profit and other at 20%loss,by this transaction he made profit or loss by how much

1426


starting from 2 upto how many numbers we need to check whether 907 is prime or not?

1879


Each row of letters or numbers has a rule connecting them. Write the next number or letterin the brackets. K , A , J , B , I , C , H , (_ _ _)

1452


The minimum number of digits required to form every number which is greater than 900 and less than 9,000 is:

1417


A lorry starts from Bangalore to Mysore at 6.00 A.M,7.00am.8.00 am.....10 pm. Similarly one another starts from Mysore to Bangalore at 6.00 am,7.00 am, 8.00 am.....10.00pm. A lorry takes 9 hours to travel from Bangalore to Mysore and vice versa. A lorry which had started at 6.00pm will cross how many lorries.

1819


Find the next number in the series 1,2,5,10,,15,22--

1186


A farmer has a farm square of 100 sq.m a cow is tied at one and with a rope of 10m length.assume pi-3.what is the area of land the cow can graze.

1290


A person has Rs 100/- in his pocket, he can as 25 pencils or 15books. He kept 15% of the money for travelling expenses and purchased 5 ncils.So how many books he can purchase with the remaining money.

1348


dear sir I need ordance factories non technical model question paper so pls send me the model paper my E-mail Id is sakthisaa@gmail.com

2192