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?
Answers were Sorted based on User's Feedback
Answer / vishal pitaliya
5(think 100 line)
5(write 50 line) -----------------50
5(break)
5(write remaining 50 line)--------50
5(think 100 line)
5(break) SO TOTAL IS
5(write 50 line)------------------50
5(write remaining 50 line)--------50 ANS:250
5(break)
5(think 100 line)
5(write 50 line)------------------50
5(break)
Is This Answer Correct ? | 49 Yes | 2 No |
There are TWELVE 5 minutes in 1 hour.5 min-thinking,5
min-TYPING 50 LINES and 5 min break,5 min-TYPING 50 LINES
,5 min-thinking, 5 min break,5 min -50 LINES,5 min-TYPING 50
LINES,5 min break,5 min thinking,5 min-TYPING 50 LINES,5 min
break.(totally 250 LINES ARE TYPED)
HENCE 250 IS THE ANSWER.
Is This Answer Correct ? | 30 Yes | 0 No |
60min=10 work 5 break 10 work 5 break 10 work 5 break 10
work 5 break
total work =40 min
in 40 min= 5 min think 10 min type 5 min think 10 min type 5
min think 5 min type
so 100+100+50=250 lines
Is This Answer Correct ? | 6 Yes | 0 No |
Answer / balasundar
Timing Processing
Start End
0-------5-------Think
5-------10--------------Type(50 line)
10------15------------------------------Break
15------20--------------Type(50 line)
20------25------Think
25------30------------------------------Break
30------35--------------Type(50 line)
35------40--------------Type(50 line)
40------45------------------------------Break
45------50------Think
50------55--------------Type(50 line)
55------60------------------------------Break
In one hour, totally he spent 25 minutes for typing 250 lines
Is This Answer Correct ? | 5 Yes | 1 No |
Answer / 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 ? | 3 Yes | 1 No |
Four persons can cross a bridge in 3, 7, 13, 17 minutes. Only two can cross at a time. Find the minimum time taken by the four to cross the bridge.
Which satellite channel uses the adline, “Knowing is everything” ? (B) Star (A) BBC World (C) Sony (D) Zee
A person was fined for exceeding the speed limit by 10 mph. Another person was also fined for exceeding the same speed limit by twice the same. If the second person was travelling at a speed of 45 mph. find the speed limit .
Find the next letter in the series O,T,T,F,F,S,S--
Pls post Probationary Officers Aptitude questions & previous year questions
In a class of 60 boys, 45 like pizza, 30 like burger and 5 like neither. Find number of boys who like both?
A can do a piece of work in 20 days.B can do the same in 15 days.they both together work for 6 days,then B is replaced by C who works with A for next 4 days & finished it.in how many days C alone can do the same work?
Ajay and Vijay ave their salaries in the ratio of 2:3. If each of their salaries are increased by Rs 4000, the new ration comes to be 40:57. How much is the present salary of Vijay?
If on an item a company gives 25% discount, they earn 25% profit. If they now give 10% discount, then wat % profit they make?
Nationalism of Dalai Lama?
Which one of the following countries has the longest international boundary with India. a) Bangladesh b) Bhutan c) China d) Pakistan
13 Answers Bhel, Rice Research Institute, Sodexo, SSC,
If macros are disabled in a workbook, what do we do to enable them?