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 | 3 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 |
The ques on a man,a woman and a boy finish work together in 6 days.man takes 10 days,woman takes 24 days then how much boy will take?
if for h hours of work the salary is s and the employee gets x hours of medical leave, then what is the salary/hr ?
In how many rows will 200 Miranda bottles be placed, if 200 Miranda bottles are stacked in such a way that there are 20 bottles in the bottom, 19 in the next row, 18 in the row next and so on?
Hi, Please provide me the National Informatics centre written test papers.This my mail id madhaviusha.s@gmail.com.Plz provide me.this is very helpful to me. Thanks.
Add a word in starting of SCAPE and at the end of Grass, u will get two different word
In a classroom, a student is ranked 12th from right and 9th from left. How many students are there in total?
3 persons say these statements. A says either Democratic or liberal wins the elections. B says Democratic wins.C says neither democratic nor liberal wins the election.of these only one is wrong.who wins the election?
In a journey of 15 miles two third distance was travelled with 40 mph and remaining with 60 mph.How much time the journey takes...
what is the difference between deviation & change control? what is trouble shooting?
In a certain department store, which has four sizes of a specific shirt, there are 1/3 as many small shirts as medium shirts, and 1/2 as many large shirts as small shirts. If there are as many x-large shirts as large shirts, what percent of the shirts in the store are medium?
I am at my paying guest accommodation if I am not in the office. a) I am at my paying guest accommodation. b) I am at my office. c) I am not at paying guest accommodation. d) I am not at my office. A) cb B) ad C) cd D) None of the options
2. What do you understand by templates and styles?