Digital Logic · Unit 2 · 5 hrs
Boolean algebra and Logic Gates
Exam-focused notes for Boolean algebra and Logic Gates (Digital Logic, CSC116): what the TU syllabus asks and how it has actually been tested, with 4 solved past questions from this unit.
Boolean algebra and Logic Gates in short
This chapter develops the algebra that digital circuits are built on: the postulates and theorems of Boolean algebra, how a Boolean function is defined and put into standard form, the operations and physical gates that realize it, and the integrated circuit technology used to manufacture those gates.
What this unit covers
- Basic and Axiomatic definitions of Boolean algebra
- Basic Theorems and properties of Boolean Algebra
- Boolean Functions
- Logic Operations
- Logic Gates
- Integrated Circuits
Boolean Functions
2079 · 5 marks
Express F′=(x+y+z)′F' = (x + y + z)'F′=(x+y+z)′ as a sum of min-terms. [5]
2075 · 5 marks
Express the Boolean function F = A+B'C in a sum of minterms. [5]
Integrated Circuits
2079 · 5 marks
Write short notes on (Any two): a. Positive Logic b. I2L c. ASCII [5]
Show solved answerHide answer
Short Notes (Any Two): a. Positive Logic and c. ASCII
a. Positive Logic
Positive Logic is a convention used in digital systems to assign binary logic values (0 and 1) to the two voltage levels present in a circuit.
Definition:
In positive logic, the higher voltage level is assigned the logic value 1 (HIGH) and the lower voltage level is assigned the logic value 0 (LOW).
| Voltage Level | Logic Value |
|---|---|
| High Voltage (e.g., +5V) | Logic 1 |
| Low Voltage (e.g., 0V) | Logic 0 |
Key Points:
- It is the most commonly used logic convention in digital circuits and computers.
- Logic gates (AND, OR, NOT, etc.) are designed and analyzed based on this convention.
- The opposite convention is called Negative Logic, where the lower voltage level represents logic 1 and the higher voltage level represents logic 0.
- The same physical circuit can perform different logical operations depending on whether positive or negative logic convention is applied.
Example:
- In a TTL (Transistor-Transistor Logic) circuit, +5V = Logic 1 and 0V = Logic 0 under positive logic convention.
c. ASCII
ASCII stands for American Standard Code for Information Interchange.
Definition:
ASCII is a standard character encoding scheme used to represent text and control characters in computers and communication devices using binary numbers.
Key Features (from notes):
- ASCII uses a 7-bit code, consisting of:
- 3 zone bits (higher order bits)
- 4 numeric bits (lower order bits)
- Total possible combinations: 2^7 = 128 characters
Character Representation:
| Category | Number of Characters |
|---|---|
| Alphabets (uppercase A-Z and lowercase a-z) | 62 |
| Numerals (0-9) | 10 |
| Special Characters | 66 |
Example:
| Character | ASCII (Decimal) | ASCII (Binary) |
|---|---|---|
| A | 65 | 100 0001 |
| a | 97 | 110 0001 |
| 0 | 48 | 011 0000 |
Additional Notes:
- ASCII is considered an improvement over the BCD code as it can represent a much wider range of characters.
- It is widely used in data communication, keyboards, and text files.
- An extended version (ASCII-8) uses 8 bits, allowing 256 characters, which includes additional special and graphical symbols.
- Another extended code, EBCDIC (Extended Binary Coded Decimal Interchange Code), is used mainly in IBM mainframe computers.
2077 · 5 marks
Where is CMOS suitable to use? Define Power dissipation. Show that the positive logic NAND gate is a negative logic NOR gate and vice versa. [5]
Make Unit 2 stick
Practice CSC116 with flashcards & quizzes