TCS
Company
Numerical Ability
Age Problem
In base 7 number is written only using the digits 0,1..6.the number 135 in base 7 is 1*(7^2)+3*(7^1)+5*(7^0)=75 in bse 10.what is the sum of base 7 numbers 1234 and 6543 in base 7?
a)11101
b)11110
c)10111
d)11011
Read Solution (Total 8)
-
- 343+98+21+4=466 (1234)
2058+245+28+3=2334 (6543)
thus addition in decimal=2800
now convert 2800 to base 7= 11110
7!2800 ! 0
--------
7!400 ! 1
--------
7! 57 ! 1
--------
7! 8 ! 1
--------
1 ! 1
2800 (in decimal)==11110 (in base 7) - 12 years agoHelpfull: Yes(30) No(1)
- Simple In Base 7
4+3=10
5+2=10
1+6=10 Then
(1234)Base7+(6543)Base7=(11110)Base7
- 12 years agoHelpfull: Yes(6) No(0)
- @ reema,
This qn can be solved directly without changing to decimal system as explained by Manunit.
to convrt 2800 base 10 to base 7..
Divide 2800 with 7.
quotient 400, remainder zero.. keep 0 at last place (LSD)least significant digit
divide 400 with 7 .. quotient 57 .. remainder 1... next digit 1
divide 57 with 7 ... quotient 8... remainder 1... next digit 1
divide 8 with 7 .. quotient 1.. remainder 1..... next digit 1
divide 1 with 7 ( not reqd. if u can understand directly ) .. 0 quotient.. remainder 1.
so
finally u get 11110 in base 7.
- 12 years agoHelpfull: Yes(5) No(2)
- answer b)11110
(1234)base 7 +(6543) base 7 = (7777)base 10 = 7*7³ +7*7²+7*7+7 =(2800)base 10
converting 2800 to the base 7 we get =11110 - 12 years agoHelpfull: Yes(4) No(2)
- 11110
explaination: 4+3=0 carry 1
3+4 & carry =sum 1 & carry 1
2+5 & caary= sum 1 & carry 1
...... - 12 years agoHelpfull: Yes(4) No(3)
- small correction read as (7777)base 7 = 2800base 10 =11110 base 7
- 12 years agoHelpfull: Yes(1) No(1)
- plz tell me how to convert 2800base10 to base7??
- 12 years agoHelpfull: Yes(0) No(2)
- BASE 7 IS IN THE RANGE FROM 0-6 SO ADD 1234+6543 WE GET
1234
6543
------
11110
------
AS 4+3 = 7 IS REPRESENTED AS 0, AND IF ITS 8 ITS REPRESENTED AS 1, 9 AS 2 AND SO ON...
HOPE YOU GET IT - 10 years agoHelpfull: Yes(0) No(2)
TCS Other Question