TCS
Company
Numerical Ability
Age Problem
2 years ago of A is x times that of B. 3 Years hence the age of A is 4/3 times of B. What is the present age of B in binary form?
Read Solution (Total 3)
-
- let age of A be a and age of B be b.
a-2=x*b--1st eq.
a+3=4/3b--2nd eq.
so (2nd eq)-(1st eq):
5=(4/3-x)*b---3rd eq.
here we can see that 5 is a prime no.
so b shud be 5 becoz if we will take (4/3-x)=5 then x will be negative which is not possible.
so b=5yrs.
x=1/3
a=11/3 yrs.
now changing 5 in binary it will be 101.
so age of b in binary is 101. - 13 years agoHelpfull: Yes(16) No(1)
- x would be supplied
2 years ago A=xB----(1)
after 5 years(2+3) age will be
=> 5+A=4/3(xB+5)------(2)
we substitute A in eq2
=>15+3xB=4xB+20
=>xB=5
=>B=5/x
Binary value of 5/x is the ans - 13 years agoHelpfull: Yes(8) No(10)
- A-2=XB-->1,
3+A=4/3B-->2,
slove 2eq,
get A=4B-9/3
sub.to 1eq,
got B=15
binary form=1111 - 13 years agoHelpfull: Yes(2) No(12)
TCS Other Question