Unit 3: Processing Data

Table of Contents

1. Transforming Data into Information

Processing is the core function of a computer where raw data is converted into meaningful information.

2. How Computers Represent and Process Data

Computers are digital machines that can only understand two states: On (represented by 1) and Off (represented by 0). This is known as the Binary Number System.

Data Processing Steps

  1. Input: Data is entered via input devices.
  2. Processing: The CPU performs calculations and logical comparisons.
  3. Output: The result is displayed or printed for the user.

3. The Machine Cycle

For every single instruction, the CPU goes through a series of steps called the Machine Cycle. It consists of four main stages:

Stage Action Description
Fetch Instruction Retrieval The Control Unit gets the instruction from the main memory (RAM).
Decode Translation The Control Unit translates the instruction into commands the computer can understand.
Execute Action The Arithmetic Logic Unit (ALU) carries out the actual mathematical or logical operation.
Store Write Back The result of the execution is written back into the memory for later use.

4. Memory, Registers, and Cache Memory

Memory (RAM)

Main memory or RAM holds the instructions and data that the CPU is currently processing. It is volatile, meaning its contents are lost when power is turned off.

Registers

Registers are high-speed, small-capacity storage locations directly inside the CPU. They hold data that the CPU is working on at that exact moment to avoid the "bottleneck" of reaching out to the slower RAM.

Cache Memory

Cache Memory is a specialized, high-speed memory area located between the RAM and the CPU.

5. The System Bus

Definition: A Bus is a set of parallel electrical wires that transmit data and signals between computer components.

The System Bus connects the CPU to other parts like memory and I/O devices. It includes:

6. Exam Focus: Tips and FAQs

Exam Tip: When asked about the "Brain" of the computer, always refer to the CPU. If asked for the Machine Cycle, remember the acronym F-D-E-S (Fetch, Decode, Execute, Store).

Common Pitfall: Do not confuse Registers with Cache. Registers hold the current instruction, while Cache holds frequently used instructions for future use.


Frequently Asked Questions