Digital Logic and Microcomputers Flashcards
21 cards from real GROL practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.
Read the first 20 Digital Logic and Microcomputers flashcards as text
What is the output of an XNOR gate when both inputs are logic 1?
Answer: Logic 1
An XNOR gate outputs logic 1 when both inputs are the same (both 0 or both 1).
Which Boolean expression represents De Morgan's theorem applied to the expression NOT(A AND B)?
Answer: NOT(A) OR NOT(B)
De Morgan's theorem states NOT(A AND B) = NOT(A) OR NOT(B).
A NAND gate with all inputs tied together functions as which logic gate?
Answer: NOT gate (inverter)
Tying all NAND inputs together makes it behave as a NOT gate, outputting the complement of the single input.
In a sum-of-products (SOP) Boolean expression, terms are combined using which operation at the top level?
Answer: OR
In SOP form, product (AND) terms are summed (OR'd) together at the top level.
What is the hexadecimal equivalent of binary 1010 1111?
Answer: AF
Binary 1010 = hex A and binary 1111 = hex F, so 10101111 = AF in hexadecimal.
Which type of logic circuit has outputs that depend only on the current inputs, with no memory or feedback?
Answer: Combinational logic
Combinational logic circuits have outputs determined solely by present inputs, with no stored state.
What is the two's complement representation of -7 in an 8-bit system?
Answer: 11111001
To get two's complement of 7 (00000111): invert bits to get 11111000, then add 1 to get 11111001.
What is the primary difference between a D flip-flop and a D latch?
Answer: A flip-flop is edge-triggered; a latch is level-sensitive
A D flip-flop captures data on a clock edge, while a D latch is transparent whenever the enable signal is active (level-sensitive).
A 4-bit binary ripple counter is clocked at 16 kHz. What is the output frequency at the most significant bit (Q3)?
Answer: 1 kHz
Each flip-flop in a ripple counter divides by 2, so a 4-stage counter divides by 16: 16 kHz ÷ 16 = 1 kHz at Q3.
Which type of shift register transfers data serially in and serially out?
Answer: SISO
SISO (Serial-In, Serial-Out) receives and transmits data one bit at a time.
In a JK flip-flop, what happens when both J and K inputs are logic 1 and a clock pulse arrives?
Answer: Output toggles
With J=K=1, the JK flip-flop toggles its output on each clock pulse, solving the race condition of the SR flip-flop.
A 3-bit synchronous counter counts from 000 to 111 and repeats. How many clock pulses are needed to complete one full cycle?
Answer: 8
A 3-bit counter has 2³ = 8 unique states (000 through 111), requiring 8 clock pulses for one complete cycle.
What is the main advantage of a synchronous counter over an asynchronous (ripple) counter?
Answer: All flip-flops are clocked simultaneously, eliminating propagation delays
Synchronous counters clock all flip-flops at the same time, preventing cumulative propagation delay and glitches.
Which register operation moves all bits one position toward the most significant bit, filling the LSB with zero?
Answer: Logical left shift
A logical left shift moves all bits toward the MSB by one position and inserts a 0 at the LSB, which is equivalent to multiplying by 2.
What does an analog-to-digital converter (ADC) do in a digital communications system?
Answer: Converts a continuous analog signal into discrete digital binary values
An ADC samples and quantizes a continuous analog signal, converting it into a series of discrete binary numbers.
What is the Nyquist sampling theorem's requirement for accurately digitizing an analog signal without aliasing?
Answer: Sample at least twice the highest frequency present in the signal
The Nyquist theorem requires a sampling rate of at least twice the highest frequency component to prevent aliasing errors.
In microprocessor terminology, what is an interrupt?
Answer: A signal that causes the CPU to suspend its current task and execute a special service routine
An interrupt is an asynchronous signal from hardware or software that causes the CPU to pause, save its state, and execute an interrupt service routine (ISR).
What is the resolution of an 8-bit digital-to-analog converter (DAC) expressed as a percentage of full scale?
Answer: 0.39%
An 8-bit DAC has 2⁸ = 256 steps, so resolution = 1/256 ≈ 0.39% of full-scale output.
In a microprocessor system, what is the difference between memory-mapped I/O and isolated I/O?
Answer: Memory-mapped I/O assigns peripherals addresses in the memory space; isolated I/O uses a separate address space with dedicated I/O instructions
Memory-mapped I/O treats peripherals as memory locations; isolated (port-mapped) I/O uses a separate address space accessed via IN/OUT instructions.
What is the purpose of a watchdog timer in a microcontroller-based system?
Answer: Automatically resets the processor if software fails to periodically reset the timer
A watchdog timer resets the microcontroller if the software freezes or crashes and fails to periodically 'kick' (reset) the timer before it overflows.
Written and edited by Nathan Beja, founder of Practice Test Geeks, with AI assistance. Exam facts are checked against the official sources linked below. Editorial policy
Sources & references
Exam facts on this page (fees, format, dates, passing scores) are checked against these official sources; the date is our last check. Editorial policy
- fcc.gov — Fees, eligibility, renewal, exam format, passing score · verified Nov 2026
- ecfr.gov — Eligibility, exam format, score release, test dates, score validity · verified Nov 2026
- etai.org — Exam dates, retake fee, retake policy, time limit · verified Nov 2026
- marinerslearningsystem.com — Test delivery, retake policy, score release, time limit · verified Nov 2026
- exemplarglobal.org — Test delivery, retake policy, time limit, eligibility · verified Nov 2026
- nationalradioexaminers.com — Fees · verified Nov 2026