Digital Electronics – Module 1: Number Systems &
Codes (5 Mark Questions)
1. Explain different types of number systems used in digital electronics.
• Decimal Number System (Base 10): Uses digits 0–9; each position represents power of 10.
• Binary Number System (Base 2): Uses digits 0 and 1; fundamental system used in digital
circuits and computers.
• Octal Number System (Base 8): Uses digits 0–7; provides a shorter representation of binary
numbers.
• Hexadecimal Number System (Base 16): Uses digits 0–9 and letters A–F; widely used in
programming and memory addressing.
2. Explain Decimal to Binary conversion with example.
• Divide the decimal number by 2 repeatedly.
• Record the remainder at each step.
• Continue division until the quotient becomes 0.
• Write the remainders in reverse order to obtain the binary number.
• Example: 25■■ → 11001■.
3. Explain 1’s Complement and 2’s Complement.
• 1’s Complement: Invert all bits (0 becomes 1 and 1 becomes 0). Example: 1010 → 0101.
• 2’s Complement: Add 1 to the 1’s complement. Example: 1010 → 0101 + 1 = 0110.
• These complements simplify binary subtraction.
• Used to represent negative numbers in digital systems.
4. Explain Binary Coded Decimal (BCD).
• BCD represents each decimal digit using a 4-bit binary equivalent.
• Example: Decimal 25 → 2 = 0010 and 5 = 0101 → BCD = 0010 0101.
• Each digit is encoded separately.
• Used in calculators, digital clocks, and display systems.
5. Explain Weighted and Non■Weighted Codes.
• Weighted Codes: Each bit position has a fixed weight value (e.g., 8421 BCD code).
• Example: Decimal 5 → 0101 in 8421 code.
• Non■Weighted Codes: Bit positions do not have fixed weights.
• Example: Gray Code, where only one bit changes between successive values.
• Used in error reduction and digital communication.
6. Explain Parity Generator and Parity Checker.
• Parity Generator: Adds an extra parity bit to data before transmission.
• Even Parity: Total number of 1s in data becomes even.
• Odd Parity: Total number of 1s becomes odd.
• Parity Checker: Verifies received data and detects transmission errors.
7. Explain Alphanumeric Codes.
• Used to represent letters, numbers, and symbols in binary form.
• ASCII (American Standard Code for Information Interchange) uses 7 or 8 bits.
• EBCDIC is another coding system used mainly in IBM computers.
• Applications include keyboard input, data storage, and communication between computer
systems.