TCS
Company
in base 7,a number is written only using digits 0,1...6.the number 21 in base 7 is equal to 2*7+1=15 in base 10.similarly number 135 in base 7 is 1x72+3x7+5=75 in base 10.what is the sum of base 7 number 1234 and 6543 in base 7?
Read Solution (Total 4)
-
- 1234
6543
------
11110
------
As 4+3 =0(sum) and carry 1 (In base 7) - 11 years agoHelpfull: Yes(15) No(0)
- ans is 11110
whenever we add any 2 no. in base 7 then the sum obtained is divided by 7, the remainder is the sum of the digit and the quotient is the carry
4+3=7 then seven divided by seven gives 1 carry and 0 remainder
now 3+4+1(carry) = 8 /7 = 1 quotient and 1 remainder
the rest can be obtained..
- 11 years agoHelpfull: Yes(6) No(0)
- 11110
in base 7 7=10 8=11.......
so, 1234+6543=11110 - 11 years agoHelpfull: Yes(3) No(1)
- 1234+6543 = 7777 in base 7
equivalent to 7 * 7^3 + 7 * 7^2 + 7 *7 + 7
= 7 (343+ 49 +7+1)
=7 *400 = 2800 ans - 11 years agoHelpfull: Yes(1) No(13)
TCS Other Question