Difference between revisions of "CSC103 Homework 2 2013"
(→Logic Design Problem) |
(→Logic Simulator) |
||
Line 35: | Line 35: | ||
The truth table of ''f'' is given below: | The truth table of ''f'' is given below: | ||
− | + | <br /> | |
+ | <center> | ||
{| | {| | ||
! a | ! a | ||
Line 49: | Line 50: | ||
| F | | F | ||
| F | | F | ||
− | | | + | | T |
| F | | F | ||
|- | |- | ||
| F | | F | ||
− | | | + | | T |
| F | | F | ||
| T | | T | ||
|- | |- | ||
| F | | F | ||
− | | | + | | T |
− | | | + | | T |
| F | | F | ||
|- | |- | ||
− | | | + | | T |
| F | | F | ||
| F | | F | ||
| F | | F | ||
|- | |- | ||
+ | | T | ||
| F | | F | ||
− | | | + | | T |
− | |||
| T | | T | ||
|- | |- | ||
− | | | + | | T |
− | | | + | | T |
| F | | F | ||
| T | | T | ||
|- | |- | ||
− | | | + | | T |
− | | | + | | T |
− | | | + | | T |
| F | | F | ||
|-} | |-} | ||
− | + | </center> | |
<br /> | <br /> | ||
;Question 1 | ;Question 1 |
Revision as of 06:44, 17 September 2013
--D. Thiebaut (talk) 07:41, 17 September 2013 (EDT)
This homework is due in class at 9:00 a.m. on 9/24/13. You can work on it in pairs, in which case you should put both names on the work you turn in. If you work in pairs, you must do the work together, i.e. meet one or several time to accomplish all the work with your partner. You need to turn in typed or handwritten work, on paper, on the due date. Make sure your homework is stapled, and that your name (and possibly that of your partner) is on all the sheets.
Logic Design Problem
- Question 1
- What is the truth table of this circuit? You can figure out the answer in several ways. One is to analyze the circuit "by hand" on a piece of paper and figure out the value of the different signals at the output of the different gates for all possible combinations of the inputs. The other one, longer but fool-proof, is to use the logic simulator we used in class, "wire-up" the circuit, and test its output for all combinations of the inputs.
- Question 2
- What is the boolean expression for the output of this circuit?
Logic Simulator
Assume that you have a boolean function f of three boolean variables a, b, and c.
The truth table of f is given below:
a | b | c | f |
---|---|---|---|
F | F | F | F |
F | F | T | F |
F | T | F | T |
F | T | T | F |
T | F | F | F |
T | F | T | T |
T | T | F | T |
T | T | T | F |