Chapter 3 Hardware
Chapter 3 Hardware
Hardware
Syllabus
Syllabus
Computer System
A general Computer system is a machine with capability of;
1. Data as Input/Output
• Input: “Taking some input from outside world using some input device like Keyboard/Mouse, scanner,
microphone, game controller, joystick”
Read more about input devices here: https://learnlearn.uk/alevelcs/input-devices/
• Output: “Displaying/presenting data into human understandable format on some output devices like display
Screens, Hardcopies obtained from printers/plotters, Speaker, Data transmission on NW etc.”
2. Storing Data:
• Storage Devices: “A part of the computer system which is used to store the information and instructions to be
processed. Like Cache, registers, primary Memory, Secondary Memory, buffers”
• Primary Storage: Stores critical Program instructions and data (RAM)
• Secondary Storage: Stores Non-critical Program instructions and data accessed rarely. (HD)
• Removable secondary storage usage??? *Backup / data transfer
3. Processing Data
Primary/main/R-W Storage
• RAM: “RAM is a type of very fast memory that is used
to temporarily hold data about currently running programs.” It is
volatile memory.
• Randomness??
Static RAM vs Dynamic RAM
SRAM (static RAM) is a type of random access memory (RAM) that retains data bits in its memory as
long as power is being supplied. Unlike dynamic RAM (DRAM), which must be continuously
refreshed
• DRAM • SRAM
• Requires continuous recharge/refresh to • Retains data as long as power is
retain data bits supplied( Volatile nature)
• More power needed • Less power consumption
• Expensive
• Inexpensive
• Less Space
• More Space
• Better performance (Fast access)
• Slower than SRAM
• Smaller size
• Bigger than SRAM
• Used in cache
• Used in main memory
*Cache memory is small amount of RAM located on the CPU itself. It
• Made of transistors using capacitors stores commonly used data that is being constantly used by the operating
system, allowing for even faster access than the RAM.
• Example: word processors which employ a buffer to trace all changes made to files and
on saving the file the word processor updates the disk file contents by copying the
contents of the buffer memory.
• Buffer is high speed data read/write
Operations of Hardware Devices
Printer:
“A hardware component to generate the hard /printable form of a
digital document/picture”
Laser Printer Inkjet Printer
Laser beam is used to transfer color particles from Ink head is used to transfer color droplets on page
color roller to page
2: When current is applied to the electromagnet, it is attracted are push off the
permanent magnet
3:This movement of coil causes diaphragm to vibrate, which causes vibrations in air and
Operations of Hardware Devices
• Magnetic hard disk
• Hard disk has platters whose surfaces are covered with a
magnetizable material.
• Platters are mounted on central spindle and rotated at high-speed
• Surface of platters divided into concentric tracks & sectors, where
data is encoded as magnetic patterns
• Each surface is accessed by read/write heads
• When writing, current variation in head causes magnetic field
variation on disk
• When reading, magnetic field variation from disk produces current
variation in read head
Operations of Hardware Devices
• solid state (flash) memory
• Most use NAND-based flash memory
• Consist of a grid of columns & rows that has 2 transistors at
each intersection
• Two transistors:
• Floating Gate: stores electros and the presence or absence of
charge (electrons) represents either 1 or 0
• Control Gate: controls charge (electrons) flow for read/write
Operations of Hardware Devices
• Optical disc reader/writer
• Disc surface has reflective metal layer and is spun
• Tracking mechanism moves laser assembly
• Lens focuses laser onto disc
• Laser beam shone onto disc to read/write
• Tracks have sequences of amorphous and crystalline states on the
metallic layer
• When reading, the reflected light from the different states on the track
are encoded as bit patterns
• When writing, laser changes surface to crystalline and amorphous
states along the track, which correspond to 1s or 0s.
Operations of Hardware Devices
• Touchscreen
Touch Screens are used for the interaction of user with the system as well as they act as display
devices.
• These are alternative of (mouse,
Resistive capacitive
keyboard and display unit)
Many layers of glass, that
• Very common use in smart phones, Consists of two charged plates
behaves like capacitor
tablet and laptops Pressure causes plates to touch, When touched, charge
• Touch screens are input/output devices. completing circuit transferred from finger
Two types of Touchscreen are; Point of contact registered with Point of touch is
1: Resistive 2:Capacitive coordinates used to calculate determined by
Working: layers of charged glass sheets position microprocessor
are overlayed on one another, on touching
the sheet circuit is completed and Inexpensive Medium cost
microprocessor calculates the coordinate Can be touched with Multi touch capability/with
point where the screen was touched finger/stylus/gloves/objects finger/stylus
Good screen visibility even
Poor screen visibility
in light
Virtual reality headset
Virtual headsets consist of 2 lenses, (LCD) display, circuit board
with sensors, cover and foam padding
The display provides a simulation of a 3D environment,
generated by a 3D graphics package
The user can ‘move’ in the virtual environment by moving their
head or using controllers
Monitoring and Control Systems
• Monitoring System
• Monitors some state external to computer system
• No changes made to environment by the system and hence no
feedback
• Control System
• Regulates the behaviour of other devices or systems.
• Event-driven system: the controller alters the state of the system in
response to some event.
• Time-driven system: the controller takes action at a specific point in
time
Hardware used;
• Sensor: measures an (analogue) property and transmits it to a processing unit,
generally as an electrical or optical signal.
• Actuators: switch on/off heavy appliances (e.g. heater to heat/fan to cool)
• ADC: Converts analogue signals to digital signals
• Transmission cable: Transfer signals
Feedback Systems
Truth Table:A truth table has one column for each input
variable (for example, P and Q), and one final column showing all of
the possible results of the logical operation