1,531 views
2 votes
2 votes
Please provide codes for 0-9 decimal using 4311 code..i am little bit confused in it..I know the property that addition 9 makes it self complemetory..but how m nt understanding..plz help..

1 Answer

Best answer
5 votes
5 votes

Yes It is a self-complementing code 

$n$ $4311$
$0$ $0000$
$1$ $0001$
$2$ $0011$
$3$ $0100$
$4$ $0101$
$5$ $1010$
$6$ $1011$
$7$ $1100$
$8$ $1110$
$9$ $1111$

1). There is property, of self complementing code, that,code of  $9's$ of a decimal number is obtained directly by changing $0's$ to $1's$ and $1's$ to $0's$

example: $9's$ complement of $2$ is $7$, change $0's$ to $1's$ and $1's$ to $0's$ in $4311$ code of $2$ , we will get $1100$, that is $4311$ code of $7$

2). Interesting thing I found that sum of weights of self-complementing weighted code makes a total of $9$, i.e, $4+3+1+1=9$, checked with other self-complementing codes as $2421,84-2-1,5211,$ and $642-3$.

selected by

Related questions

0 votes
0 votes
2 answers
2
rohan.1737 asked Aug 17, 2018
711 views
Is there any way to check whether a language is regular or not without using Pumping lemma?
0 votes
0 votes
0 answers
3
NanaDKL asked Dec 13, 2021
241 views
Verify that, if either R1 or R2 is irreflexive then so is R1 * R2
0 votes
0 votes
1 answer
4
AnilGoudar asked Jun 4, 2017
1,223 views
How to convert (1234)10, decimal number to 2421 weighted code, self-complimentary code.