Computing Technology Inquiry
Bits, Bytes, and Boolean Algebra
date
Aug 2, 2023
slug
bits-bytes-and-boolean-algebra
author
status
Public
tags
computer
summary
type
Post
thumbnail
category
Computing Technology Inquiry
updatedAt
Aug 3, 2023 06:08 AM
What is BinaryBuffer gateTruth tableNot GateTruth table - itโs always going to be the oppositeAnd GateOR GateAND v.s NANDAND Gate and Not Gate = NAND Gate2 types of NAND Gate = NOT Gate2 Types of NAND Gate - all input a and input a,bOR v.s NORHow to write a function given block diagrams with AND & OR GatesHow to write a function of a multi-level circuit diagramHow to draw a block diagram given the functionIdentifying Sum of Products Expressions (POS)Identifying Product of Sums Expressions (POS)Identifying the number of product terms, sum terms, literals, variables, Minterms (standard product terms), and Maxterms(standard sum terms)
ย
What is Binary
0 โ off โ F โ 0 Volt
1 โ on โ T โ 5 Volts (but something other than zero)
ย
Buffer gate
- It looks like a triangle pointing towards the right.
- On the left point: input
- On the right point: output
- If we call input โaโ, the output will also be the same.
ย
Truth table
a | out |
1 | 1 |
0 | 0 |
ย
Not Gate
- it looks like buffer gate but it has a circle in the front
- If the input is a, the output will be the complementary of a
Truth table - itโs always going to be the opposite
a | out |
0 | 1 |
1 | 0 |
โ Basically, if the input is in the off state, the output will be in an on state, and vice versa.
ย
And Gate
- 2 inputs and 1 output
a | b | out |
0 | 0 | 0 |
ย
a | b | out |
1 | 0 | 0 |
ย
a | b | out |
0 | 1 | 0 |
ย
ย
a | b | out |
1 | 1 | 1 |
ย
OR Gate
- Itโs a+b for the or logic gate
ย
a | b | out |
0 | 0 | 0 |
ย
a | b | out |
1 | 0 | 1 |
ย
a | b | out |
0 | 1 | 1 |
a | b | out |
1 | 1 | 1 |
ย
AND v.s NAND
0โ = 1
1โ = 0
a | b | ab |
0 | 0 | 0 |
1 | 0 | 0 |
0 | 1 | 0 |
1 | 1 | 1 |
AND
ย
ย
Contrast โ
a | b | ab |
0 | 0 | 1 |
1 | 0 | 1 |
0 | 1 | 1 |
1 | 1 | 0 |
NAND
ย
AND Gate and Not Gate = NAND Gate
ย
2 types of NAND Gate = NOT Gate
ย
2 Types of NAND Gate - all input a and input a,b
a | a | (aa)โ |
0 | 0 | 1 |
1 | 1 | 0 |
a | b | (ab)โ |
0 | 0 | 1 |
1 | 0 | 1 |
0 | 1 | 1 |
1 | 1 | 0 |
OR v.s NOR
a | b | a+b |
0 | 0 | 0 |
1 | 0 | 1 |
0 | 1 | 1 |
1 | 1 | 1 |
a | b | (a+b)โ |
0 | 0 | 1 |
1 | 0 | 0 |
0 | 1 | 0 |
1 | 1 | 0 |
How to write a function given block diagrams with AND & OR Gates
ย
ย
ย
How to write a function of a multi-level circuit diagram
ย
ย
How to draw a block diagram given the function
Identifying Sum of Products Expressions (POS)
ย
Identifying Product of Sums Expressions (POS)
ย
Identifying the number of product terms, sum terms, literals, variables, Minterms (standard product terms), and Maxterms(standard sum terms)
- One literal could be a product term
ย