ANS: 230
ANS: -102
ANS: -25
ANS: -26
ANS: 32.375
A B NOT (NOT(A) OR NOT(B))
------------------------------------
0 0 0
0 1 0
1 0 0
1 1 1
Same truth table as the AND-gate.
ANSWER: A decoder sends a 1 to one of the 2^^n output lines. The n input lines are read like a binary number to choose which output line gets a 1.
A demultiplexer sends the input value (be it 0 or 1) to one of the 2^^n output lines. The n control lines select the output line the same way the decoder input lines do.
A B C D | F ---------------- 0 0 0 0 | 0 0 0 0 1 | 0 0 0 1 0 | 0 0 0 1 1 | 0 0 1 0 0 | 0 0 1 0 1 | 0 0 1 1 0 | 1 0 1 1 1 | 1 1 0 0 0 | 0 1 0 0 1 | 0 1 0 1 0 | 0 1 0 1 1 | 1 1 1 0 0 | 0 1 1 0 1 | 1 1 1 1 0 | 1 1 1 1 1 | 1
CD
00 01 11 10
+++++++++++++++++++++
+ + + + +
00 + + + + +
+ + + + +
+++++++++++++++++++++
+ + + + +
01 + + + 1 + 1 + (Not shown: 3 circles,
+ + + + + 1 around a group of four,
AB +++++++++++++++++++++ 2 around groups of two)
+ + + + +
11 + + 1 + 1 + 1 +
+ + + + +
+++++++++++++++++++++
+ + + + +
10 + + + 1 + +
+ + + + +
+++++++++++++++++++++
ANSWER: F= BC + ABD + ACD
(Not shown: circuit should have 4 input lines (A, B, C, D), 3 AND-gates, 1 OR-gate)
ANSWER: An interpreter takes one instruction at a time and converts that instruction into a sequence of instructions in another language. A microprogram takes one machine code instruction and converts it into microinstructions that are then executed.
time (t) 0 1 2 3 4 5 6 7 8 9 --------------------------------------------------------- S 1 1 1 0 1 1 0 1 1 1 R 0 1 1 1 1 1 1 1 0 1 A(t+) 0 0 0 1 1 1 1 1 0 0