Digital Electronics MCQs with Explanations and Theory
This chapter covers the digital electronics questions that recruitment tests repeat most: binary, octal and hexadecimal conversions; binary arithmetic and two's complement; BCD, Gray, excess-3 and ASCII codes; Boolean identities, De Morgan's laws and Karnaugh maps; logic gates, universal gates and truth tables; logic families, delay, fan-out and noise margin; adders, multiplexers and decoders; latches, flip-flops, counters and shift registers; the 555 timer; DACs and ADCs; RAM, ROM and memory addressing; and the 8085 microprocessor — registers, buses, instructions, stack, interrupts and DMA. Every numerical uses one or two steps.
What you will learn
- Convert between decimal, binary, octal and hexadecimal, and add, subtract and multiply in binary.
- Use two's complement for signed numbers, recognise overflow, and encode BCD, Gray, excess-3 and ASCII.
- Apply Boolean identities, absorption and De Morgan's laws, and simplify functions with SOP, POS and K-maps.
- Recall AND, OR, NOT, NAND, NOR, XOR and XNOR truth tables and build any function from NAND or NOR gates.
- Explain propagation delay, fan-in, fan-out, noise margin and the TTL, CMOS and ECL families.
- Describe adders, multiplexers, decoders, SR/D/T/JK flip-flops, counters and shift registers.
- Compute 555 timer frequency and pulse width, DAC step size, ADC resolution and flash comparator count.
- Compare RAM, ROM, SRAM, DRAM, EPROM, EEPROM and flash, and relate address lines to memory capacity.
- Explain the 8085 registers, buses, ALE, machine cycles, instructions, addressing modes, stack, interrupts and DMA.
Topics in this chapter
| # | Topic | Access |
|---|---|---|
| 10.1 | Digital Signals and Number Systems Analog vs digital, bits and positive logic, radix and place value, binary, octal, decimal and hexadecimal conversions. | Free (below) |
| 10.2 | Binary Arithmetic and Signed Numbers Binary addition, subtraction and multiplication, one's and two's complement, signed range, reading signed hex bytes and overflow. | Premium |
| 10.3 | BCD, Gray, Excess-3 and ASCII Codes 8421 BCD and its invalid codes, Gray code and its one-bit change, binary-to-Gray conversion, excess-3 and 7-bit ASCII. | Premium |
| 10.4 | Boolean Algebra and De Morgan's Laws Boolean operators, basic identities, absorption, distributive laws, De Morgan's laws, duality and evaluating expressions. | Premium |
| 10.5 | Logic Gates, Truth Tables and Universal Gates AND, OR, NOT, NAND, NOR, XOR and XNOR truth tables, dominant inputs, parity, and building any function from NAND or NOR. | Premium |
| 10.6 | SOP, POS, Minterms and Karnaugh Maps Sum of products and product of sums, minterms and maxterms, K-map layout in Gray order, grouping rules and don't-cares. | Premium |
| 10.7 | Logic Families and IC Characteristics Propagation delay, rise and fall time, fan-in, fan-out, noise margin, floating inputs, Schmitt trigger, TTL, CMOS, ECL, I²L and IC scale. | Premium |
| 10.8 | Adders, Multiplexers, Decoders and Displays Combinational vs sequential circuits, half and full adders and subtractors, multiplexers, demultiplexers, decoders, encoders and seven-segment displays. | Premium |
| 10.9 | Latches and Flip-Flops Bistable storage, SR latch and its forbidden state, D, T and JK flip-flops, edge triggering, race-around and master-slave. | Premium |
| 10.10 | Counters and Shift Registers MOD-N counters, number of flip-flops, frequency division, ripple vs synchronous counters, shift-register types and Johnson counters. | Premium |
| 10.11 | Clock Pulses, Multivibrators and the 555 Timer Period, frequency and duty cycle, astable, monostable and bistable multivibrators, 555 astable frequency and monostable pulse width. | Premium |
| 10.12 | DACs and ADCs DAC step size, weighted-resistor and R–2R ladder DACs, ADC resolution and quantisation error, flash, SAR, ramp and dual-slope ADCs. | Premium |
| 10.13 | Memory Devices and Organisation RAM and ROM, SRAM vs DRAM, EPROM, EEPROM and flash, address lines and capacity, address ranges, and older storage technologies. | Premium |
| 10.14 | Microprocessor Basics and 8085 Architecture CPU, ALU and control unit, 8085 registers and flags, address, data and control buses, AD0–AD7 multiplexing and ALE, T-states and machine cycles. | Premium |
| 10.15 | 8085 Instructions, Addressing Modes, Stack and Programming Addressing modes, data-transfer, arithmetic, logic, rotate and branch instructions, CALL/RET and the stack, assemblers and programming languages. | Premium |
| 10.16 | Interrupts, DMA and I/O Interfacing 8085 interrupts, priority, vectors and triggering, EI, DI, SIM and RIM, DMA with HOLD/HLDA, memory-mapped vs isolated I/O and address decoding. | Premium |
Free topic 10.1: Digital Signals and Number Systems
Analog vs digital, bits and positive logic, radix and place value, binary, octal, decimal and hexadecimal conversions.
A signal that takes values from a small set of levels, usually LOW (0) and HIGH (1). An analog signal can take any value in a continuous range. In positive logic HIGH = 1 and LOW = 0. Logic 0 and 1 are logical values, not exactly 0 V and 1 V: the voltage bands depend on the logic family.
A bit is one binary digit (0 or 1). A nibble is 4 bits, a byte is 8 bits. A word is the group of bits a processor handles as one unit (its word length). An ADC changes analog values into a digital code; a DAC does the reverse.
Number systems
| System | Base (radix) | Digits | Example |
|---|---|---|---|
| Binary | 2 | 0, 1 | 1011₂ = 11 |
| Octal | 8 | 0–7 | 17₈ = 15 |
| Decimal | 10 | 0–9 | 42 |
| Hexadecimal | 16 | 0–9, A–F (A = 10 … F = 15) | 2A₁₆ = 42 |
| Digit in position i (i = 0 just left of the point; negative to the right) | ||
| Base (radix) of the system |
| Number of bits |
Decimal → binary: divide by 2 repeatedly and read the remainders from bottom to top (or split the number into powers of two: 45 = 32 + 8 + 4 + 1). Decimal fraction → binary: multiply by 2 repeatedly and read the integer parts downward; 0.1₁₀ gives a repeating binary fraction. Decimal → octal: divide by 8. Binary ↔ octal: group 3 bits; binary ↔ hex: group 4 bits.
Binary to decimal
- 110101.101₂ = 32 + 16 + 4 + 1 + 0.5 + 0.125.
Decimal to binary
- 45 = 32 + 8 + 4 + 1 = 2⁵ + 2³ + 2² + 2⁰.
Hexadecimal to decimal
- 2AF₁₆ = 2 × 256 + 10 × 16 + 15 = 512 + 160 + 15.
Solved Digital Electronics MCQs
10 of the 600 questions in this chapter. Choose an option, then read the explanation.
Show answer
Answer: D. 2 A binary digit (bit) can be only 0 or 1, so it has exactly two levels. Why not the others: 10 is the number of decimal digits, 8 the number of octal digits, and one level could not carry any information.
Show answer
Answer: B. Bit A single binary 0 or 1 is called a bit (binary digit). Why not the others: a byte is 8 bits, a word is the group of bits handled together, and a register is a storage circuit, not a digit.
Show answer
Answer: D. Analog-to-digital converter An analog-to-digital converter (ADC) samples an analog quantity and gives a digital code for it. Why not the others: a DAC does the reverse; an amplifier only scales the signal; a multiplexer only selects one of several inputs.
Show answer
Answer: B. Analog An analog signal can take any value in a continuous range. Why not the others: binary, BCD and Gray-coded signals are digital — they use a limited set of levels or codes.
Show answer
Answer: D. Logical 1 In positive logic the more positive (HIGH) voltage stands for logic 1 and LOW stands for 0. Why not the others: logic 0 is the LOW level; an undefined level lies between the valid bands; a floating output is not a logic level at all. Exam tip: in negative logic the meanings are swapped (HIGH = 0).
Show answer
Answer: A. 2 Binary has two digits (0 and 1), so its base (radix) is 2. Why not the others: 8 is octal, 10 decimal and 16 hexadecimal.
Show answer
Answer: C. 0 and 1 A binary numeral uses only 0 and 1. Why not the others: 0–7 are octal digits, 0–9 decimal and 0–F hexadecimal.
Show answer
Answer: D. 2 Binary place values are powers of 2: 2⁰ = 1, then 2¹ = 2, 2² = 4, 2³ = 8 … Why not the others: 10 is the decimal place value; 8 and 16 belong to positions further left.
Show answer
Answer: A. 10 Given: 1010₂. Solution: add the place values of the 1 bits: 8 + 2 = 10. Answer: 10. Why not the others: 14 would need the bits 1110₂, 8 would need the bits 1000₂, 12 would need the bits 1100₂.
Show answer
Answer: B. 4 One hex digit has 16 values and 2⁴ = 16, so it needs exactly 4 bits. Why not the others: 3 bits make one octal digit; 2 bits give only 4 values; 8 bits make two hex digits. Exam tip: 1 hex digit = 4 bits (a nibble).
Try the free preview in the app, then unlock the full chapter with OhmPK Premium.
