wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

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 5 minutes after every ten minutes. How many lines of codes will he complete typing after an hour ?

A
250 lines
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
300 lines
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
350 lines
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
None of these
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is B 250 lines
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 type 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.

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Speed and Velocity
PHYSICS
Watch in App
Join BYJU'S Learning Program
CrossIcon