Kumar Chandan
11 years ago

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.

This Question Belongs to User Ask Question >> Miscellaneous

Join The Discussion

Comments (11)

  1. K.A. Abrasado
    K.A. Abrasado:
    8 years ago

    is there any faster way of solving this? this is arithmetic right? should'nt there be a formula?

  2. Prasad
    Prasad :
    11 years ago

    250

  3. Arkaprava Debnath
    Arkaprava Debnath:
    11 years ago

    none of these. ans is 400

  4. Arkaprava Debnath
    Arkaprava Debnath:
    11 years ago

    250 ans

  5. Rahul
    Rahul :
    11 years ago

    250

  6. Maria
    Maria :
    11 years ago

    None of these

  7. Chiranjeevi
    Chiranjeevi :
    11 years ago

    250 lines

  8. Jav
    Jav :
    11 years ago

    300 lines there are total 10x6=60 and after every 10 mins break for 5 mins....so in 30 mins will write 300 lines.

  9. Sunil Choudhary
    Sunil Choudhary:
    11 years ago

    300

  10. Momi
    Momi :
    11 years ago

    none of these because in every 15 minutes write 100 lines. ans is 400 lines

  11. Noor
    Noor :
    11 years ago

    300 ines

Related User Ask Questions