Digital Electronics
Digital electronics works with two levels, 0 and 1. Exams ask number system conversions, 2's complement, Boolean algebra and gates, logic families, flip-flops, counters and registers, multiplexers and data converters.
What should you know about Digital Electronics?
- ECL (emitter-coupled logic): ECL transistors never saturate, so they switch very fast, at the cost of high power.
- S = 1, R = 1: Both outputs would be forced to 0, and the final state is unpredictable when the inputs return to 0.
- toggles its output on every clock pulse: A T flip-flop divides the clock frequency by 2; chains of them make ripple counters.
- A: Absorption law: A + AB = A(1 + B) = A. Similarly A(A + B) = A.
Which formulas and rules are used in Digital Electronics?
−N = invert all bits of N, then add 1
e.g. 2's complement
Gray: g₁ = b₁, gᵢ = bᵢ₋₁ ⊕ bᵢ
e.g. binary to Gray
flip-flops n: 2ⁿ ≥ N
e.g. mod-N counter
select lines = log₂ (inputs)
e.g. multiplexer
What are the shortcuts for Digital Electronics questions?
- Hex digit = 4 bits, octal digit = 3 bits: convert binary by grouping from the right.
- NAND and NOR are universal; XOR is 1 for unequal inputs.
- CMOS = lowest power, ECL = fastest, TTL fan-out = 10.
- The three wrong options are always of the same kind as the answer (four Articles, four years, four names). Recall one firm fact about each option and strike out the ones you are sure of.
How do you solve Digital Electronics questions? Worked examples
Example 1
Which flip-flop is used to store one bit of data (a delay or data latch)?
Options: D flip-flop; Schmitt trigger; SR flip-flop with S = R = 1; T flip-flop
Solution
Q takes the value of D at the clock edge; registers are made of D flip-flops.
Answer: D flip-flop
Example 2
A half adder is made of:
Options: one NAND gate only; one XOR gate and one AND gate; two OR gates; two XOR gates and one OR gate
Solution
Sum = A ⊕ B, Carry = AB. A full adder adds a carry input and needs two half adders plus an OR gate.
Answer: one XOR gate and one AND gate
Example 3
Convert the binary number 101101 to decimal.
Solution
- Place values: 32 + 0 + 8 + 4 + 0 + 1.
- = 45.
Answer: 45
What mistakes should you avoid in Digital Electronics?
- A mod-10 counter needs 4 flip-flops, not 3 (2³ = 8 < 10).
- 1's complement only inverts; 2's complement inverts AND adds 1.
- Read the question word carefully: NOT, FIRST, LAST, "correct" and "incorrect" turn the answer around.
Digital Electronics question book: practice each sub-topic
- Digital Electronics
Question book · 1 chapters
Digital Electronics
Convert the octal number 176 to decimal.
Solution
176₈ = 1 × 8^2 + 7 × 8^1 + 6 × 8^0 = 126
Answer: 126
Open the book to turn the pages: every question with its answer and full solution.
Ready? Take a mock: fresh questions every time, each with a step-by-step solution.