adspace
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
I need Matrix and Series questions with solutions.
If substitution is as it's burnout. Didn't remember. But this is one.
C1,C2 upto Cn are n cities in a country.There are some roads connecting these cities.They are connected in such a that Crth city has r distinct routes connecting each of the other city in the country. 1)if n=27,then how many roads are there in a country? 2)if n=4,in how many distinct routes,can a person travel from c3 to c2?
please send 10 year question papers of clerical and probationary officer question papers of sbi bank ........syed0460@gmail.com this is my email id....
which questions will be coming
please let me know the minimum qualifying marks in screening test of group1 2010 to be eligible for group1 main exam.
JSW steel online test questions
hi.... i need tamil nadu SI police modal question paper can an one help me my mailing id is kettaven46@gmail.com
hi i am going to write SBI Technical Executives entrance exam.pls help me out in clearing thisexam.kindly proivde me the question papers..
rrb second stage written exam in aptitude test model papers
One passage was on playing cards. know how many diamonds and etc.
Sir iam going to write exam for the post of Officers under training in APSRTC. Please send me the model papers to my mail ganjiramji@gmail.com
plz send Karur Vysya Bank Clerk exam previous model papers to saraphin21@gmail.com....
Technical questions
plz send test pattern of nsn engineers graduate.