Computer Component
Computer Component
Computer Component
1. & 2. PS/2 (mouse,
3. RJ-45 Ethernet 4. USB 5. Serial (terminal, modem)
keyboard)
6. parallel (printer) 7. VGA (monitor) 8. DA-15 (old networking) 9. audio
Some Older External Ports
• PS/2
PS/2 ports were for connecting peripherals such as your mouse (1 above) and keyboard (2 above) to the computer,
but are now outdated. PS/2 based mice and keyboards have now been replaced by USB ports as the popular
standard. This trend for USB over PS/2 started in circa 2004.
• Serial
PS/2 connector
An outdated piece of technology, serial ports (5 above) were most often used to connect the mouse and keyboard.
By circa 2000, most personal computers stopped relying on serial ports and were replaced by PS/2 and/or USB
ports.
Serial connector
• Parallel
Parallel ports (6 above) are used to connect other peripherals such as joysticks, and more commonly, printers.
Similar to the serial port, this technology is slowly being phased out in favor of USB. Parallel ports can still be found
in many motherboards today.
Technically known as the IEEE 1394 interface, but dubbed by Apple as Firewire (not shown above), this connection
medium hoped to surpass USB in terms of speed and popularity. While it did outperform USB v2 in speed tests,
uptake was very limited due to the existing widespread use of USB.
Firewire is the standard for high definition audio and video transfer and may be found on many digital camcorders.
Also known by the brand names i.LINK and Lynx.
SCSI connectors
DA-15
The DA-15 port shown (8 above) has been used for network connectivity and for video output.
Modern External Ports
• RJ-45 (Ethernet)
Wired Ethernet connection (3 above). Looks like a (bigger) telephone/modem jack. The cable itself is referred to by
its category (e.g. CAT 5) and basic type, UTP (Unshielded Twisted Pair).
Ethernet cable
• USB
USB (4 above), or Universal Serial Bus, is a connectivity specification, currently at version 3 (V3). They are very
common today, connecting flash drives and many peripherals. Modern desktop systems have should have 4-8 on the
back of the computer and at least two on the front.
USB is one of the most successful interconnect in computing history. V1 operates at 1.5 Mbps (low speed) or 12
Mbps (full speed), V2 (high speed) at 480 Mbps, and V3 (super speed) at up to 5Gbps. It can be found in over 2
billion PC and mobile devices. USB has strong consumer brand recognition and a reputation for ease-of-use.
USB connectors are sometimes used to supply power, generally to recharge hand-held devices like a smartphone.
USB Connector
Different USB connectors. From left to right: male Micro USB B-Type,
USB connector types proprietary (not USB), male Mini USB (5-pin) B-type, female A-type, male
A-type, male B-type. Shown with a centimeter ruler. Female A-type
connector (4th from left) is "upside down" to show the pins.
• HDMI
The High-Definition Multimedia Interface (HDMI) replaces most older analog media interfaces. It is available in
"mini" and "micro" on many portable devices, allowing those smaller screen devices to be displayed on a larger
screen, such as a TV.
Network card with both BNC "Thinnet" (left) and Ethernet RJ-45 (right) connectors
• What is a Computer Bus?
A computer bus carries data from one device to another. It's more like an electricity bus than the vehicle. In terms of
vehicles, the (computer) bus would be the road being traveled, with the vehicles on the road being the data.
Serial busses allow one vehicle at a time, while parallel busses support multiple vehicles. Modern serial busses are
faster because the data (vehicles) travel at a greater speed.
• Types of Computer Bus
There are a variety of buses found inside the computer.
I. Data Bus: The data bus allows data to travel back and forth between the microprocessor (CPU) and memory
(RAM).
II. Address Bus: The address bus carries information about the location of data in memory.
III. Control Bus : The control bus carries the control signals that make sure everything is flowing smoothly from
place to place.
IV. Expansion Bus: If your computer has expansion slots, there's an expansion bus. Messages and information
pass between your computer and the add-in boards you plug in over the expansion bus.
The speed at which buses conduct signals is measured in megahertz (Mhz). Typical PCs today run at speeds between
20 and 65Mhz. Also see CPU, Expansion Card, Memory, Motherboard, RAM, ROM, and System Unit.
• Microprocessor
A microprocessor incorporates the functions of a computer's central processing unit (CPU) on a single
integrated circuit (IC, or microchip). It is a multipurpose, programmable, clock-driven, register based electronic
device that accepts binary data as input, processes it according to instructions stored in its memory, and provides
results as output.
That concise description includes only one term we haven't covered and one fairly important concept. A register is
local, temporary storage. When the processor needs to add a couple of numbers, the numbers need to be stored
locally, as does the answer. They are stored in registers.
The clock acts a metronome that synchronizes (almost) all of the activity on a computer. The faster the clock ticks,
the faster things occur. This is a key specification when buying (or upgrading) a system. Clock speed is measured in
Hertz (cycles per second), so a bigger number is better. Current PC clocks run in the GHz (gigahertz or billions of
cycles per second) range, while hand-held devices tend to be in the MHz (megahertz or millions of cycles per
second) range.
Highway 401 with 9 lanes in one direction. More lanes, means more cars (bits, if you see the analogy) per unit time.
• Cache memory [src]
• Like RAM (to be discussed in more detail), cache memory is temporary, or volatile, memory. If the
processor is a doctor, and RAM is the big waiting room with everyone in it, then cache is like the
examining room that you still have to wait in before the doctor arrives.
• Cache briefly stores data that the processor will use soon. This is done so that while working the
computer does not have to always fetch instructions directly from RAM, speeding the process up. There
are three types of cache memory. They include level 1, level 2 and level 3. The first level cache is
called internal cache. L1 cache is part of the microprocessor chip itself. It's closest, so it is fastest, and
generally smallest (often 16-64 KB, though as much as 2 MB). Small is not necessarily bad here - your
doctor would not process patients faster with twice (or ten) times as many examining rooms.
• L1 cache was the first developed (thus the number), but didn't satisfy our need for the volume of data
that we needed to process quickly. So Level 2 cache was developed. It is external cache
(usually separate from the microprocessor), but has more memory (from 64 KB to 2MB). In the waiting
room analogy, RAM would be like a very large shared waiting room for multiple doctors. L2 cache would
be the smaller waiting room they ship you to for a specific doctor, while L1 is still the examining rooms.
• For speed, L2 cache is now sometimes also included on the processor chip. The final level L3, is on the
motherboard - kind of between the processor and RAM. Cache memory is searched in order for the
data being sought.
• Why don't we just use a really large cache? The bigger it is, the slower it is (generally). And it is more
expensive. The systems designers try to balance everything to give you good overall performance.
Generic dual core model
Medical supplies analogy for levels of memory
Speeding up Processing: Cache
• The CPU works much faster than RAM, so it often must wait for information
• Cache temporarily stores instructions and data that the processor uses frequently to speed up processing
• Level 1 cache is part of the microprocessor
• Holds 8 to 128 KB
• Faster than Level 2 cache
• Level 2 cache is external cache
• Holds 64 kb to 16 MB
• Level 3 cache is on the motherboard
• Comes on very high-end computers
• Holds 2 to 8 MB
• Moore's Law [src]
Moore's law describes a long-term trend in the history of computing hardware. The number of transistors
that can be placed inexpensively on an integrated circuit doubles approximately every two years. This trend
has continued for more than half a century but is now slowing because we are reaching the limits of
(current) technology.
Memory capacity and processor speed are directly related to the number of transistors and how far apart
they are. The key point you can get from this graph is the likely speed up you will get by replacing (or
upgrading) the CPU after a few years. Since most people don't upgrade the CPU, this adds to the argument
for replacing a system that is several years old.
Moore's Law
The Memory
• Memory
Two type of storage: primary and secondary.
• Primary storage = “memory,” “main memory,” “RAM”; this type of memory is temporary and
volatile.
• Secondary storage = hard disks and flash memory units; this type of memory is
relatively permanent and nonvolatile
• There are several type for memory chips such as :
• RAM = Random Access Memory chips
• Software instructions
• Data before & after the CPU processes it
• ROM = Read Only Memory
• Cannot be written on or erased without special equipment
• Are loaded at factory with fixed (permanent) start-up instructions (BIOS), that tell the computer how to load the
operating system
• CMOS = Complementary Metal Oxide Semiconductor
• Powered by a battery
• Contains time, date, calendar, boot password
• Flash
• Doesn’t require a battery
• Used in newer PCs for BIOS instructions
• Speed and Types of RAM (Primary storage )
Most computers use dynamic RAM (as opposed to the more expensive, but faster static RAM) for main memory in
the computer. Currently, computers tend to use DDR-1, DDR-2 or DDR-3 RAM chips. All are a type of synchronous
dynamic RAM (SDRAM) with each generation becoming progressively faster. Obviously, for the best performance,
you want DDR-3. All forms of RAM are fast compared to disk drives and other mass storage devices, outperforming
them by a factor of 1,000 times or more. (Solid State Drives are a special case discussed below.)
RAM chips are manufactured as circuit boards (dual in-line memory modules) that are slotted into the motherboard
Virtual memory solves these problems using a special (swap or page) file on the hard disk. Pieces (called a page)
of an application that is not currently being used can be moved temporarily to the swap file, making more room
available in physical RAM. When that part of the program is needed, it is taken from the swap file and placed back
into RAM, possibly displacing some other page from RAM. The two pages are said to have been "swapped".
This scheme allows the computer to pretend that it has much more RAM than it actually does, at a significant
performance cost. RAM is about 1,000 times faster than the hard disk, so the process of swapping pages slows the
system down. In the worst case, called thrashing, the computer is spending an inordinate amount of its time
simply moving pages back and forth from RAM to the swap file. The only practical remedy for this situation is to
add additional physical RAM – or quit using so many apps at the same time.
• Used to speed up processing.
• This type of memory is unused hard disk or optical (CD) space that the processor uses to extend the capacity of
RAM
• The processor goes first to L1 cache, then L2 cache, then RAM, then virtual memory.
• Flash
• Doesn’t require a battery
• Used in newer PCs for BIOS instructions
• UEFI
The Unified Extensible Firmware Interface (UEFI) is found on newer computers and is intended to
replace the Basic Input/Output System (BIOS) interface.
UEFI is designed to improve software interoperability and address limitations of BIOS. Some advantages
of UEFI firmware include:
Better security by helping to protect the pre-start-up – or pre-boot – process against bootkit attacks.
Support for modern, 64-bit firmware device drivers that the system can use to address more than 17.2 billion
gigabytes (GB) of memory during start-up.
Note that a newer computer which has UEFI uses a new partition style called GPT (GUID Partition Table)
on its storage device (Hard Drive etc) but can also use the older MBR (Master Boot Record) partition
style by selecting 'Legacy Mode' in the UEFI (CMOS setup page).
The Secondary Memory
(Secondary Storage)
• Hard Disk
Non-removable hard disk – Also known as a fixed disk; is housed in the microcomputer system unit and is
used to store nearly all programs and most data files. Usually consists of several metallic or glass platters,
from 1 to 5.25 inches (most commonly 3.5 inches) in diameter, stacked on a spindle, with data stored on both
sides.
External hard disk – Freestanding disk drive (portable); usually connected via USB.
Sign up with a vendor and receive access to software and applications that allow you to upload your data to that
company’s server