The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
0 votes
91 views

asked in Digital Logic by Active (1.7k points)
edited by | 91 views
0
Is it B?
0
I am getting (261) base [email protected] are you getting exactly 251?
0
0
Got it now
0
the ans is b.
+2

266+1 ≠ 267. As it is base=7 so the digits can't be >=7.

So 7 has to be written in base 7 form which is

71 70
1 0

 

i.e. 10. sum=0 and carry=1.

Again 6+1(carry) = 10 => sum=0 and carry=1

2+1=3 sum=3 carry=0

So, 266+1 = (300)7

0
thanx #MiNiPanda
0
Thanks for the explanation
+2

Shubham Aggarwal  Do let me know if you can understand this

0
Best explanation....

1 Answer

+3 votes
Best answer
$[507]_{9} 8's complement =888-507=[381]_{9}=[316]_{10}=[474]_{8}$=P

$[400]_{7} 7''s complement=[223]_{8}$=Q

by subtracting q from p we get $[251]_{8}$
answered by Active (2.3k points)
selected by
0
(400)7 =(223)8 how are you getting this plz explain.?
0
(r-1)'s complement=$[666-400]_{7}=[266]_{7}$ but we need 7's complement so add 1 to the 266+1=$[300]_{7}$=$[147]_{10}$=$[223]_{8}$

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
49,808 questions
54,481 answers
188,251 comments
74,528 users