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 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.
notion image
notion image
ย 
notion image

Truth table

a
out
1
1
0
0
ย 
notion image

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
notion image
notion image
notion image

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.
notion image
ย 

And Gate

  • 2 inputs and 1 output
notion image
a
b
out
0
0
0
ย 
notion image
a
b
out
1
0
0
notion image
ย 
a
b
out
0
1
0
ย 
notion image
ย 
a
b
out
1
1
1
notion image
ย 

OR Gate

  • Itโ€™s a+b for the or logic gate
notion image
ย 
a
b
out
0
0
0
notion image
ย 
a
b
out
1
0
1
notion image
ย 
a
b
out
0
1
1
notion image
a
b
out
1
1
1
notion image
ย 

AND v.s NAND

notion image
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

notion image
ย 

2 types of NAND Gate = NOT Gate

notion image
ย 

2 Types of NAND Gate - all input a and input a,b

notion image
a
a
(aa)โ€™
0
0
1
1
1
0
notion image
a
b
(ab)โ€™
0
0
1
1
0
1
0
1
1
1
1
0

OR v.s NOR

notion image
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

notion image
notion image
ย 
ย 
notion image
notion image
ย 

How to write a function of a multi-level circuit diagram

notion image
ย 
ย 

How to draw a block diagram given the function

notion image

Identifying Sum of Products Expressions (POS)

notion image
ย 

Identifying Product of Sums Expressions (POS)

notion image
ย 

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
ย