CAS CS 101 Lecture Notes - Lecture 3: Binary-Coded Decimal, Barcode, Nibble
Document Summary
In computing, things are always in binary, or powers of two(only two positions of switches: names of groupings b. i. 16 bits: two bytes: one word: other numbering systems (humans are bad with binary so we try to use other systems, octal a. i. We used it because some of the earliest computers (dec pdp-8) had word sizes of 12, 24 or 36 bits a. iii. Octal can be derived from binary by groups of 33 a. iv. It works well with alarm clock screens (those 8/0 letters have 7 parts: bcd (binary coded decimal b. i. Using the binary system but only allowing values 0 to 9 b. ii. An advantage is that you can encode two decimal digits in one byte (8 bits) b. iii. More common in electronics than computing: hexadecimal c. i. 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b, c, d, e, f c. iii. A lot easier to remember hex values than binary ones c. iv.