Aptitude, Aptitude Hack, Aptitude Tricks & Tips, Mock Test, Test Series,

Thursday 30 May 2019

Aptitude Hack#100(3-6-19)

Question:

A person 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) 100
(b) 250
(c) 350
(d) 600

Answer: (b) 250

Explanation:

 Starting from zero time (time=0min.), the person thinks for the first 5min.
 (time=5min.) then types 50 lines of code in next 5 min. 
(time=10min.), then take a brake for 5 min. (time=15min.), then again types the remaining 50 lines
 (of 10 min. typing) for next 5min.(time=20min.). 

The procedure goes. In the first 20 min. he writes 100 lines. Then he thinks for 5 min. (time=25 min.). Again takes break for next 5 min. (as its already 10 min. to take a break) (time=30min.), then types for 10 min. (time=40min.). Now he has completed 200 lines of codes in 40 min... We have 20 min. remaining. Then he takes a break for 5 min. (time=45min.) thinks for 5 min. (time=50min.) and got time to type for the next 5 min. (time=55min.) as last 5min. is for break time(time=60min.). 
Thus he can write maximum of 250 lines.

0 comments:

Post a Comment