DATA REPRESENTATIONBinary Number SystemBitByteCharacterASCII
BINARY DIGITBit is smallest unit of data
3Binary Number System
4Binary Communication Between Hardware and Software
Step 1.The user presses the capital letter D (shift+D key) on the keyboard.Step 4.After processing, the binary code for the capital letter D is converted to an image, and displayed on the output device.How is a letter converted to binary form and back?Step 2.An electronic signal for the capital letter D is sent to the system unit.Step 3.The signal for the capital letter D is converted to its ASCII binary code (01000100) and is stored in memory for processing.
BITBIT stands for Binary DigitIt is the smallest size of computer data storageIt can either store a binary “0” or a “1”01ORTherefore a BIT can have 2 different values or combinations.
Byte  – a group of 8 bits. Therefore, a byte can represent up to 28=256 values.The values can range from 0 to 255 or from -128 to 127.The fundamental data unit of a computer.????????
Data Representation 2 Presentation Unit 2Slide 8BYTEThe 256 possible combinations are shown below:
Data Representation9Bytes as unsigned integersBase 2 number using positional notation00100011128    64   32    16    8     4    2   1mostsignificantbitleastsignificantbitValue is 32 + 2 + 1 = 3310
CHARACTER8 bits = 1 byte = 1 character (like ‘A’)One byte represent one character such as A, 7, 9 and @For example the 01000110 represented a letter “F”01000110=F
ASCII
Example ‘a’ = 11000012
============Binary010010000110010101101100011011000110111100101100001000000111011101100111011100100110110001100100Decimal721011081081114432119103114108100Hello,world============Note: 12 characters – requires 12 bytesEach character requires 1 byte“Hello, world” Example
DATA MEASUREMENT1 KB = 210 bytes  = 1024 1 MB = 220 bytes  = 1048576 byte1 GB = 230 bytes  = 10737418241 TB = 240 bytes  =1099511627776
CLOCK SPEED MEASUREMENT“SPEED” means how fast it can process dataEvery processor contains a system clock. The system clock control the speed of all operations within a computer.The clock speed unit is measured in Hertz.A Hertz is one cycle per second.
UNIT OF SPEED

Data representation