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?
Answers were Sorted based on User's Feedback
Answer / vishal pitaliya
5(think 100 line)
5(write 50 line) -----------------50
5(break)
5(write remaining 50 line)--------50
5(think 100 line)
5(break) SO TOTAL IS
5(write 50 line)------------------50
5(write remaining 50 line)--------50 ANS:250
5(break)
5(think 100 line)
5(write 50 line)------------------50
5(break)
| Is This Answer Correct ? | 50 Yes | 3 No |
There are TWELVE 5 minutes in 1 hour.5 min-thinking,5
min-TYPING 50 LINES and 5 min break,5 min-TYPING 50 LINES
,5 min-thinking, 5 min break,5 min -50 LINES,5 min-TYPING 50
LINES,5 min break,5 min thinking,5 min-TYPING 50 LINES,5 min
break.(totally 250 LINES ARE TYPED)
HENCE 250 IS THE ANSWER.
| Is This Answer Correct ? | 31 Yes | 0 No |
60min=10 work 5 break 10 work 5 break 10 work 5 break 10
work 5 break
total work =40 min
in 40 min= 5 min think 10 min type 5 min think 10 min type 5
min think 5 min type
so 100+100+50=250 lines
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / balasundar
Timing Processing
Start End
0-------5-------Think
5-------10--------------Type(50 line)
10------15------------------------------Break
15------20--------------Type(50 line)
20------25------Think
25------30------------------------------Break
30------35--------------Type(50 line)
35------40--------------Type(50 line)
40------45------------------------------Break
45------50------Think
50------55--------------Type(50 line)
55------60------------------------------Break
In one hour, totally he spent 25 minutes for typing 250 lines
| Is This Answer Correct ? | 5 Yes | 1 No |
Answer / 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 |
there is a 4 inch cube painted on all sides. this is cut into no of 1 inch cubes. what is the no of cubes which have no pointed sides.
When time is 1:50, what is the angle between the two hands of a clock?
Convert the decimal number 310 to the base 6.
how to find 4 digit no using the digit 2,2,3,3,3,4,4,4,4
A car is journied a certain distance in 7 hrs in forward journey in the return journey increased speed 12km/hr takes the times 5 hrs. what is the distance
i will come thrice ina minute twice ina hour once in day who am i
2 Answers Infosys, Senthil, Wipro,
A person walking 5/6 of his usual rate is 40 minutes late. What is his usual time?
Some persons decide to raise Rs. 3 lakhs by equal contribution from each of them. If they contributed Rs. 50 extra each, the contribution increased to Rs. 3.25 lakhs. How many persons were there ? (a) 400 (b) 500 (c) 600 (d) 700 (e) None of these
the number of shells in a judys collection is 80% of the numbers justins collection if justin has 80 more shells than judy how many shells do they have together
28. A and B can finish a piece of work in 20 days .B and C in 30 days and C and A in 40 days. In how many days will A alone finish the job (a) 48 (b) 34 2/7 (c) 44 (d) 45
3 Answers Banking, CSC, Wipro,
There are 6 red shoes & 4 green shoes . If two of red shoes are drawn what is the probability of getting red shoes
4 Answers 3i Infotech, Canara Bank, CMC, Geodesic, Mu Sigma,
12. A train 120 metres long passes an electric pole in 12 seconds and another train of same length traveling in opposite direction in 8 seconds. The speed of the second train is
6 Answers Accenture, OPI Global, TATA,