Tag: digital electronics and logic gates

Questions Related to digital electronics and logic gates

Which one of the following gives the $2's$ complement of decimal number $13$?

  1. $0010$

  2. $0011$

  3. $1100$

  4. $1101$


Correct Option: B
Explanation:

The binary representation of $13$ is $1101$. The $1's$ complement of $13$ is $0010$. The $2's$ complement of $13$ is $0010 + 1 = 0011$.

The BCD code for the character A is

  1. $1000$

  2. $1010$

  3. $1011$

  4. $1100$


Correct Option: B