ALU 101 Cheat Sheet 2026
The 30 highest-yield ALU 101 facts, distilled from real exam questions. Print it, save it as a PDF, or study it here โ free, no sign-up.
60 questions
75 min time limit
70.00% to pass
- What is the function of the status register (flags register) in an ALU? โ To record condition outcomes such as zero, carry, and overflow
- What does the NOP instruction do in an ALU-based processor? โ Performs no operation and advances the program counter
- What logic gate is formed by combining an AND gate followed by a NOT gate? โ NAND
- What problem does the Gray code solve in ALU-related digital counter circuits? โ Multiple bit transitions causing glitches when incrementing
- Which gate can implement addition without carry at the bit level? โ XOR
- What does 'silent NaN' vs 'signaling NaN' mean in IEEE 754? โ Signaling NaN raises a floating-point exception when used; quiet NaN propagates silently
- In carry lookahead logic, what does the 'generate' signal (G = AยทB) indicate? โ The stage will always produce a carry-out regardless of the carry-in
- What is the purpose of using a testbench in ALU simulation? โ To define the testing environment and stimuli
- What is the purpose of the carry save adder (CSA)? โ To speed up multi-operand addition by deferring carry propagation
- Which component of an ALU is responsible for selecting between arithmetic and logic operations? โ Multiplexer
- Which of the following gates produces a HIGH output only when all inputs are LOW? โ NOR
- What key technique does a carry lookahead adder (CLA) use to improve speed? โ Computes all carry bits in parallel using generate and propagate signals
- What is the effect of the INTO instruction in x86 architecture? โ It generates an overflow exception trap (INT 4) if the Overflow flag is set
- For a 1-bit stage with inputs A=1 and B=1, what are the values of the generate (G) and propagate (P) signals? โ G=1, P=0
- Which hardware component stores intermediate values between ALU operations in a typical CPU datapath? โ General-purpose registers
- Which Boolean identity represents the expression ๐ด โ ยฏA? โ 0
- Which gate is the complement of the AND gate? โ NAND
- How many gates are required to build a full adder using basic logic gates? โ 5
- What do ALU control lines (operation select lines) determine? โ Which arithmetic or logic operation the ALU performs on its inputs
- What is the primary purpose of the accumulator register in an ALU? โ To store the result of arithmetic and logic operations
- What is the result of the Boolean expression A+Aโ B? โ A
- Which flag is set when the result of an ALU operation is exactly zero? โ Zero flag
- What is the maximum sum when adding two 4-bit unsigned numbers? โ 30
- In a ripple-carry adder, what causes the main performance limitation? โ Carry propagation delay through each stage
- Which number system uses the digits 0โ7? โ Octal
- How does the ALU detect and flag an underflow condition in floating-point arithmetic? โ When the result is too small to be represented as a normalized number
- What happens in most hardware ALUs when integer overflow is not handled explicitly? โ The result wraps around modulo 2^n, potentially producing an incorrect silent error
- Overflow in signed binary arithmetic occurs when: โ The result cannot be represented in the given number of bits
- If ๐ดโ ๐ต=1, what can be concluded about A and B? โ Both A and B are 1
- A NOR gate with inputs A=0 and B=0 outputs: โ 1
Turn these facts into recall: