EX OR gate
Duration: 11 min
This video lesson is available to enrolled students.
Inside: a video lesson and guided study material.
Module outline
- HPSC Interview Preparation: Interview Preparation
- Python Language: Introduction to Python Tokens, Variables, Data Types, I/O Operators & Expressions Control Flow & Looping Collections & Strings Functions & Modules File Handling & Data Analysis DSA using Python
- Data Structure & Algorithms: Introduction to DS Array Stack Queue Linked List Tree Graphs Hashing Algorithm Analysis Sorting Algorithms Minimum Spanning Trees Time Complexity Analysis Graph Theory Shortest Path Algos
- Computer Networks: Introduction to CN Data Communication DLL: Access Control DLL: Flow Control Data Link Layer - Ethernet Net Layer: IPv4 & Proto Net Layer: IP Addressing Transport Layer Services TL: Congestion & UDP Application Layer Hardware basics Network Security
- Computer System & Organisation: Basics of COA Cache Memory Organization Input Output Organisation Pipelining Instr Formats & Modes Control Unit Design Programming the Basic Computer
- Database Management System: Basics of DBMS ER Diagram Relational Model & Functional Dependencies Keys & Integrity Constraints Normalization (1NF - BCNF) Decomposition Properties & 4NF SQL File Organization & Indexing Transaction Management Concurrency Control
- Operating Systems: Introduction to OS Process Management CPU Scheduling Process Synchronization Deadlock Threads & Process Creation Memory Management Virtual Memory Disc Scheduling
- Digital Logic & Circuits: Digital Systems & Boolean Basics Logic Gates & Hardware Boolean Expression Boolean Minimization Combinational Circuit Sequential Circuits Number System Number Representation
- Theory Of Computation: Introduction to TOC Deterministic FA (DFA) Non-Deterministic FA Regular Expressions Grammar Regular Language Properties Pushdown Automata & CFG Turing Machines
- Compiler Design: Intro to Compilers Lexical Analysis Grammar & CFG Syntax Analysis: Top-Down Syntax Analysis: Bottom-Up Semantic Analysis & SDT Intermediate Code Gen Code Optimization Run Time Environment
- Software Engineering: Fundamentals of Software Engineering Software Requirements and Quality Assurance Software Design, Estimation and Metrics Software Testing Software Maintenance and Configuration Management Data Warehousing & Mining
- Introduction to Emerging Trends: Emerging Trends and AI Sets, Relations, Functions and Discrete Mathematics Trade, Marketing and Consumer Protection Internet of Things Cloud Computing अनुक्रम, श्रेणी और संयोजन आव्यूह और रैखिक बीजगणित वास्तविक और सम्मिश्र विश्लेषण Mathematics Pedagogy International Economics Electrostatics and Current Electricity Optics and Photonics Folk Art and Crafts Analysis of Financial Statements Business Foundations and Entrepreneurship Number Systems and Number Theory Solid State Physics and Electronics Number System Multimedia Network Access Technologies
- Digital Society & Cyber Law: Society, Law & Ethics Teaching Aids and Educational Technology Digital India and Online Services Culture, Socialisation and Social Control Communication Contexts and Media Public Administration and Governance MS Office Applications Language Design Web Publishing & Hosting C Fundamentals Internet Fundamentals
- HPSC PGT Previous Year Paper:
- HPSC Assistant Professor Previous Year Paper:
- Live Sessions: HPSC Live Sessions EMRS TGT/PGT Live Class
- Full Mock Test:
- HPSC PGT - MOCK Test Series:
AI summary & chapters
AI Summary
An AI-generated summary of this video lecture.
The video delivers a detailed lecture on the Exclusive-OR (EX-OR) logic gate, covering its definition, truth tables, and fundamental Boolean properties. It begins by defining the 2-input EX-OR gate, where the output is high only if inputs differ, and presents the corresponding algebraic expression and truth table. The lesson then expands to a 3-input configuration, establishing the rule that the output is high when the count of high inputs is odd. Subsequently, the instructor derives four key properties involving constants and variables, such as the identity and complement laws. The session concludes with a rigorous algebraic demonstration of the commutative and associative laws for the EX-OR operation.
Chapters
0:00 – 2:00 00:00-02:00
The instructor introduces the EX-OR gate with the on-screen text stating, 'For two inputs, output will be high if and only if both the input values are different.' He displays the algebraic formula $a \oplus b = a'.b + a.b'$ and a truth table with columns for Input A, Input B, and Output Y. He systematically fills the table, showing that inputs (0,0) and (1,1) yield 0, while (0,1) and (1,0) yield 1. To visualize this, he draws a Venn diagram with two overlapping circles, shading the non-overlapping regions to represent the symmetric difference. He also sketches the standard logic symbol for the EX-OR gate, noting the curved input side. The instructor points to the formula $a \oplus b = a'.b + a.b'$ to reinforce the algebraic representation.
2:00 – 5:00 02:00-05:00
The lecture transitions to a 3-input EX-OR gate, with the slide text explaining, 'The XOR gate is a digital logic gate that gives High as output when the number of inputs High are odd.' A truth table for inputs A, B, and C is presented. The instructor fills the output column based on the odd-parity rule: for inputs (0,0,0) the output is 0; for (0,0,1) it is 1; for (0,1,0) it is 1; for (0,1,1) it is 0; for (1,0,0) it is 1; for (1,0,1) it is 0; for (1,1,0) it is 0; and for (1,1,1) it is 1. He writes the resulting sequence of outputs as 0, 1, 1, 0, 1, 0, 0, 1, emphasizing the pattern of odd numbers of 1s. He uses a pen to mark the 1s in the input columns to count them.
5:00 – 10:00 05:00-10:00
The instructor details four specific properties of the EX-OR gate using a slide with numbered points. First, 'EX-OR with ZERO give same,' deriving $(a \oplus 0) = a'.0 + a.0' = 0 + a = a$. Second, 'EX-OR with ONE give comp,' deriving $(a \oplus 1) = a'.1 + a.1' = a' + 0 = a'$. Third, 'EX-OR with SAME give zero,' deriving $(a \oplus a) = a'.a + a.a' = 0 + 0 = 0$. Fourth, 'EX-OR with COMPLEMENT give one,' deriving $(a \oplus a') = a'.a' + a.a = a' + a = 1$. He also notes that the idempotent law does not apply, writing $(a \oplus a) eq a$. He begins proving the commutative law by writing $a \oplus b = a'b + ab'$ and showing it equals $b \oplus a$. The slide lists these properties as numbered points 1 through 4, with corresponding logic gate diagrams next to each equation.
10:00 – 11:27 10:00-11:27
The final segment focuses on proving the associative law for EX-OR gates. The instructor writes the equation $((a \oplus b) \oplus c) = (a \oplus (b \oplus c))$ on the board. He proceeds to expand the left-hand side algebraically, substituting the definition of EX-OR into the expression. He writes out the full Boolean expansion, showing terms like $a'b'c + a'bc' + ab'c' + abc$. He performs similar expansion for the right-hand side to demonstrate that both sides result in the same set of minterms, thereby proving the associative property holds true for the EX-OR operation. The board becomes filled with red and black ink as he works through the complex algebraic steps.
The video provides a structured progression from basic definitions to complex algebraic proofs. It starts with the fundamental behavior of the 2-input gate, moves to the generalized 3-input parity check, and then solidifies understanding through specific properties involving constants and variables. The lesson culminates in formal proofs of commutativity and associativity, ensuring students understand not just how the gate works, but why it behaves according to Boolean algebra rules.

