Docsity

Computer hardware fundamentals for beginners, Lecture notes of Computer Fundamentals

Toggle sidebar
bg1
1
Topic 3 - Computer Hardware
Computer hardware is any physical component of the computer. Since there are many
components, we shall break them down into the following groups:
a) CPU, memory (RAM, ROM, cache)
b) Storage devices (HDD, SSD, optical disks, flash drives)
c) Peripheral devices (printers, scanners, monitors)
d) Emerging technologies (IoT devices, wearable tech)
A) CPU and Memory
1. Central Processing Unit (CPU)
The Central Processing Unit (CPU) is the "brain" of the
computer, responsible for carrying out instructions of a
program by performing basic arithmetic, logic, control,
and input/output operations. It interprets commands from
hardware and software, processes them, and directs other
components of the computer system.
The CPU has three major components:
Arithmetic Logic Unit (ALU): Performs mathematical calculations (addition,
subtraction, multiplication, division) and logical operations (AND, OR, NOT,
comparisons).
Control Unit (CU): Directs the flow of data and instructions between the CPU and
other parts of the computer, ensuring tasks are executed in the correct order.
Registers: Small, high-speed storage units inside the CPU that hold temporary data or
instructions for quick access.
Example: When typing a document in Microsoft Word, the CPU processes each keystroke,
updates the screen display, and saves the content in memory.
2. Memory in Computers
Memory refers to the storage space
where the computer holds data,
instructions, and information
temporarily or permanently.
Memory is essential because it
allows the CPU to access and
manipulate data quickly. The major
types of memory include RAM,
ROM, and Cache Memory.
a) Random Access Memory (RAM)
pf3
pf4
pf5
pf8
pf9

Partial preview of the text

Download Computer hardware fundamentals for beginners and more Lecture notes Computer Fundamentals in PDF only on Docsity!

Topic 3 - Computer Hardware Computer hardware is any physical component of the computer. Since there are many components, we shall break them down into the following groups:

a) CPU, memory (RAM, ROM, cache) b) Storage devices (HDD, SSD, optical disks, flash drives) c) Peripheral devices (printers, scanners, monitors) d) Emerging technologies (IoT devices, wearable tech)

A) CPU and Memory

1. Central Processing Unit (CPU)

The Central Processing Unit (CPU) is the "brain" of the computer, responsible for carrying out instructions of a program by performing basic arithmetic, logic, control, and input/output operations. It interprets commands from hardware and software, processes them, and directs other components of the computer system.

The CPU has three major components:

Arithmetic Logic Unit (ALU): Performs mathematical calculations (addition, subtraction, multiplication, division) and logical operations (AND, OR, NOT, comparisons).

Control Unit (CU): Directs the flow of data and instructions between the CPU and other parts of the computer, ensuring tasks are executed in the correct order.

Registers: Small, high-speed storage units inside the CPU that hold temporary data or instructions for quick access.

Example: When typing a document in Microsoft Word, the CPU processes each keystroke, updates the screen display, and saves the content in memory.

2. Memory in Computers

Memory refers to the storage space where the computer holds data, instructions, and information temporarily or permanently. Memory is essential because it allows the CPU to access and manipulate data quickly. The major types of memory include RAM, ROM, and Cache Memory.

a) Random Access Memory (RAM)

RAM is the primary memory of a computer, often referred to as the computer’s “working

memory.” It is volatile , meaning all data is lost when the power is turned off. RAM allows

data and programs currently in use to be quickly accessed by the CPU.

Static RAM (SRAM): Faster, more expensive, and used mainly in cache memory.

Dynamic RAM (DRAM): Cheaper, slower, and used as the main system memory.

Example: When editing a photo, the image file is loaded into RAM for quick access. Once

you close the program or turn off the computer without saving, the unsaved work is lost.

b) Read-Only Memory (ROM)

ROM is non-volatile memory , meaning it retains its contents even when the computer is

turned off. It stores firmware – permanent instructions used by the computer during the booting

process. Unlike RAM, data in ROM cannot be easily modified or erased.

PROM (Programmable ROM): Can be programmed once by the user.

EPROM (Erasable PROM): Can be erased using UV light and reprogrammed.

EEPROM (Electrically Erasable PROM): Can be erased and reprogrammed electrically.

Example: When you turn on a computer, the BIOS (stored in ROM) performs hardware checks

and starts the operating system.

c) Cache Memory

Cache memory is a small, high-speed type of volatile memory located inside or very close to

the CPU. Its purpose is to store frequently used instructions and data , reducing the time the

CPU needs to access information from slower main memory (RAM).

There are different levels of cache :

L1 Cache: Built directly into the CPU, extremely fast but small in size.

L2 Cache: Located near the CPU, larger but slightly slower.

L3 Cache: Shared among CPU cores in multi-core processors.

Example: When repeatedly performing calculations in a spreadsheet, the CPU stores frequently

accessed data in cache, so results appear much faster.

An SSD is a modern storage device that uses flash memory chips instead of spinning disks.

With no moving parts, SSDs are much faster, more durable, and energy-efficient compared to

HDDs. Data is stored in interconnected memory cells and can be accessed almost instantly.

Advantages: High speed (faster boot times and application loading), durable, low power usage.

Disadvantages: More expensive per gigabyte compared to HDDs, limited write cycles (though newer models are highly reliable).

Example: A laptop with a 512GB SSD can boot the operating system in seconds and open

applications like Photoshop or MS Word much faster than an HDD-based laptop.

3. Optical Disks

Optical disks are circular storage media that use laser technology to read and write data.

Common types include CDs (Compact Discs), DVDs (Digital Versatile Discs), and Blu-ray

Discs. Data is stored as pits and lands on the disk surface, which are read by a laser beam in

the optical drive.

CD (Compact Disc): Stores up to 700 MB of data.

DVD: Stores 4.7 GB (single-layer) to 8.5 GB (dual-layer).

Blu-ray Disc: Stores up to 25 GB (single-layer) or 50 GB (dual-layer).

Advantages: Portable, inexpensive, useful for distributing media and software.

Disadvantages: Slower compared to HDDs and SSDs, easily scratched or damaged, declining use due to cloud storage and flash drives.

Example: Movies are often distributed on Blu-ray discs for high-definition quality, while older

music albums were distributed on CDs.

4. Flash Drives

A flash drive is a small, portable storage device that uses flash memory and connects to computers through a USB port. They are widely used for transferring files between devices. Unlike optical disks, flash drives are rewritable and reusable.

Advantages: Portable, durable, reusable, plug-and-play, no moving parts.

Disadvantages: Limited storage compared to HDD/SSD, can be easily lost due to small size,

vulnerable to malware when shared.

Example: Students often use 16GB or 32GB USB flash drives to store assignments, presentations, and multimedia files for quick transfer.

Comparison and Use Cases

HDDs are best for large storage at low cost (e.g., desktop PCs, servers).

SSDs are best for speed and durability (e.g., laptops, gaming PCs).

Optical Disks are useful for media distribution (e.g., movies, games, software).

Flash Drives are best for portability and file sharing.

Storage Devices

├── Magnetic Storage → Hard Disk Drive (HDD)

├── Solid-State Storage → Solid State Drive (SSD), Flash Drives

└── Optical Storage → CDs, DVDs, Blu-ray Discs

C) Peripheral Devices

Peripheral devices are external hardware components connected to a computer system to either input, output, or perform both input-output functions. Unlike internal components such as the CPU or memory, peripherals expand the functionality of the computer. Common examples include printers, scanners, and monitors, each serving a unique role in how users interact with digital systems.

1. Printers

A printer is an output device that produces a hard copy (printed version) of digital documents, images, or graphics stored on a computer. Printers are commonly used in offices, schools, and homes for generating reports, assignments, invoices, and photographs.

Types of Printers:

Inkjet Printers: Spray tiny droplets of liquid ink directly onto paper. They produce high-quality prints with vivid colours, making them suitable for photos and graphics.

Laser Printers: Use a laser beam and toner powder to generate high-speed, high- volume prints with sharp text. Common in businesses and institutions.

Dot Matrix Printers: Use pins striking an ink ribbon to form characters. Though noisy and low-resolution, they are still used in industries for printing receipts and multipart forms.

OLED (Organic LED): High-end displays with deep color contrast, used in gaming and professional design.

Touchscreen Monitors: Allow both input and output by detecting touch gestures.

Example: A Dell 24-inch LED Monitor is widely used in offices for general computing, while OLED monitors like those by LG are favored by graphic designers and gamers for high visual accuracy.

Comparison of the Three Devices

Printers : Convert digital data into physical output (hardcopy).

Scanners : Convert physical documents into digital format (softcopy).

Monitors : Display digital information visually to the user in real-time.

Peripheral Devices

├── Input Devices → Scanners

├── Output Devices → Printers, Monitors

└── Input/Output Devices → Touchscreens, External Drives

D) Emerging Technologies

Technology is constantly evolving, and new innovations are reshaping the way humans interact with computers and the digital world. Among the most influential emerging technologies are the Internet of Things (IoT) and Wearable Technology , both of which extend computing power beyond traditional devices into everyday life. These technologies aim to enhance connectivity, efficiency, and human well-being by embedding smart capabilities into objects and personal accessories.

1. Internet of Things (IoT) Devices

The Internet of Things (IoT) refers to the network of physical objects (“things”) embedded with sensors, software, and connectivity that enable them to collect and exchange data over the internet. IoT devices can communicate with each other and with central systems, allowing automation, monitoring, and decision-making in real time.

IoT works through three core elements:

Sensors/Actuators – collect data from the environment (e.g., temperature sensors, motion detectors).

Connectivity – transmits the data (via Wi-Fi, Bluetooth, 4G/5G, or ZigBee).

Data Processing/Cloud Computing – analyzes and converts raw data into useful insights.

Examples of IoT Devices:

Smart Home Devices: Smart thermostats (Nest), smart lighting (Philips Hue), and smart speakers (Amazon Echo) enable automation in households.

Smart Agriculture: IoT soil sensors and weather monitors help farmers optimize irrigation and crop yields.

Smart Healthcare: IoT-enabled medical devices such as heart monitors or glucose meters allow doctors to track patients remotely.

Industrial IoT (IIoT): In factories, sensors on machines predict maintenance needs, reducing downtime.

Use Case Example: A smart refrigerator connected to Wi-Fi can monitor food stock, send

alerts about expiration dates, and even suggest recipes or order groceries online automatically.

2. Wearable Technology

Wearable technology refers to electronic devices designed to be worn on the body as

accessories or clothing, offering functionality beyond traditional fashion. These devices

typically integrate sensors, connectivity, and real-time data processing to support health, communication, and lifestyle applications.

Types and Examples of Wearables:

Smartwatches: Devices like the Apple Watch or Samsung Galaxy Watch monitor fitness metrics (heart rate, steps, sleep) and allow messaging, calls, and payments.

Fitness Trackers: Bands such as Fitbit or Xiaomi Mi Band track exercise activity, calories burned, and sleep quality.

Medical Wearables: Insulin pumps, ECG monitors, and wearable patches help patients manage chronic diseases.

Smart Glasses: Google Glass and Microsoft HoloLens provide augmented reality (AR) for industries, education, and gaming.

Smart Clothing: Jackets with heating elements (Levi’s x Google Jacquard) or shoes with sensors that track running performance.

Use Case Example: A Fitbit Charge 5 helps users track their daily steps, monitor heart rate

during workouts, and even alert them of irregularities such as atrial fibrillation—contributing to preventive healthcare.

Diagram – IoT and Wearables Relationship

Emerging Technologies