Lecture 1 - Binary and Boolean Algebra Flashcards
Understand Binary and Boolean Algebra
Define the term “Analog”
Infinite number of increments and/or possibilities
Define the term “Digital”
Means that there is a limited set of values by which something can be represented
What does 0 represent in the binary number system?
ON
What does 1 represent in the binary number system?
OFF
MSB
Refers to the outermost left bit and stands for “Most Significant Bit”
LSB
Refers to the outermost right bit and stands for “Least Significant Bit”
How is the binary number system different from the decimal number system?
Where the decimal number system has 10 symbols to be represented with (0 to 9) the binary number system only has two (0 to 1)
Nibble
Group of 4 bits
Byte
Group of 8 bits
Word
Another group of bits where the length is processor dependant (depends on what processor we’re looking at)
How many numbers can be represented in a n-bit word?
The number of states which can be represented are: 2^n ; (0 - 2^n)
What formula is used to calculate the amount of bits needed to represent a number?
Since the highest number to be represented is found using the formula: y = 2^n - 1, therefore to find the number of bits to represent it: n = log[2] (y + 1) ; log base 2
What do the 0s and 1s represent in a digital signal?
They represent a range of voltages (since the signals are waves, as long as the voltage is within a range it will either be on or off)
Grey Zone
Interpretable region in a digital signal graph which is outside of the ON voltage and OFF voltage range (sandwiched in between)
Accuracy (Analog vs. Digital)
Analog: 0.1% is considered a very good accuracy
Digital: Accuracy is directly proportional to the amount of circuitry added