TCS
Company
undefined
Three distinct single digit no A,B and c are in G.M ,if abs(x) for real x is the absolute value of x(x , if x is positive or zero,and -x if x is negative), then the number of different possible values of abs (A+B -C) is;
a)3
b)6
c)5
d)4
Read Solution (Total 11)
-
- 2,4,8 |2+4-8|=2 |-2-4+8|=2
1,3,9 |1+3-9|=5 |-1-4+9|=5
ans d..4 - 10 years agoHelpfull: Yes(16) No(16)
- 1,2,4
2,4,8
4,2,1
8,4,2
1,3,9
9,3,1
total=6 - 10 years agoHelpfull: Yes(9) No(1)
- 5 hai ans baki sab chutiya hai
- 10 years agoHelpfull: Yes(6) No(4)
- for(1,2,4) abs(1+2-4)=1
for(3,6,9) abs(3+6-9)=5
for(2,4,6) abs(2+4-8)=2
for(1,-2,4) abs(1-2-4)=5
for(1,-3,9) abs(1-3-9)=11
for(2,-4,8) abs(2-6-8)=10
1,2,5,10,11
answer is 5 - 10 years agoHelpfull: Yes(4) No(3)
- Ans:6
Once we assign one value to A,we cant assign the same value to another variable i.e B or C.Bcoz A,B,C are three distinct single digit numbers.So we can assign three sets of nos to A,B nd C like (1,2,3),(4,5,6),(7,8,9) if we take this set for positive and negative then diff no of possible values to A,B nd C are 6
- 10 years agoHelpfull: Yes(3) No(9)
- 3 possible values.
1,5 and 11
as a can be 1,2,-1,-2 and r can be 3,-3,2,-2. Taking all the combinations and evaluating abs(a+ar-ar^2) - 10 years agoHelpfull: Yes(1) No(1)
- hehe ohhh 6 is the correct ans. @shikha
- 10 years agoHelpfull: Yes(1) No(0)
- 5 is correct answer,,
- 10 years agoHelpfull: Yes(1) No(0)
- best solution is wrong,,,,,ans is 5
nos are is--1 2 4,1 3 9,2 4 8,4 6 9,9 6 4,8 4 2,9 3 1,4 2 1,
and final ans is-1,5,2,11,10 - 9 years agoHelpfull: Yes(1) No(0)
- total possible combinations are
1 2 4
-1 -2 -4
2 4 8
-2 -4 -8
1 3 9
-1 -3 -9
each combination will result into 1 value but two combinations will result into same value.
but what is asked is number of different values:
so it will be 3 - 10 years agoHelpfull: Yes(0) No(0)
- 3....different possibilites are 2,4,8..1,3,9..1,2,4
- 10 years agoHelpfull: Yes(0) No(0)
TCS Other Question