Knowlet

Unit 2: Memory and I/O Devices

1. Memory: Concepts and Units

Computer memory is the storage space in the computer, where data is to be processed and instructions required for processing are stored. It is divided into a large number of small parts called cells.

Units of Memory

Data in a computer is stored in binary form (0s and 1s). The following table shows the standard units used to measure memory capacity:

Unit Equivalent To
Bit Binary Digit (0 or 1)
Nibble 4 Bits
Byte (B) 8 Bits
Kilobyte (KB) 1024 Bytes
Megabyte (MB) 1024 KB
Gigabyte (GB) 1024 MB
Terabyte (TB) 1024 GB
Petabyte (PB) 1024 TB

2. Primary Memory: RAM and ROM

Primary memory holds only those data and instructions on which the computer is currently working. It has a limited capacity and data is lost when power is switched off (in the case of RAM).

RAM (Random Access Memory)

RAM is the internal memory of the CPU for storing data, programs, and program results. It is a read/write memory which stores data until the machine is working.

  • Volatile: Data is lost when power is interrupted.
  • Types:
    • SRAM (Static RAM): Faster and more expensive; used as cache.
    • DRAM (Dynamic RAM): Needs to be refreshed thousands of times per second; used as main memory.

ROM (Read Only Memory)

ROM is memory from which we can only read but cannot write on it. This type of memory is non-volatile. The information is stored permanently in such memories during manufacture.

  • Non-volatile: Retains data even after the power is turned off.
  • Usage: Stores the BIOS (Basic Input/Output System) to start the computer.
  • Types: PROM (Programmable ROM), EPROM (Erasable Programmable ROM), and EEPROM (Electrically Erasable Programmable ROM).

3. Secondary Storage Devices

Secondary memory is also known as external memory or non-volatile memory. It is slower than main memory but used for storing data/information permanently.

HDD (Hard Disk Drive)

The standard main storage device for most computers. It uses magnetic storage to store and retrieve digital information using rapidly rotating disks (platters) coated with magnetic material.

SSD (Solid State Drive)

A newer, faster type of device that stores data on instantly-accessible memory chips. Unlike HDDs, SSDs have no moving parts, making them quieter and more durable.

Flash Drives

Small, portable storage devices that connect via a USB port. They use "flash" memory, which is a type of EEPROM.

Optical Disks: DVD

Digital Versatile Discs (DVD) are optical storage media that use laser technology to read and write data. They offer higher storage capacity than traditional CDs.

4. Input Devices

Input devices allow the user to send data or instructions to the computer.

  • Keyboard: The most common input device used to enter text and commands.
  • Mouse: A pointing device used to control a cursor on the screen.
  • Scanner: A device that captures images from photographic prints, posters, magazine pages, and similar sources for computer editing and display.

5. Output Devices

Output devices translate the computer's processed data into a form that humans can understand.

LCDs (Liquid Crystal Displays)

The most common type of monitor used today. It uses the light-modulating properties of liquid crystals to display images.

Printers

Used to create "hard copies" of digital documents.

  • Impact Printers: Use a striking mechanism (e.g., Dot Matrix).
  • Non-Impact Printers: Do not hit the paper (e.g., Inkjet, Laser).

Plotters

A specialized output device used to produce high-quality vector graphics. They are commonly used by engineers and architects for technical drawings and blueprints.

6. Latest I/O Devices in the Market

The technology market is constantly evolving with newer peripheral devices:

  • Touchscreens: Combine input and output functionality into a single interface.
  • 3D Printers: Create physical 3D objects from digital files.
  • Biometric Sensors: Input devices for security (fingerprint scanners, iris recognition).
  • VR Headsets: High-end output devices for immersive virtual reality environments.

7. Exam Focus Corner

Exam Tips
  • Comparison Questions: Expect a comparison between RAM and ROM, or HDD and SSD. Use tables for these answers.
  • Units: Memorize the memory hierarchy (Bit to Petabyte). Questions often ask to convert or order these.
  • I/O Definition: Clearly distinguish between input and output devices. Some devices like touchscreens act as both.
Common Mistakes
  • Confusing Volatile with Non-volatile. Remember: RAM is like a whiteboard (volatile), ROM is like a printed book (non-volatile).
  • Thinking SSDs and HDDs are part of "Main Memory." They are Secondary Storage.
  • Confusing Byte (B) with bit (b). Note that 1 Byte = 8 bits.
Frequently Asked Questions

Q: Why is RAM called 'Random Access'?
A: Because any location in the memory can be accessed directly in the same amount of time, regardless of its physical position.

Q: What is the main advantage of SSD over HDD?
A: Speed. SSDs have no moving parts and can read/write data much faster than the spinning platters of an HDD.

Q: Is a USB Flash Drive primary or secondary memory?
A: It is secondary storage because it stores data permanently and is external to the computer's motherboard.

Did this resource help you study?

Share feedback or report issues to help improve this resource.