3rd Feb 2025
DEE: Digital Electronics for Engineering
- Course Objectives:
- To provide the basic understanding of properties and theorems of Boolean Algebra.
- To provide knowledge on logic gates, universal gates, and their classifications.
- To teach the techniques to reduce Boolean expressions by using K-map (Karnaugh Map).
- To give an introduction to logic families and different types of Integrated Circuits (IC 741, operational amplifier Op-Amp).
Unit 1: Number Systems and Boolean Algebra
1.1: Number Systems:
- Number systems, complements of Number systems, and binary codes.
1.2: Boolean Algebra:
- Properties and theorems of Boolean Algebra, Logic gates and universal gates, Multilevel NAND, NOR gates.
Unit 2: Minimization of Boolean Functions and Combinational Circuits
2.1: Minimization Techniques:
- K-Map (up to four variables) and Don’t Care conditions, Tabular method.
2.2: Combinational Circuits:
- Design and analysis of adders, subtractors, comparators, multiplexers (MUX), demultiplexers (DMUX), decoders, encoders, code converters, and hazard-free realizations.
4th Feb 2025
Unit 3: Sequential Circuits
- Study of sequential circuits, including:
- Flip-Flops (SR, JK, JK Master-Slave, D, T types).
- Registers (SISO, SIPO, PISO, PIPO).
- Counters (Ripple counters, Decade counters).
Unit 4: Logic Families
- Overview of logic families such as RTL, DTL, TTL, CMOS, ECL etc.
- AND, OR, NOT gates using diodes and transistors.
- TTL Characteristics
- Standard TTL.
- Open Collector.
- Tri-State.
Unit 5: Integrated Circuits (ICs)
- IC Interface:
- IC families/Classification.
- Operational Amplifiers:
- Ideal (IC 741 Op-Amp) and practical characteristics.
- DC and AC characteristics of Op-Amps.
- Modes: Inverting, Non-Inverting.
Unit 1
Number Systems
Number systems are useful in digital computer technology which give reliable and efficient arithmetic operations. It is broadly classified into two types:
- Non-Positional Number Systems (e.g., Roman Numerals).
- Positional Number Systems.
Positional Number Systems
A positional number system must contain a Radix/Base. The weight of a digit depends on its relative position within the number.


Radix/Base:
It is a term used to describe the positional number system.
or
It specifies the number of symbols used for corresponding number system.
| S.No | Number System | Base/Radix | Essential Numbers |
|---|---|---|---|
| 1 | Binary | 2 | 0, 1 |
| 2 | Octal | 8 | 0, 1, 2, 3, 4, 5, 6, 7 |
| 3 | Decimal | 10 | 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 |
| 4 | Hexadecimal | 16 | 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A(10), B(11), C(12), D(13), E(14), F(15) |
Representation of Numbers
Each binary digit is called a BIT (Binary Digit).
- 1 BIT = Single Binary Digit.
3-Bit Binary Representation
| Octal | Binary (3-bit) |
|---|---|
| 0 | 000 |
| 1 | 001 |
| 2 | 010 |
| 3 | 011 |
| 4 | 100 |
| 5 | 101 |
| 6 | 110 |
| 7 | 111 |
4-Bit Binary Representation
| Hexadecimal | Binary (4-bit) |
|---|---|
| 0 | 0000 |
| 1 | 0001 |
| 2 | 0010 |
| 3 | 0011 |
| 4 | 0100 |
| 5 | 0101 |
| 6 | 0110 |
| 7 | 0111 |
| 8 | 1000 |
| 9 | 1001 |
| A | 1010 |
| B | 1011 |
| C | 1100 |
| D | 1101 |
| E | 1110 |
| F | 1111 |
2-Bit Binary Representation
| Decimal | Binary (2-bit) |
|---|---|
| 0 | 00 |
| 1 | 01 |
| 2 | 10 |
| 3 | 11 |
5th Feb 2025
Number System Conversion
Any decimal system is converted into any base.
- Convert Integer part of any base number system by successive division.
- Convert Fractional part of any base number system by successive multiplication.
- This method is popularly called as double dabble Method.
Decimal to Binary:
Example:
-
Integer Part:
Binary Integer:
-
Fractional Part:
Binary Fraction:
Final Result:
Decimal to Octal:
Example:
-
Integer Part:
Octal Integer:
-
Fractional Part:
Octal Fraction:
Final Result:
Decimal to Hexadecimal:
Example:
- Integer Part: Hexadecimal Integer:
Final Result:
6th Feb 2025
Any Base to Decimal:
Example:
Problems:
-
- Group binary into sets of 4 bits:
- Convert each group to hexadecimal:
- Final Result:
-
- Expand using positional values:
-
- Perform successive division by 8:
- Octal Result:
-
- Convert each octal digit to 3-bit binary:
- Combine:
- Final Result:
Here is the corrected and properly formatted version of your notes using single $ for mathematical notations:
Octal to Binary:
- One octal digit is converted into binary; we require 3 binary bits.
| Octal | Binary |
|---|---|
| 0 | 000 |
| 1 | 001 |
| 2 | 010 |
| 3 | 011 |
| 4 | 100 |
| 5 | 101 |
| 6 | 110 |
| 7 | 111 |
Example:
- Convert each octal digit to 3-bit binary:
- Combine:
- Final Result:
Binary to Octal:
- Group binary digits into sets of 3 bits (starting from the right).
- Convert each group to its corresponding octal digit.
Examples:
-
Binary:
- Group into 3 bits:
- Convert:
- Final Result:
-
Binary:
- Group into 3 bits:
- Convert:
- Final Result:
-
Binary:
- Group into 3 bits:
- Convert:
- Final Result:
Hexadecimal to Binary:
- One hexadecimal digit is converted into binary; we require 4 binary bits.
| Hexadecimal | Binary |
|---|---|
| 0 | 0000 |
| 1 | 0001 |
| 2 | 0010 |
| 3 | 0011 |
| 4 | 0100 |
| 5 | 0101 |
| 6 | 0110 |
| 7 | 0111 |
| 8 | 1000 |
| 9 | 1001 |
| A | 1010 |
| B | 1011 |
| C | 1100 |
| D | 1101 |
| E | 1110 |
| F | 1111 |
Examples:
-
Hexadecimal:
- Convert each hexadecimal digit to 4-bit binary:
- Combine:
- Final Result:
-
Hexadecimal:
- Convert each hexadecimal digit to 4-bit binary:
- Combine:
- Final Result:
Binary to Hexadecimal:
- Group binary digits into sets of 4 bits (starting from the right).
- Convert each group to its corresponding hexadecimal digit.
Examples:
-
Binary:
- Group into 4 bits:
- Convert:
- Final Result:
-
Binary:
- Group into 4 bits:
- Convert:
- Final Result:
Hexadecimal to Octal:
- Convert hexadecimal to binary first (4 bits per digit).
- Then convert binary to octal (3 bits per group).
Example: Hexadecimal:
- Convert to binary: Binary:
- Group into 3 bits for octal:
- Convert:
- Final Result:
Octal to Hexadecimal:
- Convert octal to binary first (3 bits per digit).
- Then convert binary to hexadecimal (4 bits per group).
Example: Octal:
- Convert to binary: Binary:
- Group into 4 bits for hexadecimal:
- Convert:
- Final Result:
7th Feb 2025
Question:To convert FB39 (hexadecimal) to base 4:
Step 1: Hexadecimal to Decimal
Expand FB39:
Calculate:
Step 2: Decimal to Base 4
Dividebyrepeatedly, recording remainders:
- , Remainder =
- , Remainder =
- , Remainder =
- , Remainder =
- , Remainder =
- , Remainder =
- , Remainder =
- , Remainder =
Read remainders from bottom to top:
Binary Arithmetic
1. Binary Addition
Binary addition follows simple rules:
- (carry over 1 to the next higher bit)
2. Binary Subtraction
Binary subtraction follows these rules:
- (borrow 1 from the next higher bit)
3. Binary Multiplication
Binary multiplication is similar to decimal multiplication but simpler because it only involvesand:
4. Binary Division
| Operation | Result |
|---|---|
| Undefined | |
| Undefined | |
Example: Add and in binary
- Decimal:
- Binary equivalents: - -
Perform binary addition:
11010 (26)
+ 1101 (13)
---------
100111 (39)
Steps:
- Start from the rightmost bit.
- Add bits column by column, carrying over if necessary.
- Final result:, which equals.
Example: Subtract from in binary
- Decimal:
- Binary equivalents:
Perform binary subtraction:
11010 (26)
- 1101 (13)
---------
1101 (13)
Steps:
- Start from the rightmost bit.
- Borrow from the next higher bit if necessary.
- Final result: , which equals.
- Decimal:
- Binary equivalents:
Perform binary subtraction:
1101 (13)
- 11010 (26)
---------
110011 (13's 2's complement)