Chapter 10 · Premium · free preview · 16 topics · 600 MCQs

Digital Electronics MCQs with Explanations and Theory

Number Systems, Codes, Boolean Algebra, Logic Gates, Flip-Flops, Counters, ADC/DAC, Memory and the 8085 Microprocessor

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

#TopicAccess
10.1Digital Signals and Number Systems
Analog vs digital, bits and positive logic, radix and place value, binary, octal, decimal and hexadecimal conversions.
Free (below)
10.2Binary 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.3BCD, 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.4Boolean Algebra and De Morgan's Laws
Boolean operators, basic identities, absorption, distributive laws, De Morgan's laws, duality and evaluating expressions.
Premium
10.5Logic 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.6SOP, 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.7Logic 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.8Adders, Multiplexers, Decoders and Displays
Combinational vs sequential circuits, half and full adders and subtractors, multiplexers, demultiplexers, decoders, encoders and seven-segment displays.
Premium
10.9Latches 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.10Counters and Shift Registers
MOD-N counters, number of flip-flops, frequency division, ripple vs synchronous counters, shift-register types and Johnson counters.
Premium
10.11Clock 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.12DACs 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.13Memory 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.14Microprocessor 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.158085 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.16Interrupts, 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.

Digital signal

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.

Bit, nibble, byte

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

SystemBase (radix)DigitsExample
Binary20, 11011₂ = 11
Octal80–717₈ = 15
Decimal100–942
Hexadecimal160–9, A–F (A = 10 … F = 15)2A₁₆ = 42
Place value
Digit in position i (i = 0 just left of the point; negative to the right)
Base (radix) of the system
Values in n bits
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

  1. 110101.101₂ = 32 + 16 + 4 + 1 + 0.5 + 0.125.
53.625₁₀

Decimal to binary

  1. 45 = 32 + 8 + 4 + 1 = 2⁵ + 2³ + 2² + 2⁰.
101101₂

Hexadecimal to decimal

  1. 2AF₁₆ = 2 × 256 + 10 × 16 + 15 = 512 + 160 + 15.
687₁₀
Exam pointBinary weights: 1, 2, 4, 8, 16, 32, 64, 128. One hex digit = 4 bits, one octal digit = 3 bits, so a 16-bit value needs 4 hex digits. Largest digit: octal 7, hex F (= 15).
Common mistakeCommon confusion: 10₈ is eight, 10₁₆ is sixteen, 10₂ is two. Always note the base before adding or comparing.

Solved Digital Electronics MCQs

10 of the 600 questions in this chapter. Choose an option, then read the explanation.

Easy
1. How many distinct levels does one binary digit have?
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.

Easy
2. What is the name for a binary 0 or 1?
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.

Easy
3. What device changes analog information into a digital code?
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.

Easy
4. Which type of signal changes continuously in amplitude?
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.

Easy
5. In positive logic, what does a HIGH level normally represent?
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).

Easy
6. What is the radix of the binary number system?
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.

Easy
7. Which digits may appear in an ordinary binary numeral?
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.

Easy
8. In a binary number, what is the place value of the position just to the left of the units (2⁰) place?
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.

Easy
9. What does 1010₂ equal in decimal?
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₂.

Medium
10. How many binary bits are needed to encode one hexadecimal digit?
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).

Get all 16 topics and 600 explained MCQs

Try the free preview in the app, then unlock the full chapter with OhmPK Premium.

Exam guides that use this chapter