Please enable JavaScript.
Coggle requires JavaScript to display documents.
Chapter 3: Number and Character Coding System 4C 03 Chan Chloe 4C 24…
Chapter 3: Number and Character Coding System
4C 03 Chan Chloe
4C 24 Abbey Sin
3.1 Denary, Binary and Hexadecimal Number System
Denary
Common for daily life usage
Binary
For data representation in computers
Hexadecimal
Used between computers and programmers
3.2 Number System Conversion
Binary (2)
Hexadecimal (16)
Denary (10)
3.3 Number Representation in Computer
Bits
Basic unit of Data
Bytes
Consists of 8 bits
Word
word length can be 16, 32, 64 bits
Measurement units of Data
Bit (b)
Byte (B) - 8b
Kilobyte (KB) - 1024B
Megabyte (MB) - 1024 KB
Gigabyte (GB) - 1024 MB
Terabyte (TB) - 1024 GB
Two's complement
Left-most bit 0: positive
Left-most bit 1: negative
3.4 Addition and Subtraction of Different Number Representations
Overflow Error
Error occurs when result is out of range of the digit
3.5 Character Coding Systems
ASCII
American Standard Code for Information Interchange
Extended Binary-Coded Decimal Interchange Code(EBCDIC)
7 bits
Unicode
Represent all the existing languages in the world
Code points are variable in length
Chinese Character Coding Systems
Guo Biao(GB) code
Unicode
Big5 code