ABSTRACT

This chapter focuses on binary numbers. First, positional numbering systems are introduced. Next, binary is explored with respect to representing unsigned numbers and then two’s complement and fractional representations are reviewed. Both octal and hexadecimal representations are introduced. In all cases, conversion algorithms from binary to decimal and decimal to binary are covered. ASCII, Unicode, and string storage are introduced. The chapter shifts focus to Boolean operations and implementing binary arithmetic through Boolean operations. This includes a detailed examination of how binary addition is performed. The chapter concludes with error detection mechanisms of parity bits, parity bytes (RAID), checksums, and cyclic redundancy checks (CRC).