TCS
Company
in base 7,number is written only using digit0,1,...6.a number 135in base 7 is 1*7^2+3*7+5=75in base10.what is sum of base7 numbers1234&6543in base 7?(A)11101(B)11110(C)10111(D)11011
Read Solution (Total 5)
-
- Ans.B 11110
1234+6543=11110
At unit place 4+3 sum is 0 and carry is 1
at tens place 1+4+3 sum is 1 and carry is 1
at hundreds place 1+5+2 sum is 1 and carry is 1
at thousand place 1+1+6 sum is 1 and carry is 1
hence result will be 11110 - 12 years agoHelpfull: Yes(13) No(0)
- base 10(2800) ---> base 7(11110)
Explaination for conversion from bas10 to base 7
just divide the value by 7 and get its remainders
2800 / 7 = 400 --> 0
400 / 7 = 57 --> 1
57 / 7 = 8 --> 1
8 / 7 = 1 --> 1
1 / 7 = 0 --> 1
so now write remainders from down to top so value is 11110
base 10(2800) ---> base 7(11110) - 12 years agoHelpfull: Yes(8) No(0)
- Ans : b) 11110
Explanation:
convert the number from base 7 to base 10
base 7(1234) = base 10(466)
base 7(6543) = base 10(2334)
Sum of 466 + 2334 = 2800
convert to base 7
base 10 (2800) ===> 11110
- 12 years agoHelpfull: Yes(5) No(0)
- Ans. 11110
As
Carry 1111
1234
+6543
-----
11110
-----
As In base 7, 7=10 So 6+1=10, 5+2=10, 4+3=10 & 3+4=10. - 12 years agoHelpfull: Yes(2) No(0)
- @ismail how ur coverting 2800 into base 7 last step i didnt understand..kindly explain.....thanks in advance
- 12 years agoHelpfull: Yes(0) No(0)
TCS Other Question