TCS
Company
Logical Reasoning
Number Series
In a base 7,a no. is written only using the digits 0,1,2-----6.The no. 21 in base 7 is equal to 2x7+1=15 in base 10.Similarly, 135 in base 7 is 1x72 + 3x7+5=75 in base 10.What is the sum of base 7 no.1234 and 6543 in base 7?
Read Solution (Total 8)
-
c4 c3 c2 c1
carry 1111
1st no. 1234
2nd no. 6543
-------------
sum = (11110)7
-------------
- 10 years agoHelpfull: Yes(17) No(5)
- 21 in base 7 is written as 2*(7^1)+1=15
1234 in base 7 is written as 1*(7^3)+2*(7^2)+3*(7^1)+4*(7^0)=466
Similarly go for the other number i.e. 65432
6543 is equivalent to 2058+245+28+3=2334
Answer is: 2334+466=2800 in base 7.
Sorry for the typo earlier. - 10 years agoHelpfull: Yes(7) No(0)
- 466+2334=(2800)7
now find its binary form. - 10 years agoHelpfull: Yes(2) No(0)
- c4c3c2c1
carry 1111
1st no. 1234
2nd no. 6543
-------------
10110
------------- - 10 years agoHelpfull: Yes(0) No(4)
- please explain more.. what is base 7 ? how to do these type of questions ?
- 10 years agoHelpfull: Yes(0) No(0)
- 21 in base 7 is written as 2*(7^1)+1=15
1234 in base 7 is written as 1*(7^3)+2*(7^2)+3*(7^1)+4*(7^0)=466
Similarly go for the other number i.e. 65432
65432 is equivalent to 2058+245+28+3=2334
Answer is: 2334+466=2800 in base 7. - 10 years agoHelpfull: Yes(0) No(1)
- ans =11110
start counting from 0 when 6 is reached.
1234
+ 6543
---------
11110
-------- - 10 years agoHelpfull: Yes(0) No(0)
- 11110
4+3=7 ie 0 in base 7 with carry 1. now 3+4+carry 1=8 ie 1 in base 7 with carry 1.similarly 2+5+1=1 and 1+6+1=1 with carry 1 giving 11110 - 10 years agoHelpfull: Yes(0) No(0)
TCS Other Question