A simple ALU is designed to perform 4 distinct operations: Addition, Subtraction, Logical AND, and Logical OR. Assuming a standard encoding scheme for operation selection, how many control lines are minimally required to select one of these four operations for the ALU?
To select one out of 'N' distinct operations, a minimum of 'log₂N' control lines are required. In this case, N = 4 (Addition, Subtraction, Logical AND, Logical OR). Number of control lines = log₂(4) = 2. Therefore, 2 control lines are minimally required to select one of the four operations.