Categories
Data Processing Notes

Computer Data Conversion

Register

This is a special high-speed storage area within the CPU. All data must be represented in a register before it can be processed, for example, if two numbers are to be multiplied, both numbers must be in registers, and the result must be placed in register. (The register can contain the address of a memory location where data is stored rather than the actual data itself.)

Address

An address is used to reference a storage location in main memory. You can think of computer memory as an array of storage boxes, each of them has an address (a unique number) assigned to it.

Bus

A collection of wires through which data is transmitted from one part of a computer to another.  You can think of a bus as a highway on which data travels within a computer. When used in reference to personal computers, the term bus usually refers to internal bus. This is a bus that connects all the internal computer components to the CPU and main memory

Types of Registers

The types of registers are Memory data register (MDR) and Current instruction Register (CIR)

The types of registers can be explained better by their functions.

MDR

  • The memory data register is used to hold data or the memory address that contains either the next piece of data or an instruction that is to be used.
  • The memory data register acts like a buffer and holds data that is transferred from the memory to the processor.
  • The memory data register is used whenever data is being transferred between central processing unit and main memory.

CIR

  • Current instruction register is the register, usually in the control unit, that contains the instruction that is being executed by the CPU.
  • The CIR stores the instruction currently being executed. In simple processors each instruction to be executed is loaded into the instruction register which holds it while it is decoded, prepared and ultimately executed.

Differences between Register and Main Memory:

Factor considered: storage, speed, storage capacity and relative cost.

Storage devicesSpeedStorage capacityRelative cost
RegisterFastVery lowVery high
Main memoryVery fastLow and moderateHigh speed

DATA-FETCH-EXECUTE CYCLE

Fetch execute cycle is the very basic way a computer works. All commands are executed through the running of this cycle. The cycle itself has very few commands, however when linked up together it is possible to create a large program, or even an operating system.

The cycle contains 3 main parts

  1. Fetch the instruction
  2. Decode the instruction
  3. Execute the instruction

OPERATING PROCEDURE OF COMPUTER DATA PROCESSING        

Data processing consists of all activities which are necessary to transform data into information.

COLLECTION → CONVERSION → MANIPULATION → STORAGE → COMMUNICATION

CONVERSION

 MANIPULATION

 STORAGE

 COMMUNICATION

The following are factors affecting Speed of Data Transfer

  1. Bus Speed
  2. Bus Width
  3. Medium of Storage
  4. Data transfer medium

Evaluation

1. Define the following;

  1. Register
  2. Bus
  3. Address

2. List and explain types of register

Reading Assignment: Reading Assignment:

Hiit @ School, Computer Studies for Senior Secondary Education. Pgs 85 – 88.

WEEK ONE (1) WEEKEND ASSIGNMENT

OBJECTIVE

  1. A collection of wires through which data is transmitted from one part of a computer to another is known as _______
  2. Address                 B. Bus              C. Register      
  • Computer data processing is grouped into the following EXCEPT one.
  • Conversion            B.  Manipulation          C. Register
  •  The following are types of register EXCEPT ___________
  • CMR         B.  CIR           C.  MDR
  • ___________ register acts like a buffer and holds data that is transferred from the memory to the processor.
  • MDR          B. CIR              C.  CPU
  • All data must be represented in a register before it can be processed.
  • TRUE   B.  FALSE

 THEORY

1. State two differences between register and main memory.

2. List and explain the factors affecting speed of data transfer.

Click here to ask a question and get an answer published in the forum. Read our disclaimer.

Get paid for every topic you create in: Shoutam.com Forum!MAKE-MONEY