0% found this document useful (0 votes)
127 views

CS 1104 Unit 2 Assignment

This document contains 3 assignments for a logic circuit. The first assignment defines inputs A, B, C, and D and output X as A AND (B OR C OR D). The second assignment defines X as ((NOT A) AND B AND C) OR (A AND (NOT B) AND C). The third assignment provides the truth table for inputs A, B, C and output X.

Uploaded by

Omar Dye Ceesay
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
127 views

CS 1104 Unit 2 Assignment

This document contains 3 assignments for a logic circuit. The first assignment defines inputs A, B, C, and D and output X as A AND (B OR C OR D). The second assignment defines X as ((NOT A) AND B AND C) OR (A AND (NOT B) AND C). The third assignment provides the truth table for inputs A, B, C and output X.

Uploaded by

Omar Dye Ceesay
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Unit 2 Assignment

First Assignment

This circuit with the four inputs as mapped below:

A = Armed

B = Door

C = Glass

D = Motion

X = Output(A AND (B OR C OR D))


Below is the output of the given truth table on First Assignment:
Second Assignment

X = ((NOT A) AND B AND C) OR (A AND (NOT B) AND C)

A B C D
0 0 0 0
0 0 1 0
0 1 0 0
0 1 1 1
1 0 0 0
1 0 1 1
1 1 0 0
1 1 1 0

Specifying the truth table.

A B C NOT A (NOT A) AND B AND C NOT B A AND (NOT B) AND C


0 0 0 1 0 1 0
0 0 1 1 0 1 0
0 1 0 1 0 0 0
0 1 1 1 1 0 0
1 0 0 0 0 1 0
1 0 1 0 0 1 1
1 1 0 0 0 0 0
1 1 1 0 0 0 0
Third Assignment

The truth table of the above logic gate

A B C X
0 0 0 1
0 0 1 0
0 1 0 0
0 1 1 1
1 0 0 0
1 0 1 1
1 1 0 1
1 1 1 0

You might also like