Assignment1 - 7 Types of Logic Gates

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Carale, Mark Cristian T.

BET-ECET-1B
Assignment: 7 types of logic gates 3. name of gate: XOR ( exclusive-OR )
• symbol
1. name of gate: AND Gate
• symbol

• rule in getting the output


- the output is true even one of of the input
or both is true or the output is false if both
• rule in getting the output input is true
- When output is the both inputs is true • logic expression (output expression
otherwise it is false - Boolean Expression Q = A ⊕ B
• logic expression (output expression) • truth table
- Boolean Expression Q = A.B

• truth table Input 1 Input 2 Output

Input 1 Input 2 Output


1 1
1 1
1
1 1
1
1 1 1
4. name of gate: NOT Gate
• symbol
2. name of gate: OR
• symbol

• rule in getting the output


- if input is 1 then output is 0 also in vice
• rule in getting the output
versa
- The output is true even if their input is
• logic expression output expression
either both or not
- Boolean Expression Q = NOT A or A
• logic expression (output expression
• truth table
- Boolean Expression Q = A+B
• truth table Input Output
Input 1 Input 2 Output - 1
1
1 1
1 1
1 1 1
5. name of gate: NAND Gate 7. name of gate: XNOR Gate
• symbol • symbol

• rule in getting the output


• rule in getting the output - Output is true if both input is false also if
- The output is false if is both input is true but inputs is both true then output is also true
if one of input is false or both then output is • logic expression (output expression)
true - Boolean Expression Q = A ⊕ B
• logic expression (output expression) • truth table
- Boolean Expression Q = A .B
• truth table Input 1 Input 2 Output
Input 1 Input 2 Output 1
1 1
1 1 1
1 1 1 1 1
1 1

6. name of gate: NOR Gate


• symbol

• rule in getting the output


- The output is true only if both is false
• logic expression (output expression)
- Boolean Expression Q = A+B
• truth table

Input 1 Input 2 Output


1
1
1

1 1

You might also like