Transforming Data
Transforming Data
Into
Information
5A-1
How Computers Represent Data
• Number systems
– A manner of counting
– Several different number systems exist
• Decimal number system
– Used by humans to count
– Contains ten distinct digits
– Digits combine to make larger numbers
5A-2
How Computers Represent Data
• Binary number system
– Used by computers to count
– Two distinct digits, 0 and 1
– 0 and 1 combine to make numbers
5A-3
How Computers Represent Data
• Bits and bytes
– Binary numbers are made of bits
– Bit represents a switch
– A byte is 8 bits
– Byte represents one character
5A-4
How Computers Represent Data
• Text codes
– Converts letters into binary
– Standard codes necessary for data transfer
– ASCII (American Standard Code for Information Interchange)
• American English symbols
– Extended ASCII
• Graphics and other symbols
– Unicode
• All languages on the planet
ASCII
How Computers Process Data
• The CPU
– Central Processing Unit
– Brain of the computer
– Control unit
• Controls resources in computer
• Instruction set
– Arithmetic logic unit
• Simple math operations
• Registers
5A-7
Components affecting Speed
Affecting Processing Speed
• Cache memory
– Very fast memory
– Holds common or recently used data
– Speeds up computer processing
– Most computers have several caches
– L1 holds recently used data
– L2 holds upcoming data
– L3 holds possible upcoming data
5A-9
Modern CPUs
5A-21