MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

COMPUTER ARCHITECTURE

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
The ALU performs what type of operations
A
Arithmetic
B
Logical
C
Shift
D
All of these three
Explanation: 

Detailed explanation-1: -The ALU performs simple addition, subtraction, multiplication, division, and logic operations, such as OR and AND. The memory stores the program’s instructions and data. The control unit fetches data and instructions from memory and…

Detailed explanation-2: -An ALU performs basic arithmetic and logic operations. Examples of arithmetic operations are addition, subtraction, multiplication, and division. Examples of logic operations are comparisons of values such as NOT, AND, and OR.

Detailed explanation-3: -An arithmetic-logic unit is the part of a central processing unit that carries out arithmetic and logic operations on the operands in computer instruction words. In some processors, the ALU is divided into two units: an arithmetic unit (AU) and a logic unit (LU).

Detailed explanation-4: -ALUs perform addition, subtraction, and multiplication using sequences of logic gates. Division operations are typically performed by an FPU because division may result in a fraction, or floating-point unit. Addition: The CPU acquires operands, often from a (storage) register.

Detailed explanation-5: -ALU Description It supports 6 operations (AND, OR, add, sub, slt, and NOR) in a combinational circuit that calculates a 32-bit output based on two 32-bit inputs and a 4-bit input specifying the ALU operation to perform. The ALU also computes three flag bits, C, V, and Z.

There is 1 question to complete.