Assignment Unit 2 PDF

Title Assignment Unit 2
Course Computer Systems
Institution University of the People
Pages 18
File Size 1.5 MB
File Type PDF
Total Downloads 32
Total Views 133

Summary

Regards Programming Assignment Unit 2 in Computer System or CS 1104....


Description

Assignment Unit 2 For the unit 2 assignment you must complete all three of the following assignments. First assignment: develop a circuit using combinational logic (or putting together 2 or more logic gates) for an alarm system. The following truth table describes the operation of the logic circuit. Essentially if the alarm is Armed (value of 1) and the door opens or the glass is broken or motion is detected (all indicated by a value of 1 when any of these items are true) THEN the value of Alarm is 1 meaning that the alarm will be sounded.

Complete and test your circuits using Logism and submit the following materials making sure that you identify these materials as ‘Assignment 1’. 1.

Using the export image feature in Logism (Use File-Export Image from menu), export your circuits in jpeg format include it as part of your post. Moodle has the ability to insert a jpeg image. 2. Save your Logism model as a circ file and attach the file to your assignment posting. Answer First Assignment The circuit, with the four inputs below: A – Armed

B – Door

C – Glass D – Motion X = (A AND (B OR C OR D))

Note: This is the first assignment I make it as print screen and jpeg.

This is the productivity for the circuit and specified truth table. Stimulate the Glass, Motion or Door input lines does not functioning the alarm except the alarm is arm.

Note: This is the first assignment the output. I make it as print screen and jpeg.

Note: This is the first assignment the output1. I make it as print screen and jpeg.

Note: This is the first assignment the output2. I make it as print screen and jpeg.

Second Assignment: Given the following circuit determine what the truth table is and document it in truth table format. Your truth table must be formatted in the same way that the truth table above is formatted.

For this assignment, you must include the truth table for the circuit as part of your posting. Make sure that you identify it as Assignment 2. Answer Second Assignment X = ((NOT A) AND B AND C) OR (A AND (NOT B) AND C) A 0 0 0 0 1 1 1 1 Specify the truth table. A 0 0 0

B 0 0 1

C 0 1 0

NOT A 1 1 1

B 0 0 1 1 0 0 1 1

C 0 1 0 1 0 1 0 1

(NOT A) AND B AND C 0 0 0

D 0 0 0 1 0 1 0 0 NOT B 1 1 0

A AND(NOT B) AND C 0 0 0

0 1 1 1 1

1 0 0 1 1

1 0 1 0 1

1 0 0 0 0

1 0 0 0 0

0 1 1 0 0

0 0 1 0 0

Third Assignment: Third Assignment: Construct the truth table AND circuit in Logism for a three input Exclusive NOR gate. You cannot use the exclusive OR or the exclusive NOR gates to complete this assignment you must build the circuit with AND, OR, NAND, NOR, and NOT gates. For this assignment, you must both include the truth table for the circuit AND export the jpeg image of the circuit that you build and include it in the posting as part of your posting. Finally you must save the Logism model of your gate and attach the circ file as part of your assignment. Make sure that you identify these items as Assignment 3. Answer Third Assignment

I’ll been executed a circuit for applying the OR, NOT, and AND gates. Furthermore the gates was make use of, and obtain on purpose of the two XOR gates to classify. However pursue into Boolean function and associative possessions into Boolean algebra: XNOR = NOT((A XOR B) XOR C) The inputs can be brand into A, B, and C on top to bottom. Its circuit begin to pertain to the operation A XOR B process in the logic gates NOR, AND, and OR. Moreover, on the output of this kind of part in circuit is make use of as the input of the second XOR operation, extraordinary ((A XOR B) XOR C). Nevertheless the output is produce by the circuit, However NOT gate is make use of the invalidate and the conclusion is a ultimate output. Please check below.

Note: This is the third assignment . I make it as print screen and jpeg.

You can see the truth table and the truth table for this circuit below.

A

B

C

OUTPUT

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

This matches the truth table of a 3-input Exclusive NOR gate and since the interface of a logic gate is unique according to (Nisan and Schocken, 2005), it can be corroborate that this circuit implements a 3-input Exclusive NOR gate.

State 1: A = 0, B = 0, C = 0, Output = 1 Note: This is the third assignment state 1. I make it as print screen and jpeg.

State 2: A = 0, B = 0, C = 1, Output = 0 Note: This is the third assignment state 2. I make it as print screen and jpeg.

State 3: A = 0, B = 1, C = 0, Output = 0 Note: This is the third assignment state 4. I make it as print screen and jpeg.

State 4: A = 0, B = 1, C = 1, Output = 1 Note: This is the third assignment state 4. I make it as print screen and jpeg.

State 5: A = 1, B = 0, C = 0, Output = 1 Note: This is the third assignment state 5. I make it as print screen and jpeg.

State 6: A = 1, B = 0, C = 1, Output = 1 Note: This is the third assignment state 6. I make it as print screen and jpeg.

State 7: A = 1, B = 1, C = 0, Output = 1 Note: This is the third assignment state 7. I make it as print screen and jpeg

State 8: A = 1, B = 1, C = 1, Output = 0 Note: This is the third assignment state 8. I make it as print screen and jpeg

Reference Nisan, N., & Schocken, S. (2005). The elements of computing systems. MIT Press. http://f.javier.io/rep/books/The%20Elements%20of%20Computing%20Systems.pdf...


Similar Free PDFs