M1-R5.1 · Unit 1 · Introduction to Computer

Basics of Hardware & Software

Everything you physically touch is hardware; everything that runs on it is software — master the fundamental building blocks of every computer system.

1. What is Hardware?

The term Hardware refers to the physical, tangible components of a computer system. Anything related to a computer that you can touch, see, and feel is hardware. These are the electronic, electrical, magnetic, and mechanical components that are manufactured in factories to form a functional machine.

Without hardware, there would be no physical device for software to execute upon. Because hardware components are physical devices, they undergo wear and tear over time and can eventually fail or break. Hardware components can generally be divided into two main categories: Internal Hardware and External Hardware.

Think of hardware as the body of a human being. It has a physical presence but requires instructions (the brain/mind) to function intelligently.

2. Internal Hardware Components

Internal hardware components reside inside the computer's casing (or cabinet) and form the core functioning units of the system. These are crucial for processing, memory management, and power distribution.

Essential Internal Components
  • CPU (Central Processing Unit): Often called the brain of the computer, it executes instructions, performs calculations, and manages all operations.
  • Motherboard: The main printed circuit board (PCB) that acts as a backbone, allowing all internal and external components to connect and communicate.
  • RAM (Random Access Memory): Temporary, volatile memory used by the CPU to store data and instructions for active programs. Loses data when powered off.
  • ROM (Read-Only Memory): Non-volatile memory containing permanent firmware (like BIOS/UEFI) required to boot up the computer.
  • Hard Disk Drive (HDD) / Solid State Drive (SSD): The main non-volatile storage devices for saving the operating system, software, and user files permanently.
  • GPU (Graphics Processing Unit): A specialized processor designed to accelerate graphics rendering and output display signals to a monitor.
  • PSU (Power Supply Unit): Converts standard AC power from a wall outlet into the stable DC power required by internal components.
  • Cooling System: Heat sinks, fans, and sometimes liquid cooling mechanisms to prevent the CPU and GPU from overheating.

3. External Hardware (Peripherals)

External hardware components, also known as peripherals, are devices that connect to the outside of the computer casing. They expand the computer's capabilities and allow users to interact with it.

Input Peripherals
Devices that send data into the computer. (e.g., Keyboard, Mouse, Scanner, Webcam, Microphone, Joystick)
Output Peripherals
Devices that display or reproduce data from the computer. (e.g., Monitor, Printer, Speakers, Projector)
Storage Peripherals
External drives used to carry or backup data. (e.g., Pen Drive, External HDD/SSD, CD/DVD)
Communication Devices
Hardware enabling network access. (e.g., Modem, Router, Network Card, USB WiFi Adapter)

4. What is Software?

Software represents the intangible part of a computer system. It is defined as a set of instructions, data, or programs used to operate computers and execute specific tasks. Software tells the physical hardware exactly what to do and how to do it.

Unlike hardware, software cannot be physically touched or seen as a physical object. It is written by programmers using programming languages and stored as digital files. When a user runs a software application, it is loaded from secondary storage (like an HDD/SSD) into primary memory (RAM), where the CPU executes its instructions.

5. Types of Software

Software is broadly categorized based on its function and its proximity to hardware operations.

Category Description Examples
System Software Designed to run the computer's hardware and provide a platform for applications to run. It acts as an interface between the user and the hardware. Operating Systems (Windows, Linux, Android), Device Drivers, BIOS/UEFI, Language Translators (Compilers, Interpreters, Assemblers).
Application Software Programs designed to perform specific tasks for the end-user. These sit on top of system software. MS Word, Google Chrome, VLC Media Player, Tally, Video Games, WhatsApp.
Utility Software A sub-category of system software that helps maintain, configure, optimize, or analyze a computer. Antivirus software, Disk Cleanup tools, Backup utilities, File compressors (WinZip/WinRAR), Disk Defragmenters.

6. Differences: Hardware vs Software

Feature Hardware Software
Nature Physical and tangible (can be touched). Intangible and virtual (cannot be touched).
Creation Manufactured in factories using physical materials. Developed and engineered by programmers writing code.
Durability Wears out over time and can be physically damaged. Does not wear out, but can become outdated or have bugs.
Replacement Requires physical replacement when broken. Can be reinstalled, copied, or updated digitally.
Infection Cannot be infected by computer viruses. Can be infected, corrupted, or altered by malware/viruses.
Dependency Hardware cannot function without software instructions. Software cannot execute without hardware processing it.
Modifiability Permanent configuration; difficult to change fundamentally. Easily changeable, updatable, and customizable.
Examples Keyboard, CPU, RAM, Hard Disk, Monitor. Windows 11, MS Office, Chrome, Python Compiler.

7. Relationship between Hardware and Software

The relationship between hardware and software is mutually dependent; neither is useful without the other. Hardware provides the physical capacity and power, while software dictates the intelligence and logic.

  • Firmware: This is a special type of software embedded directly into hardware components (like ROM). It contains the low-level instructions required for a device to operate, such as the BIOS on a motherboard.
  • Device Drivers: Hardware needs specialized system software called "drivers" to communicate with the Operating System. For example, a printer requires a printer driver to translate digital OS commands into mechanical printing actions.
  • API (Application Programming Interface): Application software doesn't talk directly to hardware. It talks to an API provided by the Operating System, which in turn manages the hardware resources safely.

8. IT Gadgets and Their Hardware

Modern computing is not limited to traditional desktops. Today's IT gadgets miniaturize hardware into portable forms, powered by specific mobile software.

  • Smartphones: Contain miniaturized hardware like an ARM-based SoC (System on Chip processor), touch-sensitive screen, lithium-ion battery, camera modules, and GPS sensors. Powered by mobile OS software like Android or iOS.
  • Tablets: Functionally similar to smartphones but with larger displays and batteries, offering a bridge between phone portability and laptop productivity.
  • Smartwatches: Wearable computing hardware focusing on sensors (heart rate, accelerometer), tiny OLED displays, and small batteries, running on platforms like WearOS.
  • Laptops vs Desktops: Desktops use larger, modular hardware (full-size PSU, large motherboards), allowing easy upgrades. Laptops use compact, integrated hardware (built-in keyboard, trackpad, battery) prioritized for portability over upgradeability.

9. Key Exam Points

  • Hardware is the physical machine; software is the instructions that run on it.
  • System Software is required to run the computer, while Application Software is installed according to user needs.
  • Firmware acts as a bridge between hardware and software, being essentially software written into non-volatile hardware memory (like ROM).
  • Input, output, and storage devices connected externally are termed peripherals.
  • A computer requires both hardware and system software to successfully complete its boot process.