BANK: DIGITAL
FUNDAMENTALS (FLOYD
11TH ED.)
PART 0: THE TABLE OF CONTENTS
● PART I: THE PREVIEW
○ The Mentor's Introduction
○ Critical Axioms of Digital Design
● PART II: THE ELITE TEST BANK
○ Tier 1 (Questions 1–10): Foundational Syntax & Application
■ Core logic gates, timing definitions, waveform parameters, and arithmetic
invariants.
○ Tier 2 (Questions 11–20): Complex Application & Simulation
■ State machines, setup/hold constraints, programmable logic evolution, and
metastability dynamics.
○ Tier 3 (Questions 21–30): Grandmaster Synthesis
■ Multi-domain timing closure, high-frequency synchronization, clock skew
utilization, and system-level triage.
PART I: THE PREVIEW
Mastering this test bank ensures your transition from a theoretical student into an elite digital
architect capable of passing any board certification and designing fail-safe, high-frequency
circuits. You will not memorize formulas here; you will internalize the immutable laws of digital
logic, timing, and system architecture until they become professional instinct.
The Critical Axioms Cheat Sheet
● The Setup Time Law: To capture data reliably, the maximum allowable combinational
delay is defined by the inequality T_{clk} + T_{skew} \ge T_{cq} + T_{comb} + T_{su}.
Violation indicates the clock arrives before the data is perfectly stable.
● The Hold Time Law: To prevent data from racing through sequentially adjacent flip-flops
in the same clock cycle, the minimum delay must satisfy T_{cq} + T_{cd} \ge T_{hold} +
T_{skew}. Violation means the data changes before the capturing flip-flop can secure it.
● The Metastability MTBF Axiom: The Mean Time Between Failures for a synchronizer
, increases exponentially with available resolution time (t_r), calculated as MTBF =
\frac{e^{(t_r/\tau)}}{f_c \cdot f_d \cdot T_0}. To exponentially improve reliability, maximize
t_r by adding synchronizer stages or dividing the clock frequency locally.
● The Clock Skew Duality: Positive clock skew relaxes setup time constraints but severely
tightens hold time constraints. Negative skew tightens setup time constraints but relaxes
hold time constraints.
● The 2's Complement Overflow Rule: In signed arithmetic, hardware overflow occurs
strictly when two inputs sharing the same sign produce a sum with the opposite sign,
mathematically represented as V = C_{in} \oplus C_{out} at the most significant bit.
PART II: THE ELITE TEST BANK
Tier 1: Foundational Syntax & Application
Q1: A logic analyzer monitors a periodic digital waveform operating at a frequency of 250 kHz
with a pulse width of 1.5 µs. Based on the principles of Digital Waveform Analysis, which
conclusion regarding the signal's duty cycle is the MOST ACCURATE? A) The duty cycle is
25.0%, representing a signal that is active for a quarter of its total period. B) The duty cycle is
37.5%, representing a signal that remains HIGH for the minority of its cycle. C) The period is 4.0
µs, resulting in a duty cycle of 60.0%, indicating a predominantly HIGH signal. D) The signal
features a symmetric duty cycle of 50.0%, standard for baseband clock transmission.
● Answer: B (The duty cycle is 37.5%, representing a signal that remains HIGH for the
minority of its cycle.)
● Distractor Analysis:
○ A is incorrect: This calculation mistakenly assumes a 1.0 µs pulse width on a 4.0 µs
period, failing to utilize the provided 1.5 µs metric.
○ C is incorrect: While the period T = 1/f = 4.0 \mu s is correct, dividing 1.5 µs by 4.0
µs equals 37.5%, not 60.0%.
○ D is incorrect: A 50.0% symmetric duty cycle would necessitate a 2.0 µs pulse
width, which contradicts the explicit parameters measured by the logic analyzer.
The Mentor's Analysis: The duty cycle defines the ratio of active pulse width to the total
waveform period, providing critical insight into power consumption and timing symmetry. By
accurately isolating the period from the frequency (T = \text{ kHz} = 4 \mu s), calculating
the duty cycle becomes a trivial mathematical ratio of 1..0. A failure to extract the period
from the frequency is a hallmark of novice diagnostic errors. Professional/Academic Intuition:
Never estimate duty cycles visually on a logic analyzer; always mathematically extract
the period from the frequency to determine the exact duty cycle ratio.
Q2: An Arithmetic Logic Unit (ALU) uses 8-bit 2's complement representation. It attempts to add
the signed decimal values -85 (10101011) and -50 (11001110). Based on the principles of
Signed Binary Arithmetic, which outcome is the MOST ACCURATE? A) The ALU outputs
01111001 (+121), and the overflow flag is set to 1, indicating a sign bit reversal. B) The ALU
outputs 101111001 (-135), and the overflow flag is set to 0 because the MSB correctly indicates
a negative result. C) The ALU outputs 01111001 (+121), but the overflow flag remains 0
because the carry out of the MSB is discarded in 8-bit architectures. D) The ALU outputs
11111001 (-7), resulting from an underflow error isolated within the least significant nibble.
● Answer: A (The ALU outputs 01111001 (+121), and the overflow flag is set to 1,
indicating a sign bit reversal.)
, ● Distractor Analysis:
○ B is incorrect: An 8-bit system hardware architecture cannot physically output 9 bits.
The 9th bit is automatically discarded, leaving a positive sign bit (0) in the Most
Significant Bit position.
○ C is incorrect: While the output is indeed +121 and the carry out is discarded, the
overflow flag must be set to 1 because the addition of two negative numbers
yielded a positive result, breaking the arithmetic bounds.
○ D is incorrect: This represents a catastrophic failure in basic binary addition logic,
not a valid arithmetic underflow condition.
The Mentor's Analysis: In N-bit 2's complement systems, the representable numerical range is
heavily restricted. When two numbers of the same sign are added and produce a sum of the
opposite sign, the physical bounds of the architecture have been breached. The arithmetic unit
flags this by checking the XOR of the carry-in and carry-out of the MSB. Understanding this
physical limitation ensures you design ALUs that flag invalid data rather than propagating silent
corruption. Professional/Academic Intuition: In signed arithmetic, a hardware overflow is
logically guaranteed if the signs of both operands are identical, yet the sign of their sum
differs.
Q3: A design engineer is tasked with replacing a complex combinational circuit using only one
type of logic gate to streamline Application-Specific Integrated Circuit (ASIC) manufacturing.
Based on the principles of Boolean Algebra and Logic Gates, which statement regarding
universal gates is the MOST ACCURATE? A) The XOR gate is universal because it can
conditionally act as an inverter, enabling all other logic functions to be derived dynamically. B)
The NAND gate is universal because tying its inputs together creates a NOT gate, and stacking
NAND gates can synthesize AND, OR, and NOR functions. C) The AND gate is universally
applicable when paired with a multiplexer, as it can dynamically route positive logic across any
standard matrix. D) The NOR gate is universal, but it requires significantly fewer transistors to
synthesize an AND function compared to a NAND gate.
● Answer: B (The NAND gate is universal because tying its inputs together creates a NOT
gate, and stacking NAND gates can synthesize AND, OR, and NOR functions.)
● Distractor Analysis:
○ A is incorrect: While XOR can act as a controlled inverter, it cannot inherently
synthesize an AND or OR function on its own, disqualifying it entirely as a universal
gate.
○ C is incorrect: A multiplexer itself is a complex arrangement of basic logic gates;
relying on it negates the fundamental definition of utilizing a single universal logic
gate.
○ D is incorrect: Synthesizing an AND function with NOR gates requires more
discrete logic components (three NOR gates) than using native NAND gates (two
NAND gates), making it less efficient for this specific function.
The Mentor's Analysis: Universal gates form the bedrock of cost-effective ASIC and
Field-Programmable Gate Array (FPGA) manufacturing. Because any Boolean function can be
implemented exclusively with NAND (or NOR) gates, they standardize the physical layout at the
transistor level. By utilizing DeMorgan's Theorems, engineers manipulate equations to fit
exclusively into NAND topologies, bypassing the manufacturing complexities of mixing logic
families. Professional/Academic Intuition: Standardizing a design on NAND logic not only
satisfies universal logic requirements but typically results in the lowest transistor count
and highest switching speed in CMOS manufacturing.
Q4: In a synchronous digital system, data is continuously clocked into a series of D flip-flops.