GRADED ASSIGNMENT
Answer the following Questions(Any three) (10 marks each)
Q3. Explain ALU & Control Unit with Diagram
Arithmetic Logic Unit (ALU)
The ALU is a crucial component of the central processing unit (CPU)
responsible for performing arithmetic and logical operations on data.
Arithmetic operations include addition, subtraction, multiplication, and
division, while logical operations involve bitwise operations like AND, OR, and
NOT.
The ALU consists of a set of logic circuits and registers. It takes input data from
registers or memory, performs the required operation, and outputs the result.
Control Unit
, The Control Unit manages and coordinates the activities of all other hardware
components in the CPU. It fetches instructions from memory, decodes them,
and controls the flow of data between the CPU and other components.
The Control Unit includes a control bus, instruction register, and a decoder. It
interprets the instructions fetched from memory and generates control signals
to coordinate the activities of the ALU, registers, and other parts of the CPU.
Q4. Explain:
a) Handshaking
b) I/O Processor
HANDSHAKING
In computer architecture, handshaking refers to a process where two
components or subsystems synchronize and exchange signals to coordinate
the transfer of data or control information. Handshaking is particularly
important in scenarios where one component, such as a processor or a
peripheral device, needs to communicate with another component, like
memory or an I/O device. Here's how handshaking is commonly used in
computer architecture:
Memory Read/Write Operations: