Digital Logic and Microprocessors Flashcards
7 cards from real BEE practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.
Read the first 7 Digital Logic and Microprocessors flashcards as text
What is the Boolean simplification of the expression AB + AB'?
Answer: A
AB + AB' = A(B + B') = A·1 = A by the complement and identity laws.
A shift register can be used to perform which arithmetic operation on a binary number?
Answer: Multiplication or division by powers of 2
Shifting left multiplies by 2 and shifting right divides by 2, so shift registers perform multiplication/division by powers of 2.
In DMA (Direct Memory Access) data transfer, what role does the CPU play during the transfer?
Answer: The CPU is bypassed; the DMA controller handles the transfer
DMA allows the DMA controller to transfer data directly between memory and I/O without CPU intervention, freeing the CPU for other tasks.
Which of the following best describes a tri-state buffer?
Answer: A device with outputs of logic 0, logic 1, or high-impedance
A tri-state buffer can output logic 0, logic 1, or a high-impedance (Hi-Z) state that effectively disconnects the output from the bus.
In a microprocessor's instruction cycle, which operation follows the fetch phase?
Answer: Decode
After fetching the instruction from memory, the processor decodes it to determine the operation and operands.
How many flip-flops are required to build a 16-state sequential counter?
Answer: 4
n flip-flops can represent 2^n states; 2^4 = 16, so 4 flip-flops are needed for a 16-state counter.
What is the primary function of the stack pointer (SP) register in a microprocessor?
Answer: Points to the top of the call stack in memory
The stack pointer register contains the memory address of the top of the stack, updated automatically on push and pop operations.