Difference between revisions of "CSC103 Final Solutions Fall 2012"

From dftwiki3
Jump to: navigation, search
(Created page with "--~~~~ ---- =Assembly= This program provided by Erika is simple, short, and will compute the exact sum. <source lang="asm"> ; CSC 103 Final – Problem 2 ; Erika Miguel ; Compute...")
 
 
(5 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=
 +
 +
{|
 +
|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=
 
This program provided by Erika is simple, short, and will compute the exact sum.
 
This program provided by Erika is simple, short, and will compute the exact sum.
Line 84: Line 198:
  
 
</source>
 
</source>
 +
</onlydft>

Latest revision as of 09:58, 7 October 2013

--D. Thiebaut 10:11, 31 October 2012 (EDT)



...