C7 · Problem set 1
Problem set 1: logic levels, numbers and Boolean algebra
These problems use lessons 1 to 5: logic levels and noise margins, binary, hex and two's complement, Boolean algebra and gates, and canonical forms. Number truth-table rows from 0, with the first-listed input as the top bit.
Check
A logic family guarantees = 2.4 V and = 0.4 V, and accepts = 1.7 V and = 0.9 V.
(a)
What is the high noise margin?
Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.
(b)
What is the low noise margin?
Check
A 3.1 V output drives a CMOS input on 3.3 V, whose is 70% of its supply.
(a)
What is the input's ?
Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.
(b)
What is the high noise margin (negative means it won't work)?
Check
An 8-bit register holds the pattern 10101110.
(a)
What is its unsigned value?
(b)
What is its two's-complement value?
Check
Consider 8-bit two's-complement numbers.
(a)
What is the most negative?
(b)
What is the most positive?
Check
The decimal number 1000 must be stored in binary.
(a)
How many bits does it need?
(b)
How many hex digits?
Check
Consider functions of 3 inputs.
(a)
How many different functions are there?
(b)
A function with 1 minterms has how many maxterms?
Check
Inputs A = 0, B = 0, C = 1.
(a)
What does a 3-input NAND output?
(b)
What does a 3-input XOR output?
Check
A sum of products has 3 product terms of 2 literals each, built as NAND–NAND logic (complemented inputs available).
(a)
How many NAND gates does it need?
(b)
How many inputs does the output NAND have?
Check
Write a function of A, B, C equal to .
Write AND as · or & (or just AB), OR as +, XOR as ⊕, and NOT as ¬ or a trailing ': A·B + C' works.
Check
Write with inversions only on single variables.
Write AND as · or & (or just AB), OR as +, XOR as ⊕, and NOT as ¬ or a trailing ': A·B + C' works.
Check
Simplify .
Write AND as · or & (or just AB), OR as +, XOR as ⊕, and NOT as ¬ or a trailing ': A·B + C' works.
Check
Write a function equal to .
Write AND as · or & (or just AB), OR as +, XOR as ⊕, and NOT as ¬ or a trailing ': A·B + C' works.
Check
A Hamming code protects k = 11 data bits.
(a)
How many check bits does it need?
(b)
How long is each codeword?
Check
What's the Gray code of 0111?
Check
Simplify .
Write AND as · or & (or just AB), OR as +, XOR as ⊕, and NOT as ¬ or a trailing ': A·B + C' works.
Have paper and a calculator ready. Work each problem out by hand, then enter the answer. Your first try on each one counts toward your score.
Practice
Keep practicing
10 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.