Digital Circuits and Binary Data
- 65Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
- spaceFlip card
- KI knew it
- DI didn't know it
- ←Previous card
- →Next card
What does “analog” mean in electronics?
Analog systems use quantities that can take infinitely many possible values.
Or swipe the card
65 cards
What does “analog” mean in electronics?
Analog systems use quantities that can take infinitely many possible values.
Why do digital systems generally have better repeatability than analog systems?
Digital systems limit signals to a finite number of values, making them more resistant to disturbances and easier to reproduce consistently.
What is a bit?
A bit is the logic state of one digital element and can have one of two values: high or low.
What is a binary word?
A binary word is a group of any number of bits used to store information in binary form.
How many combinations can be represented by n bits?
A set of n bits can represent 2n combinations.
How does a binary system differ from the decimal system?
The decimal system uses ten digits, 0 through 9, while the binary system uses only 0 and 1.
How many combinations can be represented by an 8-bit word?
28=256 combinations.
What is the place-value rule for binary numbers?
Starting at the right, binary positions have weights 20,21,22,23, and so on.
How is a binary word converted into a decimal number?
Multiply each bit by its positional power of 2 and add the results.
What decimal number is represented by the 8-bit binary word 01100111?
103, because 64+32+4+2+1=103.
Why is the most significant bit of an 8-bit representation of 103 equal to 0?
Because its weight is 27=128, which is greater than 103.
What decimal number is represented by the binary word with 1s in the fourth, fifth, and eighth positions from the right?
152, because 23+24+27=8+16+128=152.
What procedure converts a decimal number into binary?
Repeatedly divide the number by 2, record each remainder, and read the remainders from last to first.
What is the binary representation of decimal 152?
100110002.
What mathematical system describes two-state logic?
Boolean algebra.
What are the three basic Boolean operations?
Logical product, logical sum, and negation: AND, OR, and NOT.
What is a truth table?
A table that shows the output logic state for every possible combination of input logic states.
What is a logic gate?
A circuit that performs a Boolean operation on one or more input signals.
When does an AND gate produce a true output?
Only when all of its inputs are true.
When does an OR gate produce a true output?
When at least one input is true.
What does a NOT gate do?
It negates its input, changing true to false and false to true.
What are NAND and NOR gates?
NAND is a negated AND operation, and NOR is a negated OR operation.
What are XOR and XNOR gates?
XOR is an exclusive OR operation, and XNOR is the negation of XOR.
What is the difference between a multiplexer and a demultiplexer?
A multiplexer selects one of many inputs and sends it to one output; a demultiplexer sends one input to one selected output among many.
What is the purpose of address lines in multiplexers and demultiplexers?
They identify which input or output should carry the data.
What is a combinational logic system?
A system whose output depends only on the current logic states of its inputs.
What is a trigger or sequential logic system?
A logic system whose output depends on both its inputs and its internal state.
What is the role of a clock input in many triggers?
It synchronizes when changes in the stored state occur.
What is the purpose of the Karnaugh method?
To optimize Boolean functions and reduce the number of logic gates needed in a circuit.
How are Boolean values represented in a logic equation?
A true variable is written normally, while a false variable is represented by its negation.
What coding system is used for rows and columns in a Karnaugh map?
Gray code.
What does each cell in a Karnaugh map represent?
The output logic value for one specific combination of input values.
How many cells does a Karnaugh map for three input variables contain?
23=8 cells.
How many cells does a Karnaugh map for four input variables contain?
24=16 cells.
Why are adjacent 1s grouped in a Karnaugh map?
Grouping eliminates variables that change within the group and produces a shorter Boolean expression.
What is the advantage of forming larger groups of 1s in a Karnaugh map?
Larger groups generally produce simpler equations and require fewer logic gates.
How can an unknown or unused input state be treated during Karnaugh-map simplification?
It may be treated as either 0 or 1, whichever produces the simpler circuit.
What is the simplified expression for a group of cells in which only A remains constant at false?
egA.
What is a microprocessor?
A state machine that retrieves instructions from memory, decodes them, and executes them.
What kinds of activities can a microprocessor instruction perform?
It can perform operations on data or make decisions based on the program's history.
What two types of information can processor data represent?
Values or addresses of information stored in memory.
Why are complex mathematical calculations performed step by step in digital processors?
Processors use binary logic states and must interpret arithmetic through a sequence of binary operations.
What is memory in a digital system?
A system that stores data so it can typically be saved, read, or overwritten.
What happens to data in volatile memory when power is turned off?
The stored data is erased.
What is non-volatile memory?
Memory that retains stored data when power is removed, such as ROM or flash memory.
How do volatile and non-volatile memory typically compare in speed, cost, and capacity?
Volatile memory is faster but often has lower capacity for a given price; non-volatile memory is slower but can provide greater capacity for the same price.
What is the main role of volatile memory in a digital system?
To provide fast storage for performing operations and calculations.
What is the main role of non-volatile memory?
To store data permanently or for long-term use.
What does an analog-to-digital converter (ADC) do?
It converts an analog voltage or current into a corresponding digital signal represented by bits.
What does a digital-to-analog converter (DAC) do?
It converts a digital signal into an analog voltage.
What is the reference voltage of a converter?
The maximum voltage associated with the converter's operating range.
What can happen if the input voltage exceeds an ADC's reference voltage?
The converter or system may be damaged.
What is signal conditioning in converter systems?
Processing a signal so that its voltage or other characteristics fit the converter's required input range.
How can a 7 V signal be reduced to fit a converter with a 5 V maximum input?
Use a voltage divider, such as one made from two appropriately selected resistors.
What does the resolution of a converter describe?
The number of bits used to represent the voltage and therefore the number of available discrete states.
How many states does an 8-bit converter have?
28=256 states.
What is the approximate voltage step of a 10-bit converter with a 5 V reference?
Approximately 4.88 mV per step.
In a 10-bit, 5 V converter, what voltage does the digital code 512 represent?
Approximately 2.5 V.
What is conversion time?
The time required for an ADC or DAC to change or produce its converted value.
What trade-off commonly exists between converter resolution and speed?
Higher-resolution converters are often slower, so designers must balance accuracy against conversion speed.
For a 4-bit converter with a 5 V range, what is the approximate voltage represented by each state?
Approximately 5/16=0.3125 V per state.
In the 4-bit, 5 V example, what voltages do the codes 0001 and 0010 represent?
0001 represents approximately 0.3125 V, and 0010 represents approximately 0.625 V.
What is a microcontroller?
An integrated circuit containing a complete microprocessor system with memory and a large set of peripherals.
Why can a microcontroller perform different functions without changing its mechanical structure?
Its behavior can be changed by altering the program and data stored in memory.
Why are microcontrollers useful for building electronic devices?
They integrate processing, memory, and peripherals in a compact, programmable device.

Ask anything
We've read this whole study set, so questions about it get the best answers.