Data Representation
Data Representation
BYTE
8 bits Store one alphanumeric character
WORD
Size of the register Number of BITS that the CPU processes as a unit
Coding Schemes
ASCII
Uses one 8 bit byte 28 = 256 possible combinations or characters Virtually all PCs and many larger computers
EBCDIC
Uses one 8 bit byte 28 =256 possible combinations or characters Used primarily on IBM-compatible mainframes
Unicode
Uses two 8 bit bytes (16 bits) 216 = 65,536 possible combinations or characters Supports characters for all the worlds languages Downward-compatible with ASCII
Number Systems
In any number system there is an ordered set of symbols known as digit with rules defined for performing arithmetic operations like addition, multiplication etc. A collection of these digits makes a number which in general has two parts 1. Integer part 2. Fractional part These two parts are separated by a point (.).
Their characteristics
Use of subscripts
In the following notes, different subscripts may be used to indicate the number For example