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?
A. 250 lines
B. 300 lines
C. 350 lines
D. None of these
Solution (By Examveda Team)
To understand it will break one hour in 12 segments of five minutes.1st 5 Minutes = Thinks
2nd 5 minutes = Write.
3rd 5 minutes = Rest.
4th 5 Minutes = Write. [Because he can write up to 10 minutes if he thinks for 5 minutes.]
5th 5 minutes = Think. [He has completed 10 minutes of writing so he has to think.]
6th 5 minutes = Rest.
7th 5 minutes = Write.
8th 5 minutes = Write.
9th 5 minutes = Rest.
10th 5 minutes = Think.
11th 5 minutes = Write.
12th 5 minutes = Rest. [He has completed his 10 minutes of working. 5 minutes thinking + 5 Minutes writing.)
So, in one hour he will write 250 lines of codes.

is there any faster way of solving this? this is arithmetic right? should'nt there be a formula?
250
none of these. ans is 400
250 ans
250
None of these
250 lines
300 lines there are total 10x6=60 and after every 10 mins break for 5 mins....so in 30 mins will write 300 lines.
300
none of these because in every 15 minutes write 100 lines. ans is 400 lines
300 ines