Computer and Its Components
Computer and Its Components
Chapter No.1.
Computer And Its Components
Computer
A computer is an electronic device designed to process data and perform a variety of tasks based on a set of
instructions called programs.
Components :
It consists of two components: hardware
Components
of Computer
software
1. Hardware:
- **Central Processing Unit (CPU):** The brain of the computer that performs calculations and executes
instructions.
- **Memory (RAM):** Temporary storage for data and instructions currently in use.
- **Storage:** Long-term data storage devices like hard drives (HDD) and solid-state drives (SSD).
- **Input Devices:** Tools used to input data into a computer, such as a keyboard and mouse.
- **Output Devices:** Tools that output data from a computer, such as monitors and printers.
2. Software:
_System software
Operating System (OS):Manages hardware resources and provides a user interface (e.g., Windows, mac
OS, Linux).
- Applications software :
Programs designed to perform specific tasks (e.g., word processors, web browsers).
Types of Computers:
Computers can be classified into various types;
_laptops
Introduction To Computing Applications
_ tablets
_servers
_super computers
Input Devices:
Input devices are hardware components used to provide data and control signals to a computer system. They
allow users to interact with the computer and enter information for processing.
1. **Keyboard**
- **Description**: A device with keys for typing text, numbers, and special characters.
2. **Mouse**
- **Use**: Navigating the graphical user interface (GUI), selecting objects, executing commands.
3. **Touchscreen**
- **Description**: A display screen that also serves as an input device by responding to touch.
- **Use**: Direct interaction with the display, common in smartphones, tablets, and some laptops.
4. **Scanner**
- **Description**: A device that captures images, text, or objects and converts them into digital format.
5. **Microphone**
6. **Webcam**
Introduction To Computing Applications
- **Description**: A camera that captures video input.
7. **Game Controller**
- **Description**: A device used to control video games, including gamepads, joysticks, and steering
wheels.
8. **Graphics Tablet**
- **Description**: A device that allows users to draw on a flat surface and have their drawings appear on
the computer screen.
9. **Biometric Devices**
- **Description**: Devices that capture biometric data such as fingerprints, facial recognition, or iris
scans.
Output Devices:
Output devices are hardware components that convey information from a computer system to the user or
another device. They present processed data in a human-readable or machine-readable form.
1. **Monitor**
- **Description**: A display screen that presents visual output from the computer.
- **Use**: Viewing text, images, videos, and the graphical user interface.
2. **Printer**
4. **Headphones**
5. **Projector**
- **Description**: A device that projects visual output onto a larger surface, such as a screen or wall.
6. **Plotter**
- **Description**: A device that produces large-scale graphics or designs, often used in engineering and
architecture.
7. **Braille Reader**
- **Description**: A device that converts digital text into braille, allowing visually impaired users to read
via touch.
8. **VR Headset**
Some devices function as both input and output devices, allowing for interactive and bidirectional
communication.
Introduction To Computing Applications
1. **Touchscreen**
- **Description**: Acts as both an input device (touch interaction) and output device (display).
3. **Multifunction Printers**
- **Description**: Devices that combine printing, scanning, copying, and sometimes faxing.
Note: Understanding input and output devices is essential for effectively interacting with and utilizing
computer systems.
1. **Functions of a CPU**
- **Instruction Fetching**: The CPU retrieves instructions from the computer’s memory. These
instructions are part of the software applications running on the computer.
- **Instruction Decoding**: Once an instruction is fetched, the CPU decodes it to understand what action
is required. This step involves translating the instruction into a series of signals that can be executed by
the CPU’s components.
- **Instruction Execution**: The decoded instructions are then executed. This could involve performing
arithmetic operations, moving data from one location to another, or controlling other parts of the
computer.
Introduction To Computing Applications
- **Data Storage and Retrieval**: The CPU temporarily stores data in registers, which are small, fast
storage locations within the CPU. It also interacts with the main memory (RAM) to read and write data as
needed.
- **Control Unit Operations**: The CPU’s control unit coordinates the actions of the CPU and other
components of the computer. It manages the flow of data and instructions, ensuring that all parts of the
system work together efficiently.
- **Arithmetic and Logic Operations**: The Arithmetic Logic Unit (ALU) within the CPU performs
mathematical calculations and logical operations, such as addition, subtraction, AND, OR, and NOT
operations.
2. **Types of CPUs**
- **Single-Core CPUs**:
- **Description**: These CPUs have a single processing core that can handle one task at a time. They
were common in earlier computers.
- **Usage**: Single-core CPUs are less common today but may still be found in some very basic or older
devices.
- **Multi-Core CPUs**:
- **Description**: Multi-core CPUs contain two or more cores on a single chip. Each core can
independently execute instructions, allowing the CPU to handle multiple tasks simultaneously (parallel
processing).
- **Usage**: These are common in modern computers, smartphones, and tablets, improving performance
for multitasking and complex applications.
- **Hyper-Threading CPUs**:
- **Description**: Hyper-threading is a technology that allows a single CPU core to handle two threads
simultaneously, effectively allowing the CPU to perform more tasks at once.
- **Description**: RISC processors use a small set of simple instructions that can be executed very
quickly.
- **Usage**: Common in mobile devices, embedded systems, and some servers. ARM processors, used in
most smartphones, are based on RISC architecture.
- **Description**: CISC processors use a larger set of more complex instructions, which can
accomplish more in a single command.
- **Usage**: Common in personal computers and laptops. Intel and AMD x86 processors are based on
CISC architecture.
- **Integrated CPUs**:
- **Description**: These CPUs have the graphics processing unit (GPU) integrated into the same chip,
sharing resources like memory.
- **Usage**: Common in laptops, tablets, and budget desktops, where power efficiency and cost are
important.
- **Discrete CPUs**:
- **Description**: Discrete CPUs do not have an integrated GPU, so they are used in systems with
separate, dedicated graphics cards.
- **Usage**: Common in high-performance gaming PCs, workstations, and servers, where graphics
and processing power are paramount.
- **Server CPUs**:
- **Description**: Designed for use in servers, these CPUs are optimized for handling multiple tasks,
virtual machines, and heavy workloads simultaneously.
- **Mobile CPUs**:
- **Description**: Mobile CPUs are designed for power efficiency, balancing performance with battery
life in mobile devices such as smartphones and tablets.
- **Description**: These are customizable processors that can be programmed after manufacturing to
perform specific tasks.
- **Description**: DSPs are specialized for processing real-time signals, such as audio, video, and
communications data.
- **Heterogeneous Computing**: This involves using a combination of different types of processors (e.g.,
CPUs, GPUs, FPGAs) to optimize performance for specific tasks. It’s common in high-performance
computing and machine learning.
- **Power Efficiency**: Modern CPUs, especially those in mobile devices, focus on reducing power
consumption while maintaining performance, using technologies like dynamic voltage and frequency
scaling.
The CPU’s type and architecture significantly influence a computer’s performance, capabilities, and
suitability for different tasks.
Memory:
memory refers to the hardware component that stores data temporarily or permanently.
Types of Memory:
There are two main types of memory:
Introduction To Computing Applications
1. **Primary Memory (RAM):**
- **RAM (Random Access Memory):** This is volatile memory, meaning it loses its content when the
computer is turned off. RAM is used by the system to store data and instructions that are currently being
processed by the CPU.
- **ROM (Read-Only Memory):** This is non-volatile memory, meaning it retains its contents even when
the computer is turned off. ROM stores essential programs, like the BIOS, which are required for the
computer to boot up.
- **External Storage:** Includes USB drives, external hard drives, and cloud storage.
**Cache Memory:** This is a small amount of faster memory located inside or very close to the CPU. It
stores copies of frequently accessed data to speed up processing.
Functions of memory;
_Memory plays a critical role in a computer's performance.