0% found this document useful (0 votes)
12 views7 pages

Computer System Hardware and Memory Overview

Uploaded by

rshridiya
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views7 pages

Computer System Hardware and Memory Overview

Uploaded by

rshridiya
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Created by Turbolearn AI

Computer System Overview

Hardware
Hardware refers to the physical parts of a computer that can be touched.

Hardware components include:

Input Devices (e.g., Keyboard, Touch screen, Scanner)


Output Devices (e.g., Laser printer, Speakers, Plotter)
CPU
Memory

CPU – The Computer’s Brain


The CPU (Central Processing Unit):

Performs all 'thinking' and 'controlling' actions in processing.


Directs other computer parts.
Also called the microprocessor or processor.
Connects to other components via the system bus.
Consists of:
ALU (Arithmetic and Logic Unit)
Control Unit
Registers

ALU (Arithmetic Logic Unit)


The ALU performs computing functions:

Arithmetic operations: addition, subtraction, multiplication, division.


Logic operations: comparisons such as less than, greater than, or equal to.

Results are stored in registers, memory, or sent to output devices.

Registers

Page 1
Created by Turbolearn AI

Registers:

Temporarily store data during program execution.


Offer fast memory but are limited in size.

Common registers include:

MAR (Memory Address Register): Contains the address in main memory for
read/write operations.
MDR (Memory Data Register): Holds data fetched from or waiting to be stored
in memory.
IR (Instruction Register): Contains the instruction being executed.
PC (Program Counter): Contains the address of the next instruction to be
executed.
Accumulator: A register in which intermediate arithmetic and logic results are
stored.

Control Unit
The Control Unit:

Directs the entire computer system to execute stored program instructions.


Functions like a "police officer" directing traffic.

CPU instruction execution steps:

1. Fetches instructions from memory.


2. Decides the meaning of the instruction and directs data to the ALU.
3. ALU performs the operation on the data.
4. Result is stored in memory or a register.

Key terms:

Instruction time: Steps 1 and 2.


Execution time: Steps 3 and 4.
Machine cycle: Combination of instruction and execution time.

Memory

Page 2
Created by Turbolearn AI

Primary Memory
Primary Memory is also known as main or internal memory. It allows quick
access by the processor.

Consists of:

RAM (Random Access Memory)


ROM (Read-Only Memory)

Both RAM and ROM are referred to as Immediate Access Storage (IAS).

RAM (Random Access Memory)

RAM:

System memory or main memory.


Short-term memory that stores data temporarily.
Can be read from and written to.
Volatile: data disappears when power is off.
Capacity measured in MBs and GBs.

ROM (Read-Only Memory)

ROM:

Information stored remains fixed and cannot be changed.


Can only be read and used.
Contains start-up instructions (e.g., what to do when the computer is turned
on).
Non-volatile: content remains stored even when power is off.

RAM vs. ROM

Page 3
Created by Turbolearn AI

Feature RAM (Random Access Memory) ROM (Read Only Memory)

Data storage accessed randomly Data storage that stores hardwired


Definition
by the CPU. instructions for the computer to start.
Contents can be changed or
Alterations Cannot be altered or reprogrammed.
altered as required.
Allows the computer to read Stores the program required to boot or
Use
data quickly to run applications. reboot the computer.
Operations Reading and writing. Only reading.
Volatile. Contents are lost when Non-Volatile. Contents are retained
Volatility
the device is powered off. even when the device is powered off.
Size Larger than ROM. Smaller.
Speed Faster. Slower compared to RAM.

Types of RAM and ROM

RAM
SRAM (Static RAM): Retains data as long as power is supplied. Fast and
expensive, used for CPU cache.
DRAM (Dynamic RAM): Stores bits in cells consisting of a capacitor and a
transistor; requires periodic refreshing.
ROM
PROM (Programmable ROM): Can be written to once.
EPROM (Erasable PROM): Can be erased with ultraviolet light and reused.
EEPROM (Electrically Erasable PROM): Erased electrically.
Flash EPROM: Most recent type of EPROM, erased electrically, always in
plastic cases.

Cache & Registers


Registers:

Small, fast memory areas on the CPU, either dedicated or general purpose.

Cache:

Memory areas on the CPU used to store the next instructions to be executed.

Memory Hierarchy

Page 4
Created by Turbolearn AI

Memory hierarchy from fastest to slowest, smallest to largest, and most expensive to
least expensive:

1. Registers
2. Cache
3. RAM

Secondary Memory
Secondary memory has a large storage capacity and is permanent.

Examples:

Magnetic Tape
Magnetic Disk
Floppy Disks (Diskettes)
Hard Disk
Optical Disk (CD, DVD, BRD)
Memory Storage Devices (Pen Drive, Memory Card)

Storage Devices (Secondary Memory Devices)

Due to the limited and non-permanent nature of primary memory, secondary storage
devices are used to store large amounts of data permanently.

Page 5
Created by Turbolearn AI

Hard Disks: Use magnetic media to store information on spinning circular


platters.
Floppy Disks (Diskette): Old portable storage devices (up to 1.44MB) that are
now obsolete.
Compact Disks (CDs): Optical media with a storage capacity of up to 700 MB.
CDROM (CD – Read-Only Memory)
CD-R (CD – Recordable)
CD-RW (CD-Rewritable)
Digital Video/Versatile Disks (DVDs): Optical storage that can hold about 15
times as much information as CDs.
DVD – ROM (DVD – Read-Only Memory)
DVD – R (DVD – Recordable)
DVD - RW (DVD-Rewritable)
Pen/Thumb Drives – Flash Memories: Use flash memory, which is a solid-state
memory.
Blu-Ray Disc: Uses a blue laser and can store much more data.
Memory Stick: Removable memory card used in digital cameras, smartphones,
etc.
Cloud Storage: A mechanism, not a physical device, that backs up files to a
secure server over the Internet.

Primary vs. Secondary Memory

Feature Primary Storage Secondary Storage

Connection to Directly connected to the Not directly connected, accessed by the


CPU CPU. CPU.
Volatility Volatile (RAM). Non-volatile.
Access by CPU Direct access. Indirect access.
Data Access Faster data access. Slower data access.
Use For processing data. For storing data.
Size Small size. Large size.

The System Bus


The System Bus is an electronic pathway that connects the major components of a
computer system. It passes data and instructions among these components.

Page 6
Created by Turbolearn AI

Data bus: Carries data.


Control bus: Carries control instructions.
Address bus: Carries memory addresses.
I/O Bus: Connects input, output, and other external devices to the system.

Mobile System Organization


A mobile system is a portable computer in hand with a touch screen, call
management system, camera, memory, SIM card, battery, speaker, and processor.

Key aspects:

Processors have less power compared to computer systems.


Major components are often integrated on a single chip called System on a
Chip (SoC).
SoC chips consume less power.

Functional components:

1. Mobile Processors: The brain of a smartphone.


2. Display Subsystem: Provides display facilities.
3. Camera subsystem: Delivers image processing.
4. Mobile System memory: For data storage.
5. Storage: External or expandable storage.
6. Power management System: Supplies power.

A mobile system has the following components:

CPU: Handles instructions.


GPU: Assists the CPU to handle visuals.
Camera ISP: Provides and handles camera functions.
Radio & 3G/4G Modem: Receives and transmits voice connections and digital
signals.
Memory controller: Provides a direct link to memory.
Battery system: Supplies power.

Page 7

Common questions

Powered by AI

The memory hierarchy impacts a computer's cost and speed by organizing memory into levels based on speed, cost per byte, and size. Registers are the fastest and most expensive, followed by the slightly slower but less costly cache, then RAM as primary storage, and finally secondary storage which is the slowest and cheapest per byte. This hierarchical arrangement allows for optimization of cost and performance; critical and frequently accessed data is stored in more expensive, faster memory, while less frequently used data resides in cheaper, slower memory. This structure maximizes speed efficiency where needed, while minimizing cost by using slower, less expensive storage for infrequently accessed data .

RAM, being volatile memory, means its contents are lost when power is turned off. This affects computer performance and data retention in that it allows for fast access and manipulation of data needed for currently running applications, but it requires data to be saved to non-volatile storage to prevent loss. The implications are significant: while RAM enhances performance for active processes through quick read/write capabilities, it necessitates reliance on secondary storage for data retention and potential delays in accessing non-volatile memory during start-up or data retrieval from storage .

Secondary storage devices address primary memory limitations by providing larger, non-volatile storage solutions that retain data long-term, even when power is off. While primary memory like RAM is faster and supports active processing, its volatility and limited size mean that it cannot retain data once the device is powered off or when data exceeds its capacity. Secondary storage devices such as hard disks and SSDs store vast amounts of data permanently, enabling retrieval and use when necessary without requiring constant power, thus allowing primary memory to focus on active tasks while ensuring comprehensive data retention .

ROM and RAM serve complementary roles in computing systems by providing both permanent and volatile storage solutions. ROM is typically used for firmware and essential system instructions that must persist even when the power is off, such as boot processes and hardware interfaces. This static nature ensures that key operations are always available upon system start-up. RAM, conversely, is volatile and provides dynamic storage for data and applications currently in use for execution, allowing for high-speed read and write operations vital for active processing. Together, they allow systems to maintain critical functions and optimize performance, with ROM providing stability and RAM offering flexibility and speed .

The CPU, also known as the brain of the computer system, performs all processing and controlling actions. It executes instructions by fetching them from memory, processing them through its components like the ALU and registers, and then directing data via the control unit. The System Bus complements the CPU by acting as an electronic pathway that connects the CPU with other major components, facilitating the fast exchange of data, instructions, and addresses. Specifically, the data bus transfers actual data, while the control bus handles control instructions, and the address bus manages memory addresses. This seamless collaboration allows a computer to efficiently execute complex operations by ensuring rapid communication between the CPU and other parts of the system .

Mobile systems differ notably from traditional computer systems due to their integration of components and multifunctionality within a compact form factor. In mobile systems, components such as the CPU, GPU, memory, and communication modules are integrated into a single, low-power System on a Chip (SoC), maximizing space efficiency and reducing power consumption. This design contrasts with traditional systems where components are often separate and interconnected via a motherboard, allowing for more scalability but less efficiency in terms of power and size. Mobile systems are optimized for touch interfaces, portability, and connectivity, whereas traditional systems emphasize expandability and processing power .

Static RAM (SRAM) and Dynamic RAM (DRAM) differ fundamentally in their design and performance. SRAM retains data as long as power is supplied and does not require periodic refreshing, making it faster and more reliable but also more expensive. It is typically used for cache memory to facilitate quick data access needed by the CPU. On the other hand, DRAM stores each bit of data in a separate capacitor and transistor, requiring constant refreshing to retain data, which makes it slower than SRAM. However, it is cheaper and has a higher capacity per chip, making it suitable for main system memory where larger amounts of data storage are needed .

The system bus enhances functionality by serving as the main communication highway that interconnects the processor with input/output devices along with memory. It comprises a data bus for transferring data, a control bus for sending processing instructions, and an address bus to navigate memory locations. This allows input/output devices to efficiently send data to and receive data from the processor, ensuring synchronized operations across the system. By managing these operations efficiently, the system bus ensures streamlined communication and improved overall efficiency of the computer system .

System on a Chip (SoC) integrates major components such as the CPU, GPU, memory, and communication interfaces into a single chip. This integration drastically reduces space requirements, enabling the production of more compact and portable devices, which is crucial for mobile systems. Furthermore, having all these components on one chip reduces the power consumption characteristics of these devices; shorter data paths require less energy and heat dissipation is more efficient. Consequently, SoCs contribute significantly to the portability and energy efficiency of mobile devices, allowing them to maintain performance while minimizing power consumption and physical space .

Cloud storage presents both challenges and benefits compared to traditional physical storage. Benefits include accessibility, as data can be accessed from anywhere with an internet connection, scalability in terms of effortlessly expanded storage capacity, and often enhanced redundancy and backup features provided by cloud services. However, challenges include potential security risks, as data is hosted off-site and potentially vulnerable to breaches, and reliance on a stable internet connection for access. Additionally, recurring costs associated with cloud storage subscriptions can be higher over time compared to one-time investments in physical hardware .

You might also like