Unit 2: Computer Storage, Processing and I/O Devices - Subjective Questions
CAP1007 — Fundamentals Of Information Technology • Practice Questions with Detailed Answers
20 questions
Define computer memory. Explain the different types of memory used in a computer system.
Computer memory refers to the electronic components that store data, instructions, and results either temporarily or permanently for use by the CPU.
Memory is broadly classified into:
- Primary Memory (Main Memory): Directly accessible by the CPU; fast but usually volatile.
- RAM (Random Access Memory): Volatile, read/write, holds currently running programs and data.
- ROM (Read Only Memory): Non-volatile, stores permanent instructions like the BIOS/bootstrap program.
- Secondary Memory (Auxiliary Storage): Non-volatile, used for long-term storage (e.g., HDD, SSD, optical disks). Slower but larger capacity.
- Cache Memory: Very fast, small memory placed between CPU and RAM to store frequently used data.
- Registers: Fastest, smallest storage located inside the CPU.
Thus, memory forms a hierarchy balancing speed, cost, and capacity.
Distinguish between RAM and ROM with suitable examples.
| Feature | RAM | ROM |
|---|---|---|
| Full Form | Random Access Memory | Read Only Memory |
| Volatility | Volatile (loses data on power off) | Non-volatile (retains data) |
| Operation | Read and Write | Mainly Read only |
| Use | Stores running programs/data | Stores permanent instructions (BIOS) |
| Speed | Faster | Slower |
| Cost | More expensive per unit | Cheaper |
Types of RAM: SRAM (Static) and DRAM (Dynamic).
Types of ROM: PROM, EPROM, EEPROM.
Example: When you open an application, it loads into RAM; the boot instructions that start your PC are stored in ROM.
Explain the various memory units used to measure data storage capacity.
Data in computers is measured using standard memory units based on the binary system.
- Bit: Smallest unit, a single binary digit (0 or 1).
- Nibble: Group of 4 bits.
- Byte: Group of 8 bits; represents one character.
Larger units (using as the multiplier):
These units help express file sizes, RAM capacity, and storage device capacity in a standardized way.
Describe the memory hierarchy in a computer system with the help of a diagram.
The memory hierarchy arranges storage based on speed, cost, and capacity. As we move down, speed and cost decrease while capacity increases.
Registers (fastest, smallest, costliest)
|
Cache Memory
|
| Main Memory (RAM) | Secondary Storage (HDD/SSD) |
|---|
Tertiary/Backup (Optical, Tape) (slowest, largest, cheapest)
Key points:
- Registers & Cache: Extremely fast, located near/inside CPU, small in size.
- RAM: Main working memory, moderate speed and size.
- Secondary storage: Non-volatile, large capacity, slower access.
The hierarchy exists because fast memory is expensive, so a mix of memory types gives the best cost-to-performance balance.
What is cache memory? Explain its levels and importance in improving system performance.
Cache memory is a small, high-speed memory located between the CPU and main memory (RAM). It stores frequently accessed data and instructions to reduce the average time to access data.
Levels of Cache:
- L1 Cache: Built into the CPU core; smallest and fastest.
- L2 Cache: Larger than L1, slightly slower; may be on-chip.
- L3 Cache: Shared among CPU cores; larger but slower than L1/L2.
Importance:
- Reduces the speed gap between fast CPU and slower RAM.
- Improves overall processing speed by providing quick access to repeatedly used data.
- Works on the principle of locality of reference (temporal and spatial).
Without cache, the CPU would frequently wait for data from slower RAM, reducing performance.
Explain the working and structure of a Hard Disk Drive (HDD) in detail.
A Hard Disk Drive (HDD) is a non-volatile secondary storage device that stores data magnetically on rotating platters.
Structure:
- Platters: Circular disks coated with magnetic material where data is stored.
- Spindle: Rotates the platters at high speeds (e.g., 5400 or 7200 RPM).
- Read/Write Head: Reads and writes data magnetically on platter surfaces.
- Actuator Arm: Moves the heads across the platters.
- Tracks, Sectors, Cylinders: Logical divisions used to organize data.
Working:
- Data is stored by magnetizing tiny regions on the platter surface (representing 0s and 1s).
- The platters spin and the read/write head moves to the correct track and sector.
- Access time depends on seek time, rotational latency, and transfer time.
Advantages: Large capacity at low cost.
Disadvantages: Slower than SSD, mechanical parts prone to failure.
What is a flash drive? Explain its features and advantages over other storage devices.
A flash drive (USB pen drive) is a small, portable secondary storage device that uses flash memory to store data. It connects to a computer through a USB port.
Features:
- Uses non-volatile flash memory (no moving parts).
- Plug-and-play through USB interface.
- Available in capacities from a few GB to over 1 TB.
- Compact and lightweight.
Advantages:
- Portability: Easy to carry and transfer data.
- Durability: No mechanical parts, resistant to shock.
- Fast access: Faster than optical disks.
- Rewritable: Data can be written and erased many times.
- Low power consumption.
Limitations: Limited write cycles and can be easily lost due to small size.
Explain optical storage devices. Describe the working of a DVD.
Optical storage devices store data using laser technology, where data is read and written using a laser beam. Examples include CD, DVD, and Blu-ray.
DVD (Digital Versatile Disc):
- A high-capacity optical disc used to store data, video, and audio.
- Standard single-layer DVD stores about 4.7 GB; dual-layer stores up to 8.5 GB.
Working:
- Data is stored as microscopic pits and lands on a spiral track.
- A laser beam is focused on the disc surface; the reflection pattern from pits and lands is interpreted as binary 0s and 1s.
- DVDs use a shorter wavelength red laser than CDs, allowing more data density.
Types of DVD:
- DVD-ROM: Read only.
- DVD-R/DVD+R: Write once.
- DVD-RW: Rewritable.
Advantages: High capacity, cheap, portable. Disadvantages: Slower access and prone to scratches.
What is an SSD (Solid State Drive)? Explain its working and advantages.
A Solid State Drive (SSD) is a non-volatile storage device that uses flash memory (usually NAND) to store data. Unlike HDDs, it has no moving mechanical parts.
Working:
- Data is stored in memory cells made of floating-gate transistors.
- A controller manages reading, writing, and data placement across cells.
- Since there are no platters or heads, data access is electronic and instantaneous.
Advantages:
- Faster read/write speeds than HDD.
- Durable — resistant to shock and physical damage.
- Silent operation with no moving parts.
- Low power consumption and less heat generation.
- Compact and lightweight.
Disadvantages:
- Higher cost per GB compared to HDD.
- Limited number of write cycles per cell.
Compare HDD and SSD on the basis of speed, cost, durability, and working principle.
| Feature | HDD | SSD |
|---|---|---|
| Full Form | Hard Disk Drive | Solid State Drive |
| Technology | Magnetic storage on platters | Flash memory (NAND) |
| Moving Parts | Yes (platters, heads) | None |
| Speed | Slower access | Much faster |
| Durability | Prone to mechanical failure | More durable, shock-resistant |
| Noise | Produces noise | Silent |
| Cost | Cheaper per GB | More expensive per GB |
| Power Use | Higher | Lower |
Conclusion:
- HDDs are ideal for large, low-cost storage.
- SSDs are preferred for speed and reliability, commonly used for operating systems and applications.
What are I/O (Input/Output) devices? Classify them with examples.
I/O devices are hardware components used to communicate with a computer by entering data (input) or receiving results (output).
Classification:
- Input Devices: Send data/instructions into the computer.
- Examples: Keyboard, Mouse, Scanner, Microphone, Joystick, Webcam.
- Output Devices: Display or produce results from the computer.
- Examples: Monitor (LCD), Printer, Plotter, Speakers.
- Both Input and Output (I/O) Devices: Perform both functions.
- Examples: Touch screen, Modem, Network card, USB storage.
Importance: I/O devices act as the interface between the user and the computer, enabling interaction and communication.
Explain the working of a keyboard as an input device. Describe its types of keys.
A keyboard is the most common input device used to enter text, numbers, and commands into a computer.
Working:
- Each key acts as a switch. When pressed, it completes a circuit.
- The keyboard's microprocessor identifies the key using a scan code.
- This scan code is sent to the computer, which converts it into the corresponding character using a keyboard driver.
Types of Keys:
- Alphanumeric keys: Letters (A–Z) and numbers (0–9).
- Function keys: F1 to F12 for special operations.
- Control keys: Ctrl, Alt, Esc for command combinations.
- Navigation keys: Arrow keys, Home, End, Page Up/Down.
- Numeric keypad: For fast number entry.
- Special keys: Enter, Shift, Caps Lock, Spacebar.
Keyboards may be connected via wired (USB/PS2) or wireless (Bluetooth) interfaces.
Describe the mouse as a pointing device. Explain its types.
A mouse is a hand-held pointing input device used to control the movement of the cursor on the screen and to select items.
Functions:
- Pointing: Moves the cursor.
- Clicking: Selecting objects (left/right click).
- Double-clicking: Opening files/programs.
- Scrolling: Moving through documents.
- Dragging: Moving objects.
Types of Mouse:
- Mechanical Mouse: Uses a rolling ball to detect movement.
- Optical Mouse: Uses an LED and sensor to detect motion; more accurate.
- Laser Mouse: Uses a laser for higher precision.
- Wireless Mouse: Connects via Bluetooth or RF; no cable.
- Trackball Mouse: Ball moved by fingers, body stays stationary.
The mouse translates physical movement into cursor movement on screen.
Explain the working of an LCD (Liquid Crystal Display). Mention its advantages.
An LCD (Liquid Crystal Display) is a flat-panel output device used as a computer monitor or screen. It uses liquid crystals to produce images.
Working:
- LCD contains a layer of liquid crystals between two glass plates.
- A backlight provides illumination.
- When electric current is applied, the liquid crystals align to allow or block light.
- Color filters (RGB) combine to produce colored pixels forming the image.
Advantages:
- Thin and lightweight compared to CRT monitors.
- Low power consumption.
- No flickering, reducing eye strain.
- Produces sharp images with good resolution.
- Occupies less desk space.
Disadvantages: Limited viewing angles and fixed native resolution.
What is a scanner? Explain its working and types.
A scanner is an input device that converts physical documents, images, or photos into a digital format that can be stored and edited in a computer.
Working:
- The document is placed on the scanner glass.
- A light source illuminates the document.
- The reflected light is captured by sensors (CCD) and converted into electrical signals.
- These signals are digitized into an image using an ADC (Analog to Digital Converter).
Types of Scanners:
- Flatbed Scanner: Document placed on a flat glass surface; common for documents/photos.
- Handheld Scanner: Manually moved over the document.
- Sheet-fed Scanner: Document is fed through rollers.
- Drum Scanner: High-resolution scanning for professional use.
- Barcode Scanner: Reads barcodes in shops.
Uses: Digitizing documents, OCR, image editing, and record keeping.
Explain a plotter. How does it differ from a printer?
A plotter is an output device used to produce high-quality graphics, drawings, and designs on large sheets of paper. It is commonly used in engineering, architecture, and CAD applications.
Working:
- A plotter uses pens or ink cartridges that move across the paper to draw continuous lines.
- It can draw vector graphics with high precision.
Types: Drum plotter and Flatbed plotter.
Difference between Plotter and Printer:
| Feature | Plotter | Printer |
|---|---|---|
| Output | Line drawings/graphics | Text and images |
| Method | Draws using pens/continuous lines | Prints using dots |
| Paper size | Very large sheets | Standard sizes |
| Application | CAD, maps, blueprints | General documents |
| Cost | Expensive | Cheaper |
Plotters excel at precise vector drawings, while printers are suited for general document printing.
Explain the different types of printers with their working principles.
A printer is an output device that produces hard copies (printed output) of text and images on paper. Printers are classified into impact and non-impact types.
1. Impact Printers: Print by striking an inked ribbon against paper.
- Dot Matrix Printer: Uses a matrix of pins to form characters; noisy, low quality, but cheap and good for multi-copy printing.
2. Non-Impact Printers: Print without physical contact.
- Inkjet Printer: Sprays tiny droplets of ink onto paper; good quality color printing, moderate speed.
- Laser Printer: Uses a laser beam and toner (powder) fused onto paper by heat; fast, high quality, and quiet.
- Thermal Printer: Uses heat to print on special paper; used in receipts and billing.
Comparison: Laser printers offer the best speed and quality; inkjets are cost-effective for color; dot matrix suits carbon-copy printing.
Distinguish between impact and non-impact printers with examples.
| Feature | Impact Printer | Non-Impact Printer |
|---|---|---|
| Printing Method | Strikes ink ribbon against paper | No physical contact with paper |
| Noise | Noisy | Quiet |
| Speed | Slower | Faster |
| Print Quality | Lower | Higher |
| Multi-copy | Can print carbon copies | Cannot print carbon copies |
| Examples | Dot Matrix, Daisy Wheel | Inkjet, Laser, Thermal |
Impact printers work like a typewriter, forming characters by mechanical striking, making them suitable for bulk and multi-part forms.
Non-impact printers use technologies like ink spraying or laser and toner, offering higher speed and quality for modern printing needs.
Describe some latest I/O devices available in the market and their applications.
Modern technology has introduced several advanced I/O devices that improve interaction and productivity.
Latest Input Devices:
- Touch Screen: Acts as both input and output; used in smartphones, tablets, kiosks.
- Biometric Devices: Fingerprint, face, and iris scanners for security.
- Voice Recognition Systems: Convert speech to text (e.g., virtual assistants).
- Gesture Recognition Devices: Detect hand/body movements (e.g., motion sensors).
- Digital Pen/Stylus: For drawing and note-taking on touch devices.
Latest Output Devices:
- 3D Printers: Create physical 3D objects from digital models.
- OLED/QLED Displays: High-quality, energy-efficient screens.
- VR/AR Headsets: Provide immersive visual and audio output.
- Smart Projectors: Wireless, high-resolution projection.
Applications: These devices are widely used in healthcare, gaming, security, manufacturing, and education, enabling more natural and efficient human-computer interaction.
Differentiate between primary memory and secondary memory with examples.
| Feature | Primary Memory | Secondary Memory |
|---|---|---|
| Definition | Main memory directly accessed by CPU | Auxiliary storage for permanent data |
| Volatility | Mostly volatile (RAM) | Non-volatile |
| Speed | Very fast | Slower |
| Capacity | Limited | Large |
| Cost | Costlier per unit | Cheaper per unit |
| Access | Directly by CPU | Accessed via I/O operations |
| Examples | RAM, ROM, Cache | HDD, SSD, DVD, Flash drive |
Explanation:
- Primary memory holds data and instructions currently in use by the CPU, providing fast access.
- Secondary memory stores data permanently for future use even when the computer is switched off.
Both are essential: primary memory ensures speed, while secondary memory ensures storage capacity and permanence.
Define computer memory. Explain the different types of memory used in a computer system.
Computer memory refers to the electronic components that store data, instructions, and results either temporarily or permanently for use by the CPU.
Memory is broadly classified into:
- Primary Memory (Main Memory): Directly accessible by the CPU; fast but usually volatile.
- RAM (Random Access Memory): Volatile, read/write, holds currently running programs and data.
- ROM (Read Only Memory): Non-volatile, stores permanent instructions like the BIOS/bootstrap program.
- Secondary Memory (Auxiliary Storage): Non-volatile, used for long-term storage (e.g., HDD, SSD, optical disks). Slower but larger capacity.
- Cache Memory: Very fast, small memory placed between CPU and RAM to store frequently used data.
- Registers: Fastest, smallest storage located inside the CPU.
Thus, memory forms a hierarchy balancing speed, cost, and capacity.
Did this save you a night before the exam?
LPU Notes is free, and it stays free. Ads cover part of the server bill. The rest comes out of a student's own pocket: the domain, the storage, and keeping the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason. to try again.
Nothing here is ever locked, and nothing unlocks. Chip in only if it was worth it. What it pays for →