Difference between revisions of "CSC103 Final Solutions Fall 2012"
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
--[[User:Thiebaut|D. Thiebaut]] 10:11, 31 October 2012 (EDT) | --[[User:Thiebaut|D. Thiebaut]] 10:11, 31 October 2012 (EDT) | ||
---- | ---- | ||
+ | <onlydft> | ||
=Boolean Logic= | =Boolean Logic= | ||
+ | {| | ||
+ | |A | ||
+ | |B | ||
+ | |C | ||
+ | |D | ||
+ | |Y | ||
+ | |- | ||
+ | |0 | ||
+ | |0 | ||
+ | |0 | ||
+ | |0 | ||
+ | |1 | ||
+ | |- | ||
+ | |0 | ||
+ | |0 | ||
+ | |0 | ||
+ | |1 | ||
+ | |1 | ||
+ | |- | ||
+ | |0 | ||
+ | |0 | ||
+ | |1 | ||
+ | |0 | ||
+ | |0 | ||
+ | |- | ||
+ | |0 | ||
+ | |0 | ||
+ | |1 | ||
+ | |1 | ||
+ | |1 | ||
+ | |- | ||
+ | |0 | ||
+ | |1 | ||
+ | |0 | ||
+ | |0 | ||
+ | |1 | ||
+ | |- | ||
+ | |0 | ||
+ | |1 | ||
+ | |0 | ||
+ | |1 | ||
+ | |1 | ||
+ | |- | ||
+ | |0 | ||
+ | |1 | ||
+ | |1 | ||
+ | |0 | ||
+ | |0 | ||
+ | |- | ||
+ | |0 | ||
+ | |1 | ||
+ | |1 | ||
+ | |1 | ||
+ | |1 | ||
+ | |- | ||
+ | |1 | ||
+ | |0 | ||
+ | |0 | ||
+ | |0 | ||
+ | |1 | ||
+ | |- | ||
+ | |1 | ||
+ | |0 | ||
+ | |0 | ||
+ | |1 | ||
+ | |1 | ||
+ | |- | ||
+ | |1 | ||
+ | |0 | ||
+ | |1 | ||
+ | |0 | ||
+ | |0 | ||
+ | |- | ||
+ | |1 | ||
+ | |0 | ||
+ | |1 | ||
+ | |1 | ||
+ | |1 | ||
+ | |- | ||
+ | |1 | ||
+ | |1 | ||
+ | |0 | ||
+ | |0 | ||
+ | |1 | ||
+ | |- | ||
+ | |1 | ||
+ | |1 | ||
+ | |0 | ||
+ | |1 | ||
+ | |1 | ||
+ | |- | ||
+ | |1 | ||
+ | |1 | ||
+ | |1 | ||
+ | |0 | ||
+ | |1 | ||
+ | |- | ||
+ | |1 | ||
+ | |1 | ||
+ | |1 | ||
+ | |1 | ||
+ | |1 | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | * The equation is | ||
+ | |||
+ | Y = D or NOT( C AND NOT( A AND B ) ) ) | ||
+ | |||
+ | * There were also longer forms, which were also valid. | ||
=Assembly= | =Assembly= | ||
Line 87: | Line 198: | ||
</source> | </source> | ||
+ | </onlydft> |