Question 21
What is the 1's complement of binary 10101100?
1's complement is obtained by flipping all bits (1 to 0 and 0 to 1): 10101100 becomes 01010011.
What is the 1's complement of binary 10101100?
1's complement is obtained by flipping all bits (1 to 0 and 0 to 1): 10101100 becomes 01010011.
$Subtract 0101_2 from 1100_2 using 2's complement addition.$
1100 (12) + 2's complement of 0101 (-5 in 4-bit is 1011). 1100 + 1011 = 10111. Discard final carry = 0111_2 (decimal 7).
Which error detection method appends an extra bit to ensure that the total number of 1s in a data word is always even or odd?
Parity check appends a single bit to a data unit to make the total count of 1s either even (even parity) or odd (odd parity).
Convert the hexadecimal number (2F)16 to decimal.
$(2F)16 = 2*16^1 + F*16^0 = 2*16 + 15*1 = 32 + 15 = 47.$
EBCDIC encoding scheme developed by IBM uses how many bits per character?
EBCDIC (Extended Binary Coded Decimal Interchange Code) is an 8-bit character encoding system capable of representing 256 symbols.