Qestion#1 Operation of Central Processing Unit
Qestion#1 Operation of Central Processing Unit
Qestion#1 Operation of Central Processing Unit
The central processing unit (CPU) of the computer is a component that collects instructions and
performs them. The Operation of CPU happens in four steps fetch, decrypt, process, and write
back .The first step, fetching, includes the retrieval of a command from memory (Brookshear &
Brylow, 2014).In the Second step, instructions are divided into separate parts that are important
to other parts of the CPU. In the third step, the Athematic logic unit and Floating point unit are
connected for the desired operation. Writeback, the final stage, merely writes back the effects of
the execution step. It is basically the Brain of the Computer System.
The Arithmetic logic unit is a circuit that is responsible to perform all the arithmetic calculations
such as addition and subtraction and other logical operations such as manipulation of Boolean
values, Boolean values refers to true or false as all the data stored in computer in the form of 0
and 1 Transistor are used to use for the manipulation of logical data
Control Unit
How data travels around a CPU is coordinated by a control unit. By decoding operation codes for
multiple operations in a CPU, the control unit coordinates how information flows. The control
unit (CU) is a part of the central processing unit (CPU) of a system which directs the processor to
perform the operation. It informs the memory unit, logic unit, and input and output devices of the
computer how to respond to instructions from a program
Register Set:
Registers are smaller volumes of memory stored inside the CPU. The processor uses them to
store small quantities of data required during operation, like:
Question#2
Similarities:
The General Purpose register and main memory cells has following similarities
Both are used to hold data that can be directly retrieved by the processor which increase
the speed of CPU
Both Store data in form of parallel bits such as.8-bit bytes and 16-bit words larger the
size of general purpose register and main memory faster the processing speed.
Both of them are vulnerable to data loss. All the data is lost when the power source is
removed.
Both Perform Read and Write function
Differences
The General purpose register and the main memory cells has following differences
The main distinction between the register and the memory is that the general-purpose
register includes the data being executed by the CPU, while the memory contains
instructions and data needed for execution by the processor.
The General purpose register comes into job when the data needs to be stored for a short
period of time (temporarily) during the operation on data while main memory cells are
used to store data on permanent basis
The registers are located in inside the CPU while memory cells are located outside the
CPU
Main memory cells are much slower than register therefore register are accessed faster by
the processor than the main memory cells.
Question#3
Reference
Brookshear, G., & Brylow, D. (2014). Computer Science: An Overview (12th Edition) (12th ed.).
Pearson.