TCS
Company
Numerical Ability
Trigonometry
The IT giant Tirnop has recently crossed a head count of 150000 and earnings of $7 billion. As one of the forerunners in the technology front, Tirnop continues to lead the way in products and services in India. At Tirnop, all programmers are equal in every respect. They receive identical salaries ans also write code at the same rate.
Suppose 12 such programmers take 12 minutes to write 12 lines of code in total.
How long will it take 72 programmers to write 72 lines of code in total?
a) 18
b) 72
c) 6
d) 12
Read Solution (Total 13)
-
- 12 programmers take 12 minute to write 12 lines
so 1 programmer will take 12 minutes to write 1 line
so 1 programmer will take 1 minute to write 1/12th of a line
so 72 programmers will take 1 minute to write (1/12)*72 = 6 lines of code
if 6 lines need 1 minute then 72 lines need (72/6) minutes = 12 minutes
Ans : 12 - 14 years agoHelpfull: Yes(127) No(1)
- Ans 12
To solve this kind of question you should use your imagination rather than formula.Imagine there is a room, programmer are programming and there is a watch on the wall.
12 programmer writes 12 lines of code in 12 min. if in that room 72 (6 times) programmer comes and sit together ,then in 12 min they would write 72 lines of code (because each 12 programmer group would write 12 lines of code 12+12+12+12+12+12=72) .so in 12 min 72 programmer would write 72 lines of code.
2nd type of question usually asked is
"Suppose 12 such programmers take 12 minutes to write 12 lines of code in total. How many lines of code can be written by 72 programmers in 72 minutes?"
ans 432
12 such programmers take 12 minutes to write 12 lines of code.Now in the room 72 programmer are writing the code.in 12 min 72 programmer would write 72 lines of code(each group of 12 programmer would write 12 lines 12+12+12+12+12+12=72 lines).in next 12 min 72 programmer would write 72 lines more. next to next those 72 programmer would write 72 lines and so on. so in 72 min 72 programmer would write 72+72+72+72+72+72=432 lines
3rd type of question usually asked is
"Suppose 12 such programmers take 12 minutes to write 12 lines of code in total. How many programmers can write 72 lines in 72 minutes?"
ans 12 programmer
12 programmer are sitting in room , in 12 min they would write 12 lines. in next 12 min they would write 12 lines more . in next to next 12 min , 12 lines more .so on ..12+12+12+12+12+12(72 min)and total lines 12+12+12+12+12+12(72 lines) . 12 programmer would write 72 lines in 72 min.
Say YES !!!!!!!!!!!!!
- 12 years agoHelpfull: Yes(54) No(8)
- 12:12:12::72:72:x
then we havw formulw a:b:c::d:e:f
a:b:f::d:e:c then
12:12:x::72:72:12
we get
12:x:72:72
a:b::c:d
a*c=b*d
72*x=12*72
x=12 - 14 years agoHelpfull: Yes(20) No(11)
- Let p be no. of programmers, t be the time and l be the no. of lines
then p*t/l=p*t/l
12*12/12=72*t/72
solving we get
t=12
Ans:12
- 14 years agoHelpfull: Yes(14) No(1)
- 12 minutes
- 14 years agoHelpfull: Yes(5) No(4)
- 12
- 14 years agoHelpfull: Yes(4) No(7)
- ans is 12
- 14 years agoHelpfull: Yes(3) No(3)
- It is 12 minutes.One programmer take 1 minute to write 1 line.1 programmer take 12*12 minutes to write 12 lines.1 programmer take 12*12*6 minute to write 72 lines.Similarly 72 programmers take (12*12*6/72) i.e 12 minutes to write 72 lines of code
- 14 years agoHelpfull: Yes(3) No(3)
- 72
- 14 years agoHelpfull: Yes(2) No(66)
- 12
- 14 years agoHelpfull: Yes(1) No(1)
- it will take them 12 minutes.
- 9 years agoHelpfull: Yes(0) No(0)
- Ans 12
(12×12)/12=72×x/72
By solving
x=12 - 9 years agoHelpfull: Yes(0) No(0)
- 12 using chain rule
- 6 years agoHelpfull: Yes(0) No(0)
TCS Other Question