Mcgraw-Hill Technology Education Mcgraw-Hill Technology Education
Mcgraw-Hill Technology Education Mcgraw-Hill Technology Education
McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved.
Chapter 5A-B
McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved.
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
– 5th century
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
– By Gottfried Leibniz in 1689
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
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
Segments of a CPU:
– Control unit
• Controls resources in computer
• Instruction set
– Arithmetic Logic unit (ALU)
• Includes Registers (High Speed Memory
Location built in CPU)
• Arithmetic Unit:
– Simple math operations (+, -, ×, ÷, ^)
• Logic Unit: (=, ≠, >, ≥, < , ≤, etc.)
Affecting Processing Speed
• Registers
– Number of bits processor can handle
– High Speed Memory Location built in CPU
– Word size
– Larger indicates more powerful computer
– Increase by purchasing new CPU
– 32 bit / 64 bit
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;
location depends on the CPU &
Motherboard type
– L1 holds recently used data (in CPU)
– L2 holds upcoming data (in CPU)
– L3 holds possible upcoming data (in
Motherboard)
Affecting Processing Speed
• Virtual RAM
– Computer is out of actual RAM
– Using Hard Disk space for RAM purpose
– File that emulates RAM
– Computer swaps data to virtual RAM
• Least recently used data is moved
• Virtual memory in Windows 10:
– Right click on windows icon > system > system info >
Advanced System Settings > Performance Settings >
Advanced
Affecting Processing Speed
• The bus
– Electronic pathway between components
– Expansion bus connects to peripherals
– System bus connects CPU and RAM
– Bus width is measured in bits
– Speed is tied to the clock
Affecting Processing Speed
• External bus standards
– Industry Standard Architecture (ISA)
– Peripheral control interface (PCI)
– Accelerated graphics port (AGP)
– Universal serial bus (USB)
– PC Card
Affecting Processing Speed
• Universal Serial Bus (USB)
– Connects external devices
– Hot swappable
– Allows up to 127 devices
– Cameras, printers, and scanners
Microcomputer Processors
• IBM
– Historically manufactured mainframes
– Partnered with Apple to develop G5
• First consumer 64 bit chip
Microcomputer Processors
• Intel
– Leading manufacturer of processors
– Intel 4004 was worlds first microprocessor
– IBM PC powered by Intel 8086
– Current processors
• Xeon
• Core i9, i7, i5, i3
• Pentium
Microcomputer Processors
• Advanced Micro Devices (AMD)
– Main competitor to Intel
– Originally produced budget products
– Current products outperform Intel
– Current processors
• Ryzen
• Opteron
• FX
• Athlon
Comparison
End of Chapter
McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved.